edu.cmu.sei.aadl.model.core.presentation
Class WizardLauncherAction

java.lang.Object
  extended by edu.cmu.sei.aadl.model.core.presentation.WizardLauncherAction
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IWorkbenchWindowActionDelegate
Direct Known Subclasses:
NewAadlSpecWizardAction, NewPackageWizardAction, NewPropertysetWizardAction

public abstract class WizardLauncherAction
extends java.lang.Object
implements org.eclipse.ui.IWorkbenchWindowActionDelegate

Launches a "new Aadl model wizard" when the user clicks on one of the three "new Aadl model" buttons on the toolbar.

Author:
jseibel

Constructor Summary
WizardLauncherAction()
           
 
Method Summary
 void dispose()
           
 void init(org.eclipse.ui.IWorkbenchWindow window)
           
 void run(org.eclipse.jface.action.IAction action)
           
 void selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
           
protected abstract  void setInitialObjectType(CoreModelWizard wizard)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WizardLauncherAction

public WizardLauncherAction()
Method Detail

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.ui.IWorkbenchWindowActionDelegate

init

public void init(org.eclipse.ui.IWorkbenchWindow window)
Specified by:
init in interface org.eclipse.ui.IWorkbenchWindowActionDelegate

run

public void run(org.eclipse.jface.action.IAction action)
Specified by:
run in interface org.eclipse.ui.IActionDelegate

setInitialObjectType

protected abstract void setInitialObjectType(CoreModelWizard wizard)

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