Class DeleteElementAction
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.jface.action.AbstractAction
-
- org.eclipse.jface.action.Action
-
- org.eclipse.gmf.runtime.common.ui.action.AbstractActionHandler
-
- org.eclipse.gmf.runtime.diagram.ui.actions.DiagramAction
-
- org.eclipse.gmf.runtime.diagram.ui.actions.AbstractDeleteFromAction
-
- org.modelversioning.emfprofile.diagram.part.DeleteElementAction
-
- All Implemented Interfaces:
IOperationHistoryListener
,org.eclipse.gef.Disposable
,org.eclipse.gmf.runtime.common.ui.action.IActionWithProgress
,org.eclipse.gmf.runtime.common.ui.action.IDisposableAction
,IAction
,ISelectionChangedListener
,IPropertyListener
public class DeleteElementAction extends org.eclipse.gmf.runtime.diagram.ui.actions.AbstractDeleteFromAction
- Generated class or method.
-
-
Field Summary
-
Fields inherited from interface org.eclipse.jface.action.IAction
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, HANDLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT
-
-
Constructor Summary
Constructors Constructor Description DeleteElementAction(IWorkbenchPage workbenchPage)
DeleteElementAction(IWorkbenchPart part)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.gef.commands.Command
getCommand(org.eclipse.gef.Request request)
protected String
getCommandLabel()
void
init()
-
Methods inherited from class org.eclipse.gmf.runtime.diagram.ui.actions.AbstractDeleteFromAction
createTargetRequest, getDestroyElementRequest, getEditingDomain, isSelectionListener, updateTargetRequest
-
Methods inherited from class org.eclipse.gmf.runtime.diagram.ui.actions.DiagramAction
calculateEnabled, clearTargetRequest, createOperationSet, dispose, doRun, execute, filterEditPartsMatching, getCommand, getDiagramCommandStack, getDiagramEditDomain, getDiagramEditPart, getDiagramGraphicalViewer, getDiagramWorkbenchPart, getMouseLocation, getOperationSet, getPreferencesHint, getSelectedObjects, getTargetEditParts, getTargetRequest, refresh, setTargetRequest
-
Methods inherited from class org.eclipse.gmf.runtime.common.ui.action.AbstractActionHandler
contributedToPart, getActionManager, getLabel, getOperationHistory, getPartListener, getSelection, getStructuredSelection, getUndoContext, getWorkbenchPage, getWorkbenchPart, getWorkIndicatorType, handle, historyNotification, isDisposed, isOperationHistoryListener, isPropertyListener, isRunnable, isSetup, needsSetup, openErrorDialog, propertyChanged, run, run, runWithEvent, selectionChanged, setDisposed, setPartSelector, setSetup, setup, setWorkbenchPart
-
Methods inherited from class org.eclipse.jface.action.Action
convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
-
Methods inherited from class org.eclipse.jface.action.AbstractAction
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener
-
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.jface.action.IAction
addPropertyChangeListener, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, removePropertyChangeListener, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
-
-
-
-
Constructor Detail
-
DeleteElementAction
public DeleteElementAction(IWorkbenchPart part)
- Generated class or method.
-
DeleteElementAction
public DeleteElementAction(IWorkbenchPage workbenchPage)
- Generated class or method.
-
-
Method Detail
-
init
public void init()
- Specified by:
init
in interfaceorg.eclipse.gmf.runtime.common.ui.action.IDisposableAction
- Overrides:
init
in classorg.eclipse.gmf.runtime.common.ui.action.AbstractActionHandler
- Generated class or method.
-
getCommandLabel
protected String getCommandLabel()
- Overrides:
getCommandLabel
in classorg.eclipse.gmf.runtime.diagram.ui.actions.DiagramAction
- Generated class or method.
-
getCommand
protected org.eclipse.gef.commands.Command getCommand(org.eclipse.gef.Request request)
- Overrides:
getCommand
in classorg.eclipse.gmf.runtime.diagram.ui.actions.DiagramAction
- Generated class or method.
-
-