|
GoGraph |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--javax.swing.AbstractAction
|
+--gograph.actions.go.SwitchExecAction
Switch to execution mode.
| Field Summary | |
protected GGGraph |
editorGraph
Access to current editing graph. |
protected GGGraph |
execGraph
Access to current executing graph. |
protected GoGraph |
gograph
Access back to GoGraph panel. |
| Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
| Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
| Constructor Summary | |
SwitchExecAction(GoGraph gograph,
javax.swing.ImageIcon icon,
GGGraph editorGraph,
GGGraph execGraph)
Creates a new instance of SwitchExecAction. |
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
Switch to execution mode. |
java.lang.String |
selectAlgo()
Select an algorithm for execution. |
| Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected GoGraph gograph
protected GGGraph editorGraph
protected GGGraph execGraph
| Constructor Detail |
public SwitchExecAction(GoGraph gograph,
javax.swing.ImageIcon icon,
GGGraph editorGraph,
GGGraph execGraph)
gograph - Access back to GoGraph panel.icon - Action icon.editorGraph - Current editing graph.execGraph - Current executing graph.| Method Detail |
public void actionPerformed(java.awt.event.ActionEvent e)
Execution pane is enabled, edition pane is disabled. Editing graph is copied in executing graph. Available actions in menubar and toolbar are updated.
e - Evenement source.public java.lang.String selectAlgo()
When switching from edition mode, no algorithm has yet been selected, no reinitialisation warning needed.
|
GoGraph |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||