|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileGroupingState
This state pattern is used by the global model to store any information pertaining to the currently open project. The state pattern is used because most project information is not needed in list view. (Elspeth Rocks) Hint: if you're looking for the instances of this interface, look in DefaultGlobalModel where they are defined as anonymous inner classes.
Method Summary | |
---|---|
void |
addAuxFile(File f)
Adds file to list of auxiliary files in project |
void |
addExcludedFile(File f)
Excludes file from the project. |
void |
cleanBuildDirectory()
Cleans the build directory. |
boolean |
getAutoRefreshStatus()
|
File |
getBuildDirectory()
Returns the directory in which to put the class files after compilation |
List<File> |
getClassFiles()
|
File |
getCreateJarFile()
Return the create jar file for the project. |
int |
getCreateJarFlags()
Return the create jar flags for the project. |
File[] |
getExclFiles()
Return an array of the files excluded from the current project |
Iterable<File> |
getExtraClassPath()
Returns a collection of classpath entries specific to the current project. |
File |
getMainClass()
Returns the source file that has the main method of the project |
File |
getProjectFile()
Returns the current project file |
File[] |
getProjectFiles()
Return all files saved as source files in the project file. |
File |
getProjectRoot()
Returns the project source root |
File |
getWorkingDirectory()
Returns the working directory for the slave (interactions pane) JVM. |
boolean |
inProject(File f)
Returns true the given file is in the current project file. |
boolean |
inProjectPath(File f)
|
boolean |
inProjectPath(OpenDefinitionsDocument doc)
|
boolean |
isAuxiliaryFile(File f)
|
boolean |
isExcludedFile(File f)
Returns true if the file is excluded from the current project |
boolean |
isProjectActive()
|
boolean |
isProjectChanged()
Returns true if in project mode and the current project file has changed. |
void |
remAuxFile(File f)
Removes file to list of auxiliary files in project. |
void |
removeExcludedFile(File f)
Remove the specified file from the files excluded from the current project |
void |
setAutoRefreshStatus(boolean b)
|
void |
setBuildDirectory(File f)
Sets the current build directory. |
void |
setCreateJarFile(File f)
Sets the create jar file of the project. |
void |
setCreateJarFlags(int f)
Sets the create jar flags of the project. |
void |
setExcludedFiles(File[] fs)
Sets the array of files excluded from the current project |
void |
setExtraClassPath(Iterable<File> cp)
Sets the list of project-specific classpath entries. |
void |
setMainClass(File f)
Sets the file that has the main method of the project (Note: should point to the sourcefile of the document, not the class file) |
void |
setProjectChanged(boolean changed)
Sets that the project state is no longer a snapshot of the open project. |
void |
setProjectFile(File f)
Sets project file to specifed value; used in "Save Project As ..." command in MainFrame. |
void |
setProjectRoot(File f)
Sets the current project root. |
void |
setWorkingDirectory(File f)
Sets the current working directory for the interactions pane. |
Method Detail |
---|
boolean isProjectActive()
boolean inProjectPath(OpenDefinitionsDocument doc)
boolean inProjectPath(File f)
File getProjectFile()
File getProjectRoot()
void setProjectFile(File f)
void setProjectRoot(File f)
void addAuxFile(File f)
void remAuxFile(File f)
File getBuildDirectory()
void setBuildDirectory(File f)
File getWorkingDirectory()
void setWorkingDirectory(File f)
File getMainClass()
void setMainClass(File f)
void setCreateJarFile(File f)
File getCreateJarFile()
void setCreateJarFlags(int f)
int getCreateJarFlags()
File[] getProjectFiles()
boolean inProject(File f)
boolean isAuxiliaryFile(File f)
boolean isProjectChanged()
void setProjectChanged(boolean changed)
void cleanBuildDirectory()
List<File> getClassFiles()
Iterable<File> getExtraClassPath()
void setExtraClassPath(Iterable<File> cp)
void addExcludedFile(File f)
boolean isExcludedFile(File f)
File[] getExclFiles()
void removeExcludedFile(File f)
void setExcludedFiles(File[] fs)
boolean getAutoRefreshStatus()
void setAutoRefreshStatus(boolean b)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |