public interface Conditions extends ProjectState
Modifier and Type | Method and Description |
---|---|
List<File> |
getActiveClassFiles()
Gets all class files associated with the active file.
|
FileData |
getActiveFile()
Gets data for the active file.
|
Charset |
getCharset()
Gets the charset for the active file or project.
|
LocData |
getLocationData()
Gets location data for jump to error, etc.
|
List<File> |
getProjectClassAndJarFiles()
Gets all class and jar files associated with the current project.
|
File |
getProjectDir(DirType type,
boolean useDefault)
Gets a project directory.
|
List<FileData> |
getProjectFiles()
Gets data for the current project files.
|
List<FileData> |
getProjectTestFiles()
Gets data for the current project test files.
|
int |
getTabSize()
Gets the tab size for the active file or active project.
|
boolean |
isInProject()
Determines if the active file is in a project.
|
List<File> getActiveClassFiles()
FileData getActiveFile()
Charset getCharset()
LocData getLocationData()
List<File> getProjectClassAndJarFiles()
File getProjectDir(DirType type, boolean useDefault)
type
- the directory type.useDefault
- if true, return a default value if the requested
directory is not set.useDefault
is true,
then the default value will be the project root directory if there is a
project, the root directory of the active file if there is no project
(package root for Java files, directory containing the file otherwise),
and null if there is no active file.List<FileData> getProjectFiles()
List<FileData> getProjectTestFiles()
int getTabSize()
boolean isInProject()