public class CreateSiblingAction extends StaticSelectionCommandAction
CreateChildCommand
.Modifier and Type | Field and Description |
---|---|
protected java.lang.Object |
descriptor
This describes the sibling to be created.
|
command, editingDomain
Constructor and Description |
---|
CreateSiblingAction(EditingDomain editingDomain,
ISelection selection,
java.lang.Object descriptor)
This constructs an instance of an action that uses the given editing domain to create a sibling
specified by
descriptor . |
CreateSiblingAction(IEditorPart editorPart,
ISelection selection,
java.lang.Object descriptor)
This constructor is simply retained for binary compatibility.
|
CreateSiblingAction(IWorkbenchPart workbenchPart,
ISelection selection,
java.lang.Object descriptor)
This constructs an instance of an action that uses the workbench part's editing domain to create a sibling
specified by
descriptor . |
Modifier and Type | Method and Description |
---|---|
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<?>) . |
configureAction, disable, getDefaultImageDescriptor, objectToImageDescriptor, run
protected java.lang.Object descriptor
public CreateSiblingAction(IWorkbenchPart workbenchPart, ISelection selection, java.lang.Object descriptor)
descriptor
.public CreateSiblingAction(IEditorPart editorPart, ISelection selection, java.lang.Object descriptor)
new form
.public CreateSiblingAction(EditingDomain editingDomain, ISelection selection, java.lang.Object descriptor)
descriptor
.protected Command createActionCommand(EditingDomain editingDomain, java.util.Collection<?> collection)
StaticSelectionCommandAction.createActionCommand(org.eclipse.emf.edit.domain.EditingDomain, java.util.Collection<?>)
.createActionCommand
in class StaticSelectionCommandAction