Class NewUsageDiagramAction
- java.lang.Object
-
- de.uka.ipd.sdq.pcm.gmf.toolbar.BaseNewDiagramAction
-
- de.uka.ipd.sdq.pcm.gmf.toolbar.actions.NewUsageDiagramAction
-
- All Implemented Interfaces:
IActionDelegate,IWorkbenchWindowActionDelegate
public class NewUsageDiagramAction extends BaseNewDiagramAction
The Class NewUsageDiagramAction.
-
-
Constructor Summary
Constructors Constructor Description NewUsageDiagramAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()Dispose.protected INewWizardgetNewWizard()Gets the new wizard.protected IWorkbenchWindowgetWindow()Gets the window.voidinit(IWorkbenchWindow window)Inits the.voidselectionChanged(IAction action, ISelection selection)Selection changed.-
Methods inherited from class de.uka.ipd.sdq.pcm.gmf.toolbar.BaseNewDiagramAction
run
-
-
-
-
Method Detail
-
getNewWizard
protected INewWizard getNewWizard()
Gets the new wizard.- Specified by:
getNewWizardin classBaseNewDiagramAction- Returns:
- the new wizard
- See Also:
BaseNewDiagramAction.getNewWizard()
-
init
public void init(IWorkbenchWindow window)
Inits the.- Specified by:
initin interfaceIWorkbenchWindowActionDelegate- Parameters:
window- the window- See Also:
IWorkbenchWindowActionDelegate.init(org.eclipse.ui.IWorkbenchWindow)
-
getWindow
protected IWorkbenchWindow getWindow()
Gets the window.- Returns:
- the window which was active when the action was activated
-
selectionChanged
public void selectionChanged(IAction action, ISelection selection)
Selection changed.- Specified by:
selectionChangedin interfaceIActionDelegate- Parameters:
action- the actionselection- the selection- See Also:
IActionDelegate.selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)
-
dispose
public void dispose()
Dispose.- Specified by:
disposein interfaceIWorkbenchWindowActionDelegate- See Also:
IWorkbenchWindowActionDelegate.dispose()
-
-