|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ac.ulg.montefiore.run.totem.visualtopo.guiModules.AbstractGUIModule
be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.whatIf.WhatIfManager
public class WhatIfManager
This GUIModule is the manager for the what-if Scenario system TODO: implents the cancel operation (need domains to be clonable)
Constructor Summary | |
---|---|
WhatIfManager()
|
Method Summary | |
---|---|
void |
add(Scenario scenario)
add a new step to the current scenario stack |
void |
discardChanges()
Discard all changes since the scenario began |
void |
execute()
execute scenario stack and call a report generation |
static WhatIfManager |
getInstance()
|
javax.swing.JMenu |
getMenu()
returns the menu for this module |
java.lang.String |
getName()
This method returns the module name ("What-if scenarios") |
boolean |
loadAtStartup()
Should the Module be loaded at GUI startup ? yes |
Methods inherited from class be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.AbstractGUIModule |
---|
initialize, isUnloadable, terminate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WhatIfManager()
Method Detail |
---|
public static WhatIfManager getInstance()
public boolean loadAtStartup()
loadAtStartup
in interface GUIModule
loadAtStartup
in class AbstractGUIModule
public javax.swing.JMenu getMenu()
public java.lang.String getName()
public void add(Scenario scenario)
scenario
- public void discardChanges()
public void execute()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |