org.eclipse.gmt.umlx.editor.delegates
Class AbstractOpenSheetAction<M extends GSheet,R extends IRegimeCo1<M,GDiagramParent,?,?>>

java.lang.Object
  extended by org.eclipse.gmt.umlx.editor.delegates.EditorAction
      extended by org.eclipse.gmt.umlx.editor.delegates.AbstractOpenSheetAction<M,R>
Type Parameters:
M - Sheet class
R - Sheet regime
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IObjectActionDelegate
Direct Known Subclasses:
OpenMmSheetAction, OpenTxContextSheetAction, OpenTxRuleSheetAction

public class AbstractOpenSheetAction<M extends GSheet,R extends IRegimeCo1<M,GDiagramParent,?,?>>
extends EditorAction

Delegate action to create a new M sheet associated withg the R regime for each model selected in the outline.


Constructor Summary
AbstractOpenSheetAction(R regime)
           
 
Method Summary
 void run(MultiSheetEditor editor, org.eclipse.jface.viewers.IStructuredSelection structuredSelection)
           
 
Methods inherited from class org.eclipse.gmt.umlx.editor.delegates.EditorAction
run, selectionChanged, setActivePart
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractOpenSheetAction

public AbstractOpenSheetAction(R regime)
Method Detail

run

public void run(MultiSheetEditor editor,
                org.eclipse.jface.viewers.IStructuredSelection structuredSelection)
Specified by:
run in class EditorAction