|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.rej.gui.SystemFacade
public class SystemFacade
Common entry point for ReJ GUI system level operations.
Method Summary | |
---|---|
void |
createNewArchiveProject(java.io.File archiveFile)
|
void |
createNewClass(java.lang.String fullClassName,
java.lang.String selectedFile)
|
void |
exit()
Exit application |
ClassFile |
getClassFile(ClassLocator classLocator)
|
ClassFile |
getClassFile(java.lang.String filename)
Return the ClassFile object of the selected file in the open project |
ClassIndex |
getClassIndex()
|
FileSet |
getFileSet(java.io.File f)
|
static SystemFacade |
getInstance()
|
MethodFactory |
getMethodFactory()
|
Preferences |
getPreferences()
|
ProgressMonitor |
getProgressMonitor()
Return the Default GUI progress monitor |
java.util.List |
getRecentFiles()
|
void |
goTo(Link link)
|
void |
handleException(java.lang.Exception ex)
|
void |
handleExceptions(java.util.List errors)
|
void |
openFile(java.io.File f)
|
void |
openProject(Project project)
|
void |
performAction(Undoable action)
|
void |
performAction(Undoable action,
java.lang.String targetFile)
Performs the action specified by action (by calling the
execute() method) on the project file specified by
targetFile . |
void |
performFind()
|
void |
performProjectAction(Undoable action)
|
void |
performProjectRedo()
|
void |
performProjectUndo()
|
void |
performRedo(java.lang.String targetFile)
|
void |
performUndo(java.lang.String targetFile)
|
void |
processEvent(Event event)
|
void |
removeFile(java.util.List<java.lang.String> files)
|
void |
saveFile()
|
void |
saveFile(java.io.File file)
|
void |
search(IteratorAgent matcher)
|
void |
setProgress(int i)
|
void |
setProgressScope(int min,
int max)
|
void |
setStatus(java.lang.String status)
|
void |
setTitle()
|
void |
setTitle(java.lang.String title)
|
void |
showPreferencesDialog()
|
void |
updateClassIndex()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static SystemFacade getInstance()
public void showPreferencesDialog()
public void exit()
public void openFile(java.io.File f)
public void openProject(Project project)
public void saveFile()
public void saveFile(java.io.File file)
public void setProgress(int i)
public void setProgressScope(int min, int max)
public void setStatus(java.lang.String status)
public void handleException(java.lang.Exception ex)
public void handleExceptions(java.util.List errors)
public FileSet getFileSet(java.io.File f) throws java.io.IOException
java.io.IOException
public void setTitle(java.lang.String title)
public void setTitle()
public void performAction(Undoable action)
public void performAction(Undoable action, java.lang.String targetFile)
action
(by calling the
execute() method) on the project file specified by
targetFile
. The action is added to the
UndoManager
of the target file and project modified status
is set accordingly. An application-wide CLASS_UPDATE notification is
dispatched.
action
- Undoable
that is to be performed.targetFile
- the file on which the action is performed on.public void performProjectAction(Undoable action)
public void performUndo(java.lang.String targetFile)
public void performRedo(java.lang.String targetFile)
public void performProjectUndo()
public void performProjectRedo()
public void performFind()
public void removeFile(java.util.List<java.lang.String> files)
public java.util.List getRecentFiles()
public void goTo(Link link)
public void search(IteratorAgent matcher)
public ProgressMonitor getProgressMonitor()
public ClassFile getClassFile(java.lang.String filename) throws java.io.IOException, ClassParsingException
filename
-
java.io.IOException
- I/O problem reading/parsing the ClassFile
ClassParsingException
- Parsing Exception - the ClassFile was malformedpublic ClassFile getClassFile(ClassLocator classLocator) throws java.io.IOException, ClassParsingException
java.io.IOException
ClassParsingException
public ClassIndex getClassIndex()
public void updateClassIndex()
public void createNewArchiveProject(java.io.File archiveFile)
public void createNewClass(java.lang.String fullClassName, java.lang.String selectedFile)
public MethodFactory getMethodFactory()
public void processEvent(Event event)
processEvent
in interface EventObserver
public Preferences getPreferences()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |