public class LibraryGroupNode extends ProjectViewNode<LibraryGroupElement>
PresentableNodeDescriptor.ColoredFragmentNodeDescriptor.NodeComparator<T extends NodeDescriptor<?>>LOGDEFAULT_WEIGHT, EMPTY_ARRAY, myClosedIcon, myColor, myName, myOpenIcon, myProjectEMPTY_ROOTSEMPTY_NAVIGATION_ITEM_ARRAY| Constructor and Description |
|---|
LibraryGroupNode(Project project,
LibraryGroupElement value,
ViewSettings viewSettings) |
| Modifier and Type | Method and Description |
|---|---|
static void |
addLibraryChildren(LibraryOrSdkOrderEntry entry,
java.util.List<? super AbstractTreeNode<?>> children,
Project project,
ProjectViewNode node) |
boolean |
canNavigate()
Indicates whether this instance supports navigation of any kind.
|
boolean |
contains(VirtualFile file)
Checks if this node or one of its children represents the specified virtual file.
|
java.util.Collection<AbstractTreeNode<?>> |
getChildren() |
static VirtualFile [] |
getLibraryRoots(LibraryOrderEntry orderEntry) |
java.lang.String |
getTestPresentation() |
void |
navigate(boolean requestFocus)
Open editor and select/navigate to the object there if possible.
|
void |
update(PresentationData presentation) |
canHaveChildrenMatching, createTreeNode, getDefaultRootsFor, getManualOrderKey, getQualifiedNameSortKey, getRoots, getSettings, getSortKey, getTitle, getTypeSortKey, getTypeSortWeight, getVirtualFile, hasProblemFileBeneath, isSortByFirstChild, isValidating, shouldApply, shouldDrillDownOnEmptyElement, shouldPostprocess, someChildContainsFile, someChildContainsFile, validate, wrapapply, canNavigateToSource, canRepresent, equals, getChildToHighlightAt, getElement, getEqualityObject, getFileStatus, getFileStatusColor, getLeafState, getName, getNullValueSetTrace, getParent, getParentDescriptor, getParentValue, getToolTip, getValue, hashCode, isAlwaysExpand, isAlwaysLeaf, isAlwaysShowPlus, postprocess, setParent, setValue, shouldUpdateData, toTestString, valueIsCutapply, apply, applyFrom, createPresentation, getHighlightColor, getPresentation, getTemplatePresentation, isAncestorOrSelf, isContentHighlighted, isHighlightableContentNode, isParentOf, updateexpandOnDoubleClick, getChildrenSortingStamp, getClosedIcon, getColor, getIcon, getIndex, getOpenIcon, getProject, getUpdateCount, getWeight, isWasDeclaredAlwaysLeaf, setChildrenSortingStamp, setIcon, setIndex, setUpdateCount, setWasDeclaredAlwaysLeaf, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetPresentationpublic LibraryGroupNode(Project project, LibraryGroupElement value, ViewSettings viewSettings)
public java.util.Collection<AbstractTreeNode<?>> getChildren()
getChildren in class AbstractTreeNode<LibraryGroupElement>public static void addLibraryChildren(LibraryOrSdkOrderEntry entry, java.util.List<? super AbstractTreeNode<?>> children, Project project, ProjectViewNode node)
public java.lang.String getTestPresentation()
getTestPresentation in class AbstractTreeNode<LibraryGroupElement>public boolean contains(VirtualFile file)
ProjectViewNodecontains in class ProjectViewNode<LibraryGroupElement>file - the file to check for.public void update(PresentationData presentation)
update in class PresentableNodeDescriptor<AbstractTreeNode<LibraryGroupElement>>public boolean canNavigate()
NavigatableNavigatable.canNavigateToSource() returns true.
We assume that this method should return true in such case,
so implement this method respectively.canNavigate in interface NavigatablecanNavigate in class AbstractTreeNode<LibraryGroupElement>false if navigation is not possible for any reason.public void navigate(boolean requestFocus)
Navigatablenavigate in interface Navigatablenavigate in class AbstractTreeNode<LibraryGroupElement>requestFocus - true if focus requesting is necessarypublic static VirtualFile [] getLibraryRoots(LibraryOrderEntry orderEntry)