|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.drjava.model.DummyGlobalModel
public class DummyGlobalModel
Concrete implementation of GlobalModel that always throws UnsupportedOperationExceptions.
| Constructor Summary | |
|---|---|
DummyGlobalModel()
|
|
| Method Summary | |
|---|---|
void |
addAuxiliaryFile(OpenDefinitionsDocument doc)
Adds a document to the list of auxiliary files. |
void |
addListener(GlobalModelListener listener)
Since this is not supposed to be used, we need to throw an exception OTHER than the ones it officially supports. |
void |
addToBrowserHistory()
Add the current location to the browser history. |
void |
cleanBuildDirectory()
Cleans the build directory. |
void |
clearHistory()
Clears the interactions history. |
boolean |
closeAllFiles()
Attempts to close all open documents. |
boolean |
closeFile(OpenDefinitionsDocument doc)
Closes an open definitions document, prompting to save if the document has been changed. |
boolean |
closeFiles(java.util.List<OpenDefinitionsDocument> docs)
This function closes a group of files assuming that the files are contiguous in the enumeration provided by the document navigator. |
boolean |
closeFileWithoutPrompt(OpenDefinitionsDocument doc)
Closes an open definitions document, without prompting to save if the document has been changed. |
void |
closeProject(boolean quitting)
Performs any needed operations on the model before closing the project and its files. |
void |
configNewProject()
Configures a new project (created by createNewProject) and saves it to disk. |
RegionManager<MovingDocumentRegion> |
createFindResultsManager()
|
void |
createNewProject(java.io.File f)
Creates a new project with specified project file and default values for other properties. |
java.io.File |
findFileInPaths(java.lang.String fileName,
java.lang.Iterable<java.io.File> paths)
Searches for a file with the given name on the provided paths. |
java.lang.String |
fixPathForNavigator(java.lang.String path)
Formats a string pathname for use in the document navigator. |
void |
forceQuit()
Halts the program immediately. |
boolean |
getAutoRefreshStatus()
Gets autorefresh status of the project |
java.lang.String |
getAuxiliaryBinTitle()
Gives the title of the aux files bin for the navigator |
java.util.List<OpenDefinitionsDocument> |
getAuxiliaryDocuments()
|
RegionManager<MovingDocumentRegion> |
getBookmarkManager()
|
RegionManager<Breakpoint> |
getBreakpointManager()
|
BrowserHistoryManager |
getBrowserHistoryManager()
|
java.io.File |
getBuildDirectory()
|
java.util.List<java.io.File> |
getClassFiles()
|
java.lang.Iterable<java.io.File> |
getClassPath()
Get the class path to be used in all class-related operations. |
CompilerModel |
getCompilerModel()
Gets the CompilerModel, which provides all methods relating to compilers. |
java.lang.String |
getCompletePath(int index)
|
ConsoleDocument |
getConsoleDocument()
Gets the console document. |
java.io.File |
getCreateJarFile()
Return the create jar file for the project. |
int |
getCreateJarFlags()
Return the create jar file for the project. |
java.lang.String |
getCustomManifest()
|
Debugger |
getDebugger()
Gets the Debugger, which interfaces with the integrated debugger. |
int |
getDebugPort()
Returns an available port number to use for debugging the interactions JVM. |
int |
getDocumentCount()
Returns the document count |
OpenDefinitionsDocument |
getDocumentForFile(java.io.File file)
Returns the OpenDefinitionsDocument for the specified File, opening a new copy if one is not already open. |
DocumentIterator |
getDocumentIterator()
Gets a DocumentIterator to allow navigating through open swing Documents. |
IDocumentNavigator<OpenDefinitionsDocument> |
getDocumentNavigator()
Gets the DocumentNavigator, which controls the document view. |
DefinitionsEditorKit |
getEditorKit()
Fetches the EditorKit implementation for use in the definitions pane. |
java.lang.String |
getExternalBinTitle()
Gives the title of the external files bin for the navigator |
java.lang.Iterable<AbsRelFile> |
getExtraClassPath()
Returns only the project's extra classpaths. |
java.lang.String |
getHistoryAsString()
Returns the entire history as a String. |
java.lang.String |
getHistoryAsStringWithSemicolons()
Returns the entire history as a String with semicolons as needed. |
java.lang.Iterable<java.io.File> |
getInteractionsClassPath()
Returns the current classpath in use by the Interpreter JVM. |
InteractionsDocument |
getInteractionsDocument()
Gets the (toolkit-independent) interactions document. |
DefaultInteractionsModel |
getInteractionsModel()
Returns the interactions model. |
JavadocModel |
getJavadocModel()
Gets the JavadocModel, which provides all methods relating to Javadoc. |
JUnitModel |
getJUnitModel()
Gets the JUnitModel, which provides all methods relating to JUnit testing. |
java.util.List<OpenDefinitionsDocument> |
getLLOpenDefinitionsDocuments()
Returns a collection of language level documents. |
java.lang.String |
getMainClass()
Return the main file for the project If not in project mode, returns null. |
java.io.File |
getMainClassContainingFile()
Return the File that contains the Main-Class. |
java.io.File |
getMasterWorkingDirectory()
|
java.util.List<OpenDefinitionsDocument> |
getNonProjectDocuments()
Returns a list of OpenDefinitionsDocuments that do not belong to the currently active project. If no project is active, all documents are returned. |
GlobalEventNotifier |
getNotifier()
|
int |
getNumCompErrors()
Returns the number of compiler errors produced by the last compilation. |
OpenDefinitionsDocument |
getODDForDocument(AbstractDocumentInterface doc)
CHECK IF NEEDED! |
java.util.List<OpenDefinitionsDocument> |
getOpenDefinitionsDocuments()
Returns a collection of all documents currently open for editing. |
java.util.List<OpenDefinitionsDocument> |
getOutOfSyncDocuments()
|
java.util.List<OpenDefinitionsDocument> |
getOutOfSyncDocuments(java.util.List<OpenDefinitionsDocument> lod)
|
java.awt.print.PageFormat |
getPageFormat()
|
java.util.Map<OptionParser<?>,java.lang.String> |
getPreferencesStoredInProject()
|
java.util.List<OpenDefinitionsDocument> |
getProjectDocuments()
Teturns a list of OpenDefinitionsDocuments that do belong to the currently active project. If no project is active, no documents are returned. |
java.io.File |
getProjectFile()
|
java.io.File[] |
getProjectFiles()
|
java.io.File |
getProjectRoot()
|
java.util.List<OpenDefinitionsDocument> |
getSortedOpenDefinitionsDocuments()
|
java.lang.String |
getSourceBinTitle()
Gives the title of the source bin for the navigator |
java.io.File |
getSourceFile(java.lang.String fileName)
Searches for a file with the given name on the current source roots and the augmented classpath. |
java.lang.Iterable<java.io.File> |
getSourceRootSet()
Gets a list of all sourceRoots for the open definitions documents, without duplicates. |
InteractionsDJDocument |
getSwingConsoleDocument()
TODO: remove this swing dependency. |
InteractionsDJDocument |
getSwingInteractionsDocument()
TODO: remove this swing dependency. |
java.io.File |
getWorkingDirectory()
|
boolean |
hasModifiedDocuments()
Checks if any open definitions documents have been modified since last being saved. |
boolean |
hasModifiedDocuments(java.util.List<OpenDefinitionsDocument> lod)
Checks if any of the given documents have been modified since last being saved. |
boolean |
hasOutOfSyncDocuments()
|
boolean |
hasOutOfSyncDocuments(java.util.List<OpenDefinitionsDocument> lod)
|
boolean |
hasUntitledDocuments()
Checks if any open definitions documents are untitled. |
boolean |
inProject(java.io.File f)
Returns true the given file is in the current project file. |
boolean |
inProjectPath(OpenDefinitionsDocument doc)
A file is in the project if the source root is the same as the project root. |
void |
interpretCurrentInteraction()
Interprets the current given text at the prompt in the interactions pane. |
boolean |
isAlreadyOpen(java.io.File file)
|
boolean |
isProjectActive()
|
boolean |
isProjectChanged()
Returns true if the project state has been changed |
void |
loadHistory(FileOpenSelector selector)
Interprets file selected in the FileOpenSelector. |
InteractionsScriptModel |
loadHistoryAsScript(FileOpenSelector s)
Loads the history/histories from the given selector. |
OpenDefinitionsDocument |
newFile()
Creates a new document in the definitions pane and adds it to the list of open documents. |
OpenDefinitionsDocument |
newFile(java.lang.String text)
Creates a new document in the definitions pane, containing the specified text, and adds it to the list of open documents. |
OpenDefinitionsDocument |
newTestCase(java.lang.String name,
boolean makeSetUp,
boolean makeTearDown)
Creates a new junit test case. |
OpenDefinitionsDocument |
openFile(FileOpenSelector com)
Open a file and read it into the definitions. |
OpenDefinitionsDocument[] |
openFiles(FileOpenSelector com)
Opens multiple files and reads them into the definitions. |
void |
openFolder(java.io.File dir,
boolean rec,
java.lang.String ext)
|
void |
openProject(java.io.File file)
Parses out the given project file, sets up the state and other configurations such as the Navigator and the classpath, and returns an array of files to open. |
void |
printDebugMessage(java.lang.String s)
Called when the debugger wants to print a message. |
void |
quit()
Exits the program. |
void |
refreshActiveDocument()
Re-runs the global listeners on the active document. |
void |
reloadProject(java.io.File f,
java.util.HashMap<OpenDefinitionsDocument,DocumentInfoGetter> ht)
Reloads a project without writing to disk. |
void |
removeAuxiliaryFile(OpenDefinitionsDocument doc)
Removes a document from the list of auxiliary files. |
void |
removeFindResultsManager(RegionManager<MovingDocumentRegion> rm)
Dispose a manager for find result regions. |
void |
removeListener(GlobalModelListener listener)
Remove a listener from this global model. |
void |
resetConsole()
Resets the console. |
void |
resetInteractions(java.io.File wd)
Clears and resets the interactions pane in the specified working directory, provided that the operation has some effect. |
void |
resetInteractions(java.io.File wd,
boolean forceReset)
Clears and resets the interactions pane in the specified working directory. |
void |
saveAllFiles(FileSaveSelector com)
Saves all open documents, prompting when necessary. |
void |
saveConsoleCopy(ConsoleDocument doc,
FileSaveSelector selector)
Save copy of Console or Interactions Pane to text file. |
void |
saveHistory(FileSaveSelector selector)
Saves the unedited version of the current history to a file |
void |
saveHistory(FileSaveSelector selector,
java.lang.String editedVersion)
Saves the edited version of the current history to a file |
void |
saveProject(java.io.File f,
java.util.HashMap<OpenDefinitionsDocument,DocumentInfoGetter> ht)
Writes the project file to disk |
void |
setAutoRefreshStatus(boolean status)
Sets autorefresh status of the project |
void |
setBuildDirectory(java.io.File f)
Sets the current build directory. |
void |
setCreateJarFile(java.io.File f)
Sets the create jar file of the project. |
void |
setCreateJarFlags(int f)
Sets the create jar flags of the project. |
void |
setCustomManifest(java.lang.String manifest)
|
void |
setDocumentNavigator(IDocumentNavigator<OpenDefinitionsDocument> newnav)
|
void |
setExtraClassPath(java.lang.Iterable<AbsRelFile> cp)
Sets the set of classpath entries to use as the projects set of classpath entries. |
void |
setMainClass(java.lang.String f)
Sets the main file of the project. |
void |
setNumCompErrors(int num)
Sets the number of compiler errors produced by the last compilation. |
void |
setPageFormat(java.awt.print.PageFormat format)
|
void |
setPreferencesStoredInProject(java.util.Map<OptionParser<?>,java.lang.String> sp)
Set the preferences stored in the project. |
void |
setProjectChanged(boolean changed)
Notifies the project state that the project has been changed. |
void |
setProjectFile(java.io.File f)
Sets project file to specifed value; used in "Save Project As ..." command in MainFrame. |
void |
setProjectRoot(java.io.File f)
Sets the source root for the project. |
void |
setWorkingDirectory(java.io.File f)
Sets the working directory for the Slave JVM (only applies to project mode). |
void |
systemErrPrint(java.lang.String s)
Prints System.err to the DrJava console. |
void |
systemInEcho(java.lang.String s)
Prints the given string to the DrJava console as an echo of System.in. |
void |
systemOutPrint(java.lang.String s)
Prints System.out to the DrJava console. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DummyGlobalModel()
| Method Detail |
|---|
public void addListener(GlobalModelListener listener)
addListener in interface GlobalModellistener - a listener that reacts on events generated by the GlobalModel
java.lang.UnsupportedOperationExceptionpublic void removeListener(GlobalModelListener listener)
GlobalModel
removeListener in interface GlobalModellistener - a listener that reacts on events generated by the GlobalModelpublic GlobalEventNotifier getNotifier()
getNotifier in interface GlobalModelpublic DefaultInteractionsModel getInteractionsModel()
GlobalModel
getInteractionsModel in interface GlobalModelpublic CompilerModel getCompilerModel()
GlobalModel
getCompilerModel in interface GlobalModelpublic JUnitModel getJUnitModel()
GlobalModel
getJUnitModel in interface GlobalModelpublic JavadocModel getJavadocModel()
GlobalModel
getJavadocModel in interface GlobalModelpublic Debugger getDebugger()
GlobalModel
getDebugger in interface GlobalModelpublic RegionManager<Breakpoint> getBreakpointManager()
getBreakpointManager in interface GlobalModelpublic RegionManager<MovingDocumentRegion> getBookmarkManager()
getBookmarkManager in interface GlobalModelpublic RegionManager<MovingDocumentRegion> createFindResultsManager()
createFindResultsManager in interface GlobalModelpublic void removeFindResultsManager(RegionManager<MovingDocumentRegion> rm)
GlobalModel
removeFindResultsManager in interface GlobalModelpublic BrowserHistoryManager getBrowserHistoryManager()
getBrowserHistoryManager in interface GlobalModelpublic void addToBrowserHistory()
GlobalModel
addToBrowserHistory in interface GlobalModelpublic IDocumentNavigator<OpenDefinitionsDocument> getDocumentNavigator()
GlobalModel
getDocumentNavigator in interface GlobalModelpublic void setDocumentNavigator(IDocumentNavigator<OpenDefinitionsDocument> newnav)
setDocumentNavigator in interface GlobalModelpublic OpenDefinitionsDocument newFile()
GlobalModel
newFile in interface GlobalModelpublic OpenDefinitionsDocument newFile(java.lang.String text)
GlobalModel
newFile in interface GlobalModeltext - for the new document
public OpenDefinitionsDocument newTestCase(java.lang.String name,
boolean makeSetUp,
boolean makeTearDown)
GlobalModel
newTestCase in interface GlobalModelname - the name of the new test casemakeSetUp - true iff an empty setUp() method should be includedmakeTearDown - true iff an empty tearDown() method should be included
public OpenDefinitionsDocument openFile(FileOpenSelector com)
throws java.io.IOException,
OperationCanceledException,
AlreadyOpenException
ILoadDocuments
openFile in interface ILoadDocumentscom - a command pattern command that selects what file to open
java.io.IOException
OperationCanceledException - if the open was canceled
AlreadyOpenException - if the file is already open
public OpenDefinitionsDocument[] openFiles(FileOpenSelector com)
throws java.io.IOException,
OperationCanceledException,
AlreadyOpenException
ILoadDocuments
openFiles in interface ILoadDocumentscom - a command pattern command that selects which files to open
java.io.IOException - if an underlying I/O operation fails
OperationCanceledException - if the open was canceled
AlreadyOpenException - if the file is already openpublic boolean closeFile(OpenDefinitionsDocument doc)
GlobalModel
closeFile in interface GlobalModelpublic boolean closeFileWithoutPrompt(OpenDefinitionsDocument doc)
GlobalModel
closeFileWithoutPrompt in interface GlobalModelpublic boolean closeAllFiles()
GlobalModel
closeAllFiles in interface GlobalModelpublic boolean closeFiles(java.util.List<OpenDefinitionsDocument> docs)
GlobalModelThe corner cases in which the file that is being closed had been externally deleted have been addressed in a few places, namely DefaultGlobalModel.canAbandonFile() and MainFrame.ModelListener.canAbandonFile(). If the DefinitionsDocument for the OpenDefinitionsDocument being closed is not in the cache (see model.cache.DocumentCache) then it is closed without prompting the user to save it. If it is in the cache, then we can successfully notify the user that the file is selected for closing and ask whether to saveAs, close, or cancel.
closeFiles in interface GlobalModeldocs - the list od OpenDefinitionsDocuments to close
public void openFolder(java.io.File dir,
boolean rec,
java.lang.String ext)
throws java.io.IOException,
OperationCanceledException,
AlreadyOpenException
openFolder in interface GlobalModeljava.io.IOException
OperationCanceledException
AlreadyOpenExceptionpublic void setAutoRefreshStatus(boolean status)
GlobalModel
setAutoRefreshStatus in interface GlobalModelpublic boolean getAutoRefreshStatus()
GlobalModel
getAutoRefreshStatus in interface GlobalModelpublic java.util.Map<OptionParser<?>,java.lang.String> getPreferencesStoredInProject()
getPreferencesStoredInProject in interface GlobalModelpublic void setPreferencesStoredInProject(java.util.Map<OptionParser<?>,java.lang.String> sp)
GlobalModel
setPreferencesStoredInProject in interface GlobalModel
public void saveAllFiles(FileSaveSelector com)
throws java.io.IOException
GlobalModel
saveAllFiles in interface GlobalModeljava.io.IOExceptionpublic void createNewProject(java.io.File f)
GlobalModel
createNewProject in interface GlobalModelf - the new project file (which does not yet exist in the file system).
public void configNewProject()
throws java.io.IOException
GlobalModel
configNewProject in interface GlobalModeljava.io.IOException
public void saveProject(java.io.File f,
java.util.HashMap<OpenDefinitionsDocument,DocumentInfoGetter> ht)
throws java.io.IOException
GlobalModel
saveProject in interface GlobalModelf - where to save the projectht - Extra view-related information that should be included in the project file
java.io.IOException
public void reloadProject(java.io.File f,
java.util.HashMap<OpenDefinitionsDocument,DocumentInfoGetter> ht)
throws java.io.IOException
GlobalModel
reloadProject in interface GlobalModelf - project file; does not actually get touched
java.io.IOException
public java.lang.String fixPathForNavigator(java.lang.String path)
throws java.io.IOException
GlobalModel
fixPathForNavigator in interface GlobalModeljava.io.IOExceptionpublic java.lang.String getSourceBinTitle()
GlobalModel
getSourceBinTitle in interface GlobalModelpublic java.lang.String getExternalBinTitle()
GlobalModel
getExternalBinTitle in interface GlobalModelpublic java.lang.String getAuxiliaryBinTitle()
GlobalModel
getAuxiliaryBinTitle in interface GlobalModelpublic void addAuxiliaryFile(OpenDefinitionsDocument doc)
GlobalModel
addAuxiliaryFile in interface GlobalModelpublic void removeAuxiliaryFile(OpenDefinitionsDocument doc)
GlobalModel
removeAuxiliaryFile in interface GlobalModel
public void openProject(java.io.File file)
throws java.io.IOException,
MalformedProjectFileException
GlobalModel
openProject in interface GlobalModelfile - The project file to parse
java.io.IOException
MalformedProjectFileExceptionpublic void closeProject(boolean quitting)
GlobalModel
closeProject in interface GlobalModelpublic java.io.File getSourceFile(java.lang.String fileName)
GlobalModel
getSourceFile in interface GlobalModelfileName - Name of the source file to look for
public java.io.File findFileInPaths(java.lang.String fileName,
java.lang.Iterable<java.io.File> paths)
GlobalModel
findFileInPaths in interface GlobalModelfileName - Name of the source file to look forpaths - An array of directories to searchpublic java.lang.Iterable<java.io.File> getSourceRootSet()
GlobalModel
getSourceRootSet in interface GlobalModelpublic java.lang.String getCompletePath(int index)
public DefinitionsEditorKit getEditorKit()
GlobalModelEditorKit implementation for use in the definitions pane.
getEditorKit in interface GlobalModelpublic DocumentIterator getDocumentIterator()
GlobalModel
getDocumentIterator in interface GlobalModelpublic void refreshActiveDocument()
GlobalModel
refreshActiveDocument in interface GlobalModelpublic ConsoleDocument getConsoleDocument()
GlobalModel
getConsoleDocument in interface GlobalModelpublic InteractionsDJDocument getSwingConsoleDocument()
GlobalModel
getSwingConsoleDocument in interface GlobalModelpublic void resetConsole()
GlobalModel
resetConsole in interface GlobalModelpublic void systemOutPrint(java.lang.String s)
GlobalModel
systemOutPrint in interface GlobalModelpublic void systemErrPrint(java.lang.String s)
GlobalModel
systemErrPrint in interface GlobalModelpublic void systemInEcho(java.lang.String s)
GlobalModel
systemInEcho in interface GlobalModelpublic InteractionsDocument getInteractionsDocument()
GlobalModel
getInteractionsDocument in interface GlobalModelpublic InteractionsDJDocument getSwingInteractionsDocument()
GlobalModel
getSwingInteractionsDocument in interface GlobalModelpublic void resetInteractions(java.io.File wd)
GlobalModel
resetInteractions in interface GlobalModel
public void resetInteractions(java.io.File wd,
boolean forceReset)
GlobalModel
resetInteractions in interface GlobalModelpublic void interpretCurrentInteraction()
GlobalModel
interpretCurrentInteraction in interface GlobalModelpublic java.lang.Iterable<java.io.File> getInteractionsClassPath()
GlobalModel
getInteractionsClassPath in interface GlobalModel
public void loadHistory(FileOpenSelector selector)
throws java.io.IOException
GlobalModel
loadHistory in interface GlobalModeljava.io.IOException
public InteractionsScriptModel loadHistoryAsScript(FileOpenSelector s)
throws java.io.IOException,
OperationCanceledException
GlobalModel
loadHistoryAsScript in interface GlobalModeljava.io.IOException
OperationCanceledExceptionpublic void clearHistory()
GlobalModel
clearHistory in interface GlobalModel
public void saveConsoleCopy(ConsoleDocument doc,
FileSaveSelector selector)
throws java.io.IOException
GlobalModel
saveConsoleCopy in interface GlobalModeljava.io.IOException
public void saveHistory(FileSaveSelector selector)
throws java.io.IOException
GlobalModel
saveHistory in interface GlobalModelselector - File to save to
java.io.IOException
public void saveHistory(FileSaveSelector selector,
java.lang.String editedVersion)
throws java.io.IOException
GlobalModel
saveHistory in interface GlobalModelselector - File to save toeditedVersion - Edited verison of the history which will be saved to file instead of the lines saved in the
history. The saved file will still include any tags needed to recognize it as a saved interactions file.
java.io.IOExceptionpublic java.lang.String getHistoryAsStringWithSemicolons()
GlobalModel
getHistoryAsStringWithSemicolons in interface GlobalModelpublic java.lang.String getHistoryAsString()
GlobalModel
getHistoryAsString in interface GlobalModelpublic void printDebugMessage(java.lang.String s)
GlobalModel
printDebugMessage in interface GlobalModel
public int getDebugPort()
throws java.io.IOException
GlobalModel
getDebugPort in interface GlobalModeljava.io.IOException - if unable to get a valid port number.public java.lang.Iterable<java.io.File> getClassPath()
GlobalModel
getClassPath in interface GlobalModelpublic java.awt.print.PageFormat getPageFormat()
getPageFormat in interface GlobalModelpublic void setPageFormat(java.awt.print.PageFormat format)
setPageFormat in interface GlobalModelpublic void quit()
GlobalModel
quit in interface GlobalModelpublic void forceQuit()
GlobalModel
forceQuit in interface GlobalModelpublic int getDocumentCount()
GlobalModel
getDocumentCount in interface GlobalModelpublic int getNumCompErrors()
GlobalModel
getNumCompErrors in interface GlobalModelpublic void setNumCompErrors(int num)
GlobalModel
setNumCompErrors in interface GlobalModelpublic OpenDefinitionsDocument getODDForDocument(AbstractDocumentInterface doc)
GlobalModel
getODDForDocument in interface GlobalModelpublic java.util.List<OpenDefinitionsDocument> getNonProjectDocuments()
GlobalModel
getNonProjectDocuments in interface GlobalModelpublic java.util.List<OpenDefinitionsDocument> getProjectDocuments()
GlobalModel
getProjectDocuments in interface GlobalModelpublic boolean isProjectActive()
isProjectActive in interface GlobalModelpublic java.io.File getProjectFile()
getProjectFile in interface GlobalModelpublic java.io.File[] getProjectFiles()
getProjectFiles in interface GlobalModelpublic java.io.File getProjectRoot()
getProjectRoot in interface GlobalModelpublic void setProjectFile(java.io.File f)
GlobalModel
setProjectFile in interface GlobalModelpublic void setProjectRoot(java.io.File f)
GlobalModel
setProjectRoot in interface GlobalModelpublic java.io.File getBuildDirectory()
getBuildDirectory in interface GlobalModelpublic void setBuildDirectory(java.io.File f)
GlobalModel
setBuildDirectory in interface GlobalModelpublic java.io.File getMasterWorkingDirectory()
getMasterWorkingDirectory in interface GlobalModelpublic java.io.File getWorkingDirectory()
getWorkingDirectory in interface GlobalModelpublic void setWorkingDirectory(java.io.File f)
GlobalModel
setWorkingDirectory in interface GlobalModelpublic void setMainClass(java.lang.String f)
GlobalModel
setMainClass in interface GlobalModelpublic java.lang.String getMainClass()
GlobalModel
getMainClass in interface GlobalModelpublic java.io.File getMainClassContainingFile()
GlobalModel
getMainClassContainingFile in interface GlobalModelpublic java.lang.Iterable<AbsRelFile> getExtraClassPath()
GlobalModel
getExtraClassPath in interface GlobalModelpublic void setExtraClassPath(java.lang.Iterable<AbsRelFile> cp)
GlobalModel
setExtraClassPath in interface GlobalModelpublic void setCreateJarFile(java.io.File f)
GlobalModel
setCreateJarFile in interface GlobalModelpublic java.io.File getCreateJarFile()
GlobalModel
getCreateJarFile in interface GlobalModelpublic void setCreateJarFlags(int f)
GlobalModel
setCreateJarFlags in interface GlobalModelpublic int getCreateJarFlags()
GlobalModel
getCreateJarFlags in interface GlobalModelpublic boolean inProject(java.io.File f)
GlobalModel
inProject in interface GlobalModelpublic boolean inProjectPath(OpenDefinitionsDocument doc)
GlobalModel
inProjectPath in interface GlobalModelpublic void setProjectChanged(boolean changed)
GlobalModel
setProjectChanged in interface GlobalModelpublic boolean isProjectChanged()
GlobalModel
isProjectChanged in interface GlobalModelpublic boolean hasOutOfSyncDocuments()
hasOutOfSyncDocuments in interface GlobalModelpublic boolean hasOutOfSyncDocuments(java.util.List<OpenDefinitionsDocument> lod)
hasOutOfSyncDocuments in interface GlobalModelpublic java.util.List<OpenDefinitionsDocument> getOutOfSyncDocuments()
getOutOfSyncDocuments in interface GlobalModelpublic java.util.List<OpenDefinitionsDocument> getOutOfSyncDocuments(java.util.List<OpenDefinitionsDocument> lod)
getOutOfSyncDocuments in interface GlobalModelpublic void cleanBuildDirectory()
GlobalModel
cleanBuildDirectory in interface GlobalModelpublic java.util.List<java.io.File> getClassFiles()
getClassFiles in interface GlobalModel
public OpenDefinitionsDocument getDocumentForFile(java.io.File file)
throws java.io.IOException
GlobalModel
getDocumentForFile in interface GlobalModelfile - File contained by the document to be returned
java.io.IOExceptionpublic boolean isAlreadyOpen(java.io.File file)
public java.util.List<OpenDefinitionsDocument> getOpenDefinitionsDocuments()
GlobalModel
getOpenDefinitionsDocuments in interface GlobalModelpublic java.util.List<OpenDefinitionsDocument> getLLOpenDefinitionsDocuments()
GlobalModel
getLLOpenDefinitionsDocuments in interface GlobalModelpublic java.util.List<OpenDefinitionsDocument> getAuxiliaryDocuments()
getAuxiliaryDocuments in interface GlobalModelpublic java.util.List<OpenDefinitionsDocument> getSortedOpenDefinitionsDocuments()
public boolean hasModifiedDocuments()
GlobalModel
hasModifiedDocuments in interface GlobalModelpublic boolean hasModifiedDocuments(java.util.List<OpenDefinitionsDocument> lod)
GlobalModel
hasModifiedDocuments in interface GlobalModelpublic boolean hasUntitledDocuments()
GlobalModel
hasUntitledDocuments in interface GlobalModelpublic java.lang.String getCustomManifest()
getCustomManifest in interface GlobalModelpublic void setCustomManifest(java.lang.String manifest)
setCustomManifest in interface GlobalModel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||