org.gcn.plinguaplugin.actions
Class SimulateAction
java.lang.Object
org.gcn.plinguaplugin.actions.SimulateAction
- All Implemented Interfaces:
- org.eclipse.ui.IActionDelegate, org.eclipse.ui.IWorkbenchWindowActionDelegate
public class SimulateAction
- extends java.lang.Object
- implements org.eclipse.ui.IWorkbenchWindowActionDelegate
This class performs the creation and displaying of an SimulatorDisplayer
instance when the extension referring this class is activated
- Author:
- Manuel Garcia-Quismondo-Fernandez
Method Summary |
void |
dispose()
|
void |
init(org.eclipse.ui.IWorkbenchWindow window)
|
void |
run(org.eclipse.jface.action.IAction action)
Creates and displays a new SimulatorDisplayer instance for simulations |
void |
selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimulateAction
public SimulateAction()
dispose
public void dispose()
- Specified by:
dispose
in interface org.eclipse.ui.IWorkbenchWindowActionDelegate
- See Also:
IWorkbenchWindowActionDelegate.dispose()
init
public void init(org.eclipse.ui.IWorkbenchWindow window)
- Specified by:
init
in interface org.eclipse.ui.IWorkbenchWindowActionDelegate
- See Also:
IWorkbenchWindowActionDelegate.init(org.eclipse.ui.IWorkbenchWindow)
run
public void run(org.eclipse.jface.action.IAction action)
- Creates and displays a new
SimulatorDisplayer
instance for simulations
- Specified by:
run
in interface org.eclipse.ui.IActionDelegate
- Parameters:
action
- the action which triggers the displayer opening
selectionChanged
public void selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
- Specified by:
selectionChanged
in interface org.eclipse.ui.IActionDelegate
- See Also:
IActionDelegate.selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)