|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface that defines a basic tree node. This tree is intended to work with
a org.eclipse.jface.viewers.ITreeContentProvider
and
org.eclipse.jface.viewers.ILabelProvider
.
In addition to supporting a basic tree relationship, this interface also
defines two types of events. A Node Change Event
is designed to allow a node to report internal changes, such as attributes or
other state changes.
A Structure Change Event
refers to changes
in terms of parent and children (such as a child added or removed).
Method Summary | |
ITree[] |
getChildren()
Getter for this nodes children. |
Image |
getIconName()
The associated Icon. |
ITree |
getParent()
Getter for the parent of this node. |
boolean |
hasChildren()
Does this node have children. |
Method Detail |
public boolean hasChildren()
true
if this node has children
otherwise false
public ITree[] getChildren()
public ITree getParent()
null
if this nood is the root
or
if this node has not yet been added to a tree.public Image getIconName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |