fr.jussieu.gla.wasa.monitor.gui.application
Class ApplicationContext
java.lang.Object
|
+--fr.jussieu.gla.wasa.monitor.gui.application.ApplicationContext
- public class ApplicationContext
- extends java.lang.Object
Placeholder for all shared variables of the application.
- Version:
- $Revision: 1.15 $ $Date: 2002/04/10 17:24:01 $
- Author:
- Simeon Fitch (source inspired from Ant Antidote), Florent Selva, Laurent Caillette
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationContext
public ApplicationContext(Problem problem)
getEventBus
public EventBus getEventBus()
getResourceManager
public ResourceManager getResourceManager()
getActionManager
public ActionManager getActionManager()
getSelectionManager
public SelectionManager getSelectionManager()
getMainFrame
public MainFrame getMainFrame()
getProblemNode
public ProblemNode getProblemNode()
setMainFrame
public void setMainFrame(MainFrame frame)
- Supposed to be set only once, at application startup.
- Parameters:
frame
- The MainFrame instance.
getRandom
public java.util.Random getRandom()
setRandom
public void setRandom(java.util.Random random)
execute
public void execute(IExecutableNode executableNode,
int stepCount)
cancelExecution
public void cancelExecution()
isExecuting
public boolean isExecuting()
getStepCountInput
public int getStepCountInput()
addCustomizer
public void addCustomizer(ICustomizer customizer)
getCustomizers
public ICustomizer[] getCustomizers()
getGlobalOptions
public IGlobalOptions getGlobalOptions()
setGlobalOptions
public void setGlobalOptions(IGlobalOptions newOptions)