|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.essex.common.gui.ViewerImpl
uk.ac.essex.ia.opview.OpViewer
public class OpViewer
This is the mian class that handles displaying operations
Field Summary | |
---|---|
static java.lang.String |
ACTION_XML_FILE
|
protected Interpreter |
interpreter
|
static java.awt.event.KeyListener |
keyListener
|
protected java.util.ArrayList |
operatorMenus
|
protected OperatorManager |
opManager
|
Fields inherited from class uk.ac.essex.common.gui.ViewerImpl |
---|
applicationFrame, editHandler, fileHandler, helpHandler, optionsHandler |
Fields inherited from interface uk.ac.essex.ia.opview.pref.OVPreferences |
---|
CURRENT_FILE_NAME, FILE_LIST, RESTORE_SESSION |
Method Summary | |
---|---|
void |
addMenus(ApplicationModel model)
Add all the menus from the application model |
void |
addToToolbar(javax.swing.Action[] actions)
TODO |
static OpViewer |
getInstance()
|
Interpreter |
getInterpreter()
|
static IAJGraph |
getNewJGraph()
Gets a blank new empty IAJGraph object |
void |
loadOperators(javax.swing.JMenu[] operatorMenus)
|
static void |
main(java.lang.String[] args)
Main method |
void |
restoreSession()
This loads the GUI into the users prefered state |
void |
show()
Shows the frame |
void |
shutDown()
Called to shut the Viewer down, this allows it to save open files etc. |
Methods inherited from class uk.ac.essex.common.gui.ViewerImpl |
---|
getApplicationFrame, getEditHandler, getFileHandler, getHelpHandler, getOptionsHandler, restoreSessionFiles, saveOpenFiles, saveSessionFiles, shouldRestoreSession |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ACTION_XML_FILE
public static java.awt.event.KeyListener keyListener
protected Interpreter interpreter
protected OperatorManager opManager
protected java.util.ArrayList operatorMenus
Method Detail |
---|
public static OpViewer getInstance()
public static IAJGraph getNewJGraph()
public Interpreter getInterpreter()
public void loadOperators(javax.swing.JMenu[] operatorMenus)
public void show()
public void addMenus(ApplicationModel model)
public void addToToolbar(javax.swing.Action[] actions)
actions
- public void shutDown() throws ShutdownCancelledException
ViewerImpl
shutDown
in interface Viewer
shutDown
in class ViewerImpl
ShutdownCancelledException
public void restoreSession()
restoreSession
in interface Viewer
restoreSession
in class ViewerImpl
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |