public class GroupTreeNode extends AbstractTreeNode implements Disposable
Disposable.Parent
EMPTY_FILE_ARRAY, myFilterAttributes
Constructor and Description |
---|
GroupTreeNode(java.lang.String name,
boolean supportsDeletion,
SimpleTextAttributes invalidAttributes,
Project project,
java.util.Map<java.lang.String,java.lang.String> errorsMap,
java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
void |
addFilePath(java.lang.String filePath) |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
SimpleTextAttributes |
getAttributes() |
java.lang.String |
getFileGroupId() |
java.util.Collection<java.io.File> |
getFiles() |
javax.swing.Icon |
getIcon(boolean expanded) |
protected int |
getItemsCount() |
java.lang.String |
getName() |
boolean |
getSupportsDeletion() |
java.util.Collection<VirtualFile> |
getVirtualFiles() |
void |
rebuild(boolean groupByPackages,
Pair<PackageSetBase,NamedScopesHolder> filter,
boolean showOnlyFilteredItems) |
protected boolean |
showStatistics() |
acceptFilter, applyFilter, getErrorText, getText, getTree, getTreeModel, setErrorText, setTree, setTreeModel
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
public GroupTreeNode(java.lang.String name, boolean supportsDeletion, SimpleTextAttributes invalidAttributes, Project project, java.util.Map<java.lang.String,java.lang.String> errorsMap, java.lang.String id)
public java.lang.String getFileGroupId()
public java.lang.String getName()
getName
in class AbstractTreeNode
public javax.swing.Icon getIcon(boolean expanded)
getIcon
in class AbstractTreeNode
public java.util.Collection<VirtualFile> getVirtualFiles()
getVirtualFiles
in class AbstractTreeNode
public java.util.Collection<java.io.File> getFiles()
getFiles
in class AbstractTreeNode
protected int getItemsCount()
getItemsCount
in class AbstractTreeNode
protected boolean showStatistics()
showStatistics
in class AbstractTreeNode
public SimpleTextAttributes getAttributes()
getAttributes
in class AbstractTreeNode
public boolean getSupportsDeletion()
getSupportsDeletion
in class AbstractTreeNode
public void addFilePath(java.lang.String filePath)
public void rebuild(boolean groupByPackages, Pair<PackageSetBase,NamedScopesHolder> filter, boolean showOnlyFilteredItems)
public void dispose()
Disposable
dispose
in interface Disposable