public class FileTreeNode extends FileOrDirectoryTreeNode
Disposable.Parent
myFile
EMPTY_FILE_ARRAY, myFilterAttributes
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
TOPIC
Constructor and Description |
---|
FileTreeNode(java.lang.String path,
SimpleTextAttributes invalidAttributes,
Project project,
java.lang.String parentPath) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
acceptFilter(Pair<PackageSetBase,NamedScopesHolder> filter,
boolean showOnlyFilteredItems) |
java.util.Collection<java.io.File> |
getFiles() |
javax.swing.Icon |
getIcon(boolean expanded) |
protected int |
getItemsCount() |
java.util.Collection<VirtualFile> |
getVirtualFiles() |
protected boolean |
showStatistics() |
dispose, getAttributes, getFilePath, getFilePointer, getName, getProject, getSupportsDeletion, setUserObject, validityChanged
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, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
beforeValidityChanged
public FileTreeNode(java.lang.String path, SimpleTextAttributes invalidAttributes, Project project, java.lang.String parentPath)
public javax.swing.Icon getIcon(boolean expanded)
getIcon
in class AbstractTreeNode
protected boolean acceptFilter(Pair<PackageSetBase,NamedScopesHolder> filter, boolean showOnlyFilteredItems)
acceptFilter
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