public interface ProjectFileNode
Modifier and Type | Method and Description |
---|---|
default boolean |
contains(VirtualFile file,
AreaInstance area,
boolean strict) |
static AreaInstance |
findArea(VirtualFile file,
Project project)
|
static VirtualFile |
findBaseDir(Project project)
Returns a base directory for the specified
project , or null if it does not exist. |
java.lang.Object |
getRootID()
Returns one of the following identifiers for the node:
Modulea module to which this file belongs;
Projecta project indicates that a file does not belong to any module, but is located under the project directory;
VirtualFilea topmost directory that contains this file (specifies a tree view without modules).
|
VirtualFile |
getVirtualFile() |
java.lang.Object getRootID()
VirtualFile getVirtualFile()
default boolean contains(VirtualFile file, AreaInstance area, boolean strict)
static AreaInstance findArea(VirtualFile file, Project project)
static VirtualFile findBaseDir(Project project)
project
, or null
if it does not exist.