public class FileNode extends PackageDependenciesNode implements java.lang.Comparable<FileNode>
myColor, myProject, NOT_CHANGED
Constructor and Description |
---|
FileNode(VirtualFile file,
Project project,
boolean marked) |
Modifier and Type | Method and Description |
---|---|
boolean |
canSelectInLeftTree(java.util.Map<PsiFile,java.util.Set<PsiFile>> deps) |
int |
compareTo(FileNode o) |
boolean |
equals(java.lang.Object o) |
void |
fillFiles(java.util.Set<? super PsiFile> set,
boolean recursively) |
java.awt.Color |
getColor() |
int |
getContainingFiles() |
javax.swing.Icon |
getIcon() |
PsiElement |
getPsiElement() |
int |
getWeight() |
int |
hashCode() |
boolean |
hasMarked() |
boolean |
hasUnmarked() |
boolean |
isValid() |
java.lang.String |
toString() |
add, addFile, canNavigate, canNavigateToSource, getComment, getPresentableFilesCount, getRegisteredFiles, getUserObject, isEquals, isSorted, navigate, setEquals, setSorted, sortChildren, updateColor
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, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
public FileNode(VirtualFile file, Project project, boolean marked)
public void fillFiles(java.util.Set<? super PsiFile> set, boolean recursively)
fillFiles
in class PackageDependenciesNode
public boolean hasUnmarked()
hasUnmarked
in class PackageDependenciesNode
public boolean hasMarked()
hasMarked
in class PackageDependenciesNode
public java.lang.String toString()
toString
in class javax.swing.tree.DefaultMutableTreeNode
public javax.swing.Icon getIcon()
getIcon
in class PackageDependenciesNode
public int getWeight()
getWeight
in class PackageDependenciesNode
public int getContainingFiles()
getContainingFiles
in class PackageDependenciesNode
public PsiElement getPsiElement()
getPsiElement
in class PackageDependenciesNode
public java.awt.Color getColor()
getColor
in class PackageDependenciesNode
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean isValid()
isValid
in class PackageDependenciesNode
public boolean canSelectInLeftTree(java.util.Map<PsiFile,java.util.Set<PsiFile>> deps)
canSelectInLeftTree
in class PackageDependenciesNode