public abstract class BasePsiNode<T extends PsiElement> extends AbstractPsiBasedNode<T>
PresentableNodeDescriptor.ColoredFragment
NodeDescriptor.NodeComparator<T extends NodeDescriptor<?>>
DEFAULT_WEIGHT, EMPTY_ARRAY, myClosedIcon, myColor, myName, myOpenIcon, myProject
EMPTY_ROOTS
EMPTY_NAVIGATION_ITEM_ARRAY
Modifier | Constructor and Description |
---|---|
protected |
BasePsiNode(Project project,
T value,
ViewSettings viewSettings) |
Modifier and Type | Method and Description |
---|---|
protected PsiElement |
extractPsiFromValue() |
FileStatus |
getFileStatus() |
VirtualFile |
getVirtualFile()
Returns the virtual file represented by this node or one of its children.
|
calcTooltip, canNavigate, canNavigateToSource, computeFileStatus, contains, getChildren, getChildrenImpl, getIconableFlags, getNavigationItem, isDeprecated, isMarkReadOnly, isValid, navigate, navigate, patchIcon, update, updateImpl, validate
canHaveChildrenMatching, createTreeNode, getDefaultRootsFor, getManualOrderKey, getQualifiedNameSortKey, getRoots, getSettings, getSortKey, getTitle, getTypeSortKey, getTypeSortWeight, hasProblemFileBeneath, isSortByFirstChild, isValidating, shouldApply, shouldDrillDownOnEmptyElement, shouldPostprocess, someChildContainsFile, someChildContainsFile, wrap
apply, canRepresent, equals, getChildToHighlightAt, getElement, getEqualityObject, getFileStatusColor, getLeafState, getName, getNullValueSetTrace, getParent, getParentDescriptor, getParentValue, getTestPresentation, getToolTip, getValue, hashCode, isAlwaysExpand, isAlwaysLeaf, isAlwaysShowPlus, postprocess, setParent, setValue, shouldUpdateData, toTestString, valueIsCut
apply, apply, applyFrom, createPresentation, getHighlightColor, getPresentation, getTemplatePresentation, isAncestorOrSelf, isContentHighlighted, isHighlightableContentNode, isParentOf, update
expandOnDoubleClick, getChildrenSortingStamp, getClosedIcon, getColor, getIcon, getIndex, getOpenIcon, getProject, getUpdateCount, getWeight, isWasDeclaredAlwaysLeaf, setChildrenSortingStamp, setIcon, setIndex, setUpdateCount, setWasDeclaredAlwaysLeaf, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getPresentation
protected BasePsiNode(Project project, T value, ViewSettings viewSettings)
public FileStatus getFileStatus()
getFileStatus
in class AbstractPsiBasedNode<T extends PsiElement>
public VirtualFile getVirtualFile()
ProjectViewNode
getVirtualFile
in class ProjectViewNode<T extends PsiElement>
protected PsiElement extractPsiFromValue()
extractPsiFromValue
in class AbstractPsiBasedNode<T extends PsiElement>