Class NewResourceDiagramAction
- java.lang.Object
-
- de.uka.ipd.sdq.pcm.gmf.toolbar.BaseNewDiagramAction
-
- de.uka.ipd.sdq.pcm.gmf.toolbar.actions.NewResourceDiagramAction
-
- All Implemented Interfaces:
IActionDelegate
,IWorkbenchWindowActionDelegate
public class NewResourceDiagramAction extends BaseNewDiagramAction
The Class NewResourceDiagramAction.
-
-
Constructor Summary
Constructors Constructor Description NewResourceDiagramAction()
-
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()
-
-