org.eclipse.cdt.internal.ui.typehierarchy
Class THNode
java.lang.Object
org.eclipse.cdt.internal.ui.typehierarchy.THNode
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable
public class THNode
- extends java.lang.Object
- implements org.eclipse.core.runtime.IAdaptable
Constructor Summary |
THNode(THNode parent,
org.eclipse.cdt.core.model.ICElement decl)
Creates a new node for the include browser |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
THNode
public THNode(THNode parent,
org.eclipse.cdt.core.model.ICElement decl)
- Creates a new node for the include browser
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
getParent
public THNode getParent()
- Returns the parent node or
null
for the root node.
getElement
public org.eclipse.cdt.core.model.ICElement getElement()
getAdapter
public java.lang.Object getAdapter(java.lang.Class adapter)
- Specified by:
getAdapter
in interface org.eclipse.core.runtime.IAdaptable
isFiltered
public boolean isFiltered()
setIsFiltered
public void setIsFiltered(boolean val)
addChild
public void addChild(THNode childNode)
hasChildren
public boolean hasChildren()
getChildren
public THNode[] getChildren()
setIsImplementor
public void setIsImplementor(boolean val)
isImplementor
public boolean isImplementor()
removeFilteredLeafs
public void removeFilteredLeafs()