org.eclipse.emf.edit.ui.action
Class CreateSiblingAction
org.eclipse.emf.edit.ui.action.StaticSelectionCommandAction
|
+--org.eclipse.emf.edit.ui.action.CreateSiblingAction
- public class CreateSiblingAction
- extends StaticSelectionCommandAction
A sibling creation action is implemented by creating a CreateChildCommand
.
Field Summary |
protected java.lang.Object |
descriptor
This describes the sibling to be created. |
Constructor Summary |
CreateSiblingAction(org.eclipse.ui.IEditorPart editorPart,
org.eclipse.jface.viewers.ISelection selection,
java.lang.Object descriptor)
This constructs an instance of an action that creates a sibling
specified by descriptor . |
descriptor
protected java.lang.Object descriptor
- This describes the sibling to be created.
CreateSiblingAction
public CreateSiblingAction(org.eclipse.ui.IEditorPart editorPart,
org.eclipse.jface.viewers.ISelection selection,
java.lang.Object descriptor)
- This constructs an instance of an action that creates a sibling
specified by
descriptor
.
createActionCommand
protected Command createActionCommand(EditingDomain editingDomain,
java.util.Collection collection)
- This creates the command for
StaticSelectionCommandAction.createActionCommand(org.eclipse.emf.edit.domain.EditingDomain, java.util.Collection)
.
- Overrides:
createActionCommand
in class StaticSelectionCommandAction