|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.cdt.internal.ui.includebrowser.IBNode
public class IBNode
Represents a node in the include browser
Constructor Summary | |
---|---|
IBNode(IBNode parent,
IBFile represents,
IBFile fileOfDirective,
int charOffset,
int length,
long timestamp)
Creates a new node for the include browser |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.Object |
getAdapter(java.lang.Class adapter)
|
org.eclipse.cdt.core.model.ICProject |
getCProject()
|
int |
getDirectiveCharacterOffset()
|
IBFile |
getDirectiveFile()
|
int |
getDirectiveLength()
|
java.lang.String |
getDirectiveName()
|
IBNode |
getParent()
Returns the parent node or null for the root node. |
IBFile |
getRepresentedFile()
Returns the translation unit that requests the inclusion |
org.eclipse.cdt.core.index.IIndexFileLocation |
getRepresentedIFL()
|
org.eclipse.core.runtime.IPath |
getRepresentedPath()
|
org.eclipse.cdt.core.model.ITranslationUnit |
getRepresentedTranslationUnit()
|
long |
getTimestamp()
|
int |
hashCode()
|
boolean |
isActiveCode()
Returns whether this inclusion is actually performed with the current set of macro definitions. |
boolean |
isRecursive()
|
boolean |
isSystemInclude()
Returns whether this is a system include (angle-brackets). |
void |
setIsActiveCode(boolean isActiveCode)
Defines whether the inclusion appears in active code. |
void |
setIsSystemInclude(boolean isSystemInclude)
Defines whether this is a system include (angle-brackets). |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IBNode(IBNode parent, IBFile represents, IBFile fileOfDirective, int charOffset, int length, long timestamp)
Method Detail |
---|
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public IBNode getParent()
null
for the root node.
public IBFile getRepresentedFile()
public boolean isSystemInclude()
public void setIsSystemInclude(boolean isSystemInclude)
public boolean isActiveCode()
public void setIsActiveCode(boolean isActiveCode)
public boolean isRecursive()
public int getDirectiveCharacterOffset()
public int getDirectiveLength()
public IBFile getDirectiveFile()
public java.lang.String getDirectiveName()
public java.lang.Object getAdapter(java.lang.Class adapter)
getAdapter
in interface org.eclipse.core.runtime.IAdaptable
public org.eclipse.cdt.core.model.ITranslationUnit getRepresentedTranslationUnit()
public org.eclipse.core.runtime.IPath getRepresentedPath()
public org.eclipse.cdt.core.index.IIndexFileLocation getRepresentedIFL()
public long getTimestamp()
public org.eclipse.cdt.core.model.ICProject getCProject()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |