public final class FavoriteTreeNodeDescriptor extends PresentableNodeDescriptor<AbstractTreeNode<?>>
PresentableNodeDescriptor.ColoredFragment
NodeDescriptor.NodeComparator<T extends NodeDescriptor<?>>
Modifier and Type | Field and Description |
---|---|
static FavoriteTreeNodeDescriptor[] |
EMPTY_ARRAY |
DEFAULT_WEIGHT, myClosedIcon, myColor, myName, myOpenIcon, myProject
Constructor and Description |
---|
FavoriteTreeNodeDescriptor(Project project,
NodeDescriptor parentDescriptor,
AbstractTreeNode element) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
PresentableNodeDescriptor |
getChildToHighlightAt(int index) |
AbstractTreeNode |
getElement() |
FavoriteTreeNodeDescriptor |
getFavoritesRoot() |
java.lang.String |
getLocation() |
static java.lang.String |
getLocation(AbstractTreeNode<?> element,
Project project) |
int |
hashCode() |
protected void |
update(PresentationData presentation) |
apply, apply, applyFrom, createPresentation, getHighlightColor, getName, getPresentation, getTemplatePresentation, isAncestorOrSelf, isContentHighlighted, isHighlightableContentNode, isParentOf, postprocess, shouldApply, shouldPostprocess, shouldUpdateData, update
expandOnDoubleClick, getChildrenSortingStamp, getClosedIcon, getColor, getIcon, getIndex, getOpenIcon, getParentDescriptor, getProject, getUpdateCount, getWeight, isWasDeclaredAlwaysLeaf, setChildrenSortingStamp, setIcon, setIndex, setUpdateCount, setWasDeclaredAlwaysLeaf, toString
public static final FavoriteTreeNodeDescriptor[] EMPTY_ARRAY
public FavoriteTreeNodeDescriptor(Project project, NodeDescriptor parentDescriptor, AbstractTreeNode element)
protected void update(PresentationData presentation)
update
in class PresentableNodeDescriptor<AbstractTreeNode<?>>
public java.lang.String getLocation()
public static java.lang.String getLocation(AbstractTreeNode<?> element, Project project)
public AbstractTreeNode getElement()
getElement
in class NodeDescriptor<AbstractTreeNode<?>>
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public FavoriteTreeNodeDescriptor getFavoritesRoot()
public PresentableNodeDescriptor getChildToHighlightAt(int index)
getChildToHighlightAt
in class PresentableNodeDescriptor<AbstractTreeNode<?>>