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 void
dispose()
Dispose.protected INewWizard
getNewWizard()
Gets the new wizard.protected IWorkbenchWindow
getWindow()
Gets the window.void
init(IWorkbenchWindow window)
Inits the.void
selectionChanged(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:
getNewWizard
in classBaseNewDiagramAction
- Returns:
- the new wizard
- See Also:
BaseNewDiagramAction.getNewWizard()
-
init
public void init(IWorkbenchWindow window)
Inits the.- Specified by:
init
in 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:
selectionChanged
in 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:
dispose
in interfaceIWorkbenchWindowActionDelegate
- See Also:
IWorkbenchWindowActionDelegate.dispose()
-
-