public class GroupTreeNode extends AbstractTreeNode implements Disposable
Disposable.ParentEMPTY_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, setTreeModeladd, 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, toStringpublic 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 AbstractTreeNodepublic javax.swing.Icon getIcon(boolean expanded)
getIcon in class AbstractTreeNodepublic java.util.Collection<VirtualFile> getVirtualFiles()
getVirtualFiles in class AbstractTreeNodepublic java.util.Collection<java.io.File> getFiles()
getFiles in class AbstractTreeNodeprotected int getItemsCount()
getItemsCount in class AbstractTreeNodeprotected boolean showStatistics()
showStatistics in class AbstractTreeNodepublic SimpleTextAttributes getAttributes()
getAttributes in class AbstractTreeNodepublic boolean getSupportsDeletion()
getSupportsDeletion in class AbstractTreeNodepublic void addFilePath(java.lang.String filePath)
public void rebuild(boolean groupByPackages,
Pair<PackageSetBase,NamedScopesHolder> filter,
boolean showOnlyFilteredItems)
public void dispose()
Disposabledispose in interface Disposable