public abstract class HierarchyNodeDescriptor extends SmartElementDescriptor
NodeDescriptor.NodeComparator<T extends NodeDescriptor<?>>
Modifier and Type | Field and Description |
---|---|
protected CompositeAppearance |
myHighlightedText |
protected boolean |
myIsBase |
DEFAULT_WEIGHT, EMPTY_ARRAY, myClosedIcon, myColor, myName, myOpenIcon, myProject
Modifier | Constructor and Description |
---|---|
protected |
HierarchyNodeDescriptor(Project project,
NodeDescriptor parentDescriptor,
PsiElement element,
boolean isBase) |
Modifier and Type | Method and Description |
---|---|
boolean |
expandOnDoubleClick() |
protected javax.swing.Icon |
getBaseMarkerIcon(javax.swing.Icon sourceIcon) |
java.lang.Object[] |
getCachedChildren() |
PsiFile |
getContainingFile() |
java.lang.Object |
getElement() |
CompositeAppearance |
getHighlightedText() |
protected static TextAttributes |
getInvalidPrefixAttributes() |
protected static TextAttributes |
getPackageNameAttributes() |
protected static TextAttributes |
getUsageCountPrefixAttributes() |
protected void |
installIcon(boolean changes) |
protected void |
installIcon(javax.swing.Icon elementIcon,
boolean changes) |
protected void |
installIcon(PsiElement element,
boolean changes) |
protected boolean |
invalidElement() |
protected boolean |
isMarkModified() |
protected boolean |
isMarkReadOnly() |
boolean |
isValid() |
void |
setCachedChildren(java.lang.Object[] cachedChildren) |
getIcon, getPsiElement, update
applyFrom, getChildrenSortingStamp, getClosedIcon, getColor, getIcon, getIndex, getOpenIcon, getParentDescriptor, getProject, getUpdateCount, getWeight, isWasDeclaredAlwaysLeaf, setChildrenSortingStamp, setIcon, setIndex, setUpdateCount, setWasDeclaredAlwaysLeaf, toString
protected CompositeAppearance myHighlightedText
protected final boolean myIsBase
protected HierarchyNodeDescriptor(Project project, NodeDescriptor parentDescriptor, PsiElement element, boolean isBase)
public final java.lang.Object getElement()
getElement
in class SmartElementDescriptor
public PsiFile getContainingFile()
public boolean isValid()
public final java.lang.Object[] getCachedChildren()
public final void setCachedChildren(java.lang.Object[] cachedChildren)
protected final boolean isMarkReadOnly()
isMarkReadOnly
in class SmartElementDescriptor
protected final boolean isMarkModified()
isMarkModified
in class SmartElementDescriptor
public final CompositeAppearance getHighlightedText()
protected static TextAttributes getInvalidPrefixAttributes()
protected static TextAttributes getUsageCountPrefixAttributes()
protected static TextAttributes getPackageNameAttributes()
public boolean expandOnDoubleClick()
expandOnDoubleClick
in class NodeDescriptor
protected final boolean invalidElement()
protected final void installIcon(javax.swing.Icon elementIcon, boolean changes)
protected javax.swing.Icon getBaseMarkerIcon(javax.swing.Icon sourceIcon)
protected final void installIcon(PsiElement element, boolean changes)
protected final void installIcon(boolean changes)