public class PackageElementNode extends ProjectViewNode<PackageElement> implements ValidateableNode
PresentableNodeDescriptor.ColoredFragmentNodeDescriptor.NodeComparator<T extends NodeDescriptor<?>>LOGDEFAULT_WEIGHT, EMPTY_ARRAY, myClosedIcon, myColor, myName, myOpenIcon, myProjectEMPTY_ROOTSEMPTY_NAVIGATION_ITEM_ARRAY| Constructor and Description |
|---|
PackageElementNode(Project project,
PackageElement value,
ViewSettings viewSettings) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRepresent(java.lang.Object element) |
boolean |
contains(VirtualFile file)
Checks if this node or one of its children represents the specified virtual file.
|
java.util.Collection<AbstractTreeNode<?>> |
getChildren() |
java.lang.String |
getQualifiedNameSortKey() |
java.lang.String |
getTestPresentation() |
java.lang.String |
getTitle() |
int |
getTypeSortWeight(boolean sortByType) |
VirtualFile [] |
getVirtualFiles() |
int |
getWeight() |
boolean |
isAlwaysShowPlus() |
boolean |
isValid() |
protected void |
update(PresentationData presentation) |
boolean |
validate() |
boolean |
valueIsCut() |
canHaveChildrenMatching, createTreeNode, getDefaultRootsFor, getManualOrderKey, getRoots, getSettings, getSortKey, getTypeSortKey, getVirtualFile, hasProblemFileBeneath, isSortByFirstChild, isValidating, shouldApply, shouldDrillDownOnEmptyElement, shouldPostprocess, someChildContainsFile, someChildContainsFile, wrapapply, canNavigate, canNavigateToSource, equals, getChildToHighlightAt, getElement, getEqualityObject, getFileStatus, getFileStatusColor, getLeafState, getName, getNullValueSetTrace, getParent, getParentDescriptor, getParentValue, getToolTip, getValue, hashCode, isAlwaysExpand, isAlwaysLeaf, navigate, postprocess, setParent, setValue, shouldUpdateData, toTestStringapply, apply, applyFrom, createPresentation, getHighlightColor, getPresentation, getTemplatePresentation, isAncestorOrSelf, isContentHighlighted, isHighlightableContentNode, isParentOf, updateexpandOnDoubleClick, getChildrenSortingStamp, getClosedIcon, getColor, getIcon, getIndex, getOpenIcon, getProject, getUpdateCount, isWasDeclaredAlwaysLeaf, setChildrenSortingStamp, setIcon, setIndex, setUpdateCount, setWasDeclaredAlwaysLeaf, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetPresentationpublic PackageElementNode(Project project, PackageElement value, ViewSettings viewSettings)
public boolean contains(VirtualFile file)
ProjectViewNodecontains in class ProjectViewNode<PackageElement>file - the file to check for.public java.util.Collection<AbstractTreeNode<?>> getChildren()
getChildren in class AbstractTreeNode<PackageElement>public boolean validate()
validate in class ProjectViewNode<PackageElement>public boolean isValid()
isValid in interface ValidateableNodeprotected void update(PresentationData presentation)
update in class PresentableNodeDescriptor<AbstractTreeNode<PackageElement>>public java.lang.String getTestPresentation()
getTestPresentation in class AbstractTreeNode<PackageElement>public boolean valueIsCut()
valueIsCut in class AbstractTreeNode<PackageElement>public VirtualFile [] getVirtualFiles()
public boolean canRepresent(java.lang.Object element)
canRepresent in class AbstractTreeNode<PackageElement>public int getWeight()
getWeight in class NodeDescriptor<AbstractTreeNode<PackageElement>>public java.lang.String getTitle()
getTitle in class ProjectViewNode<PackageElement>public java.lang.String getQualifiedNameSortKey()
getQualifiedNameSortKey in class ProjectViewNode<PackageElement>public int getTypeSortWeight(boolean sortByType)
getTypeSortWeight in class ProjectViewNode<PackageElement>public boolean isAlwaysShowPlus()
isAlwaysShowPlus in class AbstractTreeNode<PackageElement>