public class PackageViewLibrariesNode extends ProjectViewNode<LibrariesElement>
PresentableNodeDescriptor.ColoredFragment
NodeDescriptor.NodeComparator<T extends NodeDescriptor<?>>
LOG
DEFAULT_WEIGHT, EMPTY_ARRAY, myClosedIcon, myColor, myName, myOpenIcon, myProject
EMPTY_ROOTS
EMPTY_NAVIGATION_ITEM_ARRAY
Constructor and Description |
---|
PackageViewLibrariesNode(Project project,
Module module,
ViewSettings viewSettings) |
Modifier and Type | Method and Description |
---|---|
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 |
getTestPresentation() |
int |
getWeight() |
boolean |
shouldUpdateData() |
boolean |
someChildContainsFile(VirtualFile file) |
void |
update(PresentationData presentation) |
canHaveChildrenMatching, createTreeNode, getDefaultRootsFor, getManualOrderKey, getQualifiedNameSortKey, getRoots, getSettings, getSortKey, getTitle, getTypeSortKey, getTypeSortWeight, getVirtualFile, hasProblemFileBeneath, isSortByFirstChild, isValidating, shouldApply, shouldDrillDownOnEmptyElement, shouldPostprocess, someChildContainsFile, validate, wrap
apply, canNavigate, canNavigateToSource, canRepresent, equals, getChildToHighlightAt, getElement, getEqualityObject, getFileStatus, getFileStatusColor, getLeafState, getName, getNullValueSetTrace, getParent, getParentDescriptor, getParentValue, getToolTip, getValue, hashCode, isAlwaysExpand, isAlwaysLeaf, isAlwaysShowPlus, navigate, postprocess, setParent, setValue, toTestString, valueIsCut
apply, apply, applyFrom, createPresentation, getHighlightColor, getPresentation, getTemplatePresentation, isAncestorOrSelf, isContentHighlighted, isHighlightableContentNode, isParentOf, update
expandOnDoubleClick, getChildrenSortingStamp, getClosedIcon, getColor, getIcon, getIndex, getOpenIcon, getProject, getUpdateCount, isWasDeclaredAlwaysLeaf, setChildrenSortingStamp, setIcon, setIndex, setUpdateCount, setWasDeclaredAlwaysLeaf, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getPresentation
public PackageViewLibrariesNode(Project project, Module module, ViewSettings viewSettings)
public boolean contains(VirtualFile file)
ProjectViewNode
contains
in class ProjectViewNode<LibrariesElement>
file
- the file to check for.public java.util.Collection<AbstractTreeNode<?>> getChildren()
getChildren
in class AbstractTreeNode<LibrariesElement>
public boolean someChildContainsFile(VirtualFile file)
someChildContainsFile
in class ProjectViewNode<LibrariesElement>
public void update(PresentationData presentation)
update
in class PresentableNodeDescriptor<AbstractTreeNode<LibrariesElement>>
public java.lang.String getTestPresentation()
getTestPresentation
in class AbstractTreeNode<LibrariesElement>
public boolean shouldUpdateData()
shouldUpdateData
in class AbstractTreeNode<LibrariesElement>
public int getWeight()
getWeight
in class NodeDescriptor<AbstractTreeNode<LibrariesElement>>