org.eclipse.cdt.make.internal.ui.scannerconfig
Class DiscoveredElement
java.lang.Object
org.eclipse.cdt.make.internal.ui.scannerconfig.DiscoveredElement
public class DiscoveredElement
- extends java.lang.Object
Similar to CPElement. Describes discovered paths and symbols available
through DiscoveredPathInfo instead of CPathEntry.
- Author:
- vhirsl
Constructor Summary |
DiscoveredElement(org.eclipse.core.resources.IProject project,
java.lang.String entry,
int kind,
boolean removed,
boolean system)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONTAINER
public static final int CONTAINER
- See Also:
- Constant Field Values
INCLUDE_PATH
public static final int INCLUDE_PATH
- See Also:
- Constant Field Values
SYMBOL_DEFINITION
public static final int SYMBOL_DEFINITION
- See Also:
- Constant Field Values
INCLUDE_FILE
public static final int INCLUDE_FILE
- See Also:
- Constant Field Values
MACROS_FILE
public static final int MACROS_FILE
- See Also:
- Constant Field Values
PATHS_GROUP
public static final int PATHS_GROUP
- See Also:
- Constant Field Values
SYMBOLS_GROUP
public static final int SYMBOLS_GROUP
- See Also:
- Constant Field Values
INCLUDE_FILE_GROUP
public static final int INCLUDE_FILE_GROUP
- See Also:
- Constant Field Values
MACROS_FILE_GROUP
public static final int MACROS_FILE_GROUP
- See Also:
- Constant Field Values
DiscoveredElement
public DiscoveredElement(org.eclipse.core.resources.IProject project,
java.lang.String entry,
int kind,
boolean removed,
boolean system)
createNew
public static DiscoveredElement createNew(DiscoveredElement parent,
org.eclipse.core.resources.IProject project,
java.lang.String entry,
int kind,
boolean removed,
boolean system)
getProject
public org.eclipse.core.resources.IProject getProject()
- Returns:
- Returns the fProject.
getEntry
public java.lang.String getEntry()
- Returns:
- Returns the fEntry.
setEntry
public void setEntry(java.lang.String entry)
- Parameters:
string
-
getEntryKind
public int getEntryKind()
- Returns:
- Returns the fEntryKind.
setEntryKind
public void setEntryKind(int entryKind)
- Parameters:
entryKind
- The fEntryKind to set.
isRemoved
public boolean isRemoved()
- Returns:
- Returns the fRemoved.
setRemoved
public void setRemoved(boolean removed)
- Parameters:
removed
- The fRemoved to set.
getParent
public DiscoveredElement getParent()
- Returns:
- Returns the fParent.
getChildren
public java.lang.Object[] getChildren()
- Returns children of the discovered element
- Returns:
hasChildren
public boolean hasChildren()
setChildren
public void setChildren(java.lang.Object[] children)
delete
public boolean delete()