Class DeleteReferenceAction
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.jface.action.AbstractAction
-
- org.eclipse.jface.action.Action
-
- org.eclipse.emf.ecp.edit.spi.swt.actions.ECPSWTAction
-
- org.eclipse.emf.ecp.edit.spi.swt.reference.DeleteReferenceAction
-
- All Implemented Interfaces:
org.eclipse.jface.action.IAction
public class DeleteReferenceAction extends ECPSWTAction
This action unsets a reference.- Since:
- 1.5
- Author:
- Eugen Neufeld
-
-
Constructor Summary
Constructors Constructor Description DeleteReferenceAction(org.eclipse.emf.edit.domain.EditingDomain editingDomain, org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature structuralFeature, ReferenceService referenceService)
The constructor for a delete reference action.DeleteReferenceAction(org.eclipse.emf.edit.domain.EditingDomain editingDomain, org.eclipse.emf.ecore.EStructuralFeature.Setting setting, ReferenceService referenceService)
The constructor for a delete reference action.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
-
Methods inherited from class org.eclipse.emf.ecp.edit.spi.swt.actions.ECPSWTAction
equals, getEditingDomain, getSetting, hashCode
-
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, runWithEvent, 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
-
-
-
-
Constructor Detail
-
DeleteReferenceAction
public DeleteReferenceAction(org.eclipse.emf.edit.domain.EditingDomain editingDomain, org.eclipse.emf.ecore.EStructuralFeature.Setting setting, ReferenceService referenceService)
The constructor for a delete reference action.- Parameters:
editingDomain
- theEditingDomain
to usesetting
- theEStructuralFeature.Setting
to usereferenceService
- theReferenceService
to use- Since:
- 1.6
-
DeleteReferenceAction
public DeleteReferenceAction(org.eclipse.emf.edit.domain.EditingDomain editingDomain, org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature structuralFeature, ReferenceService referenceService)
The constructor for a delete reference action.- Parameters:
editingDomain
- TheEditingDomain
to useeObject
- TheEObject
to usestructuralFeature
- TheEStructuralFeature
defining which feature of theEObject
is usedreferenceService
- TheReferenceService
to use- Since:
- 1.6
-
-