public class ViewerNodeDescriptor extends NodeDescriptor
NodeDescriptor.NodeComparator<T extends NodeDescriptor<?>>
DEFAULT_WEIGHT, EMPTY_ARRAY, myClosedIcon, myColor, myName, myOpenIcon, myProject
Constructor and Description |
---|
ViewerNodeDescriptor(Project project,
java.lang.Object element,
NodeDescriptor parentDescriptor) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getElement() |
boolean |
update()
Make sure the descriptor is up to date with its content
|
applyFrom, expandOnDoubleClick, getChildrenSortingStamp, getClosedIcon, getColor, getIcon, getIndex, getOpenIcon, getParentDescriptor, getProject, getUpdateCount, getWeight, isWasDeclaredAlwaysLeaf, setChildrenSortingStamp, setIcon, setIndex, setUpdateCount, setWasDeclaredAlwaysLeaf, toString
public ViewerNodeDescriptor(Project project, java.lang.Object element, NodeDescriptor parentDescriptor)
public boolean update()
NodeDescriptor
update
in class NodeDescriptor
public java.lang.Object getElement()
getElement
in class NodeDescriptor