public class DeleteAction extends CommandActionHandler
RemoveCommand or DeleteCommand.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
removeAllReferences
Whether the action should clean up all references to deleted objects.
|
command, domain| Constructor and Description |
|---|
DeleteAction() |
DeleteAction(boolean removeAllReferences) |
DeleteAction(EditingDomain domain) |
DeleteAction(EditingDomain domain,
boolean removeAllReferences) |
| Modifier and Type | Method and Description |
|---|---|
Command |
createCommand(java.util.Collection<?> selection)
This default implementation simply returns
UnexecutableCommand.INSTANCE. |
void |
setActiveEditor(IEditorPart editorPart)
Deprecated.
As of EMF 2.1.0, replaced by
setActiveWorkbenchPart(IWorkbenchPart). |
void |
setActiveWorkbenchPart(IWorkbenchPart workbenchPart) |
getEditingDomain, run, setEditingDomain, updateSelectionprotected boolean removeAllReferences
public DeleteAction(EditingDomain domain, boolean removeAllReferences)
public DeleteAction(EditingDomain domain)
public DeleteAction(boolean removeAllReferences)
public DeleteAction()
public Command createCommand(java.util.Collection<?> selection)
CommandActionHandlerUnexecutableCommand.INSTANCE.createCommand in class CommandActionHandler@Deprecated public void setActiveEditor(IEditorPart editorPart)
setActiveWorkbenchPart(IWorkbenchPart).public void setActiveWorkbenchPart(IWorkbenchPart workbenchPart)