|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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.AddReferenceAction
public class AddReferenceAction
An Action for adding reference links to a model element. It is mainly used in the
MultiControl
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 | |
---|---|
AddReferenceAction(org.eclipse.emf.edit.domain.EditingDomain editingDomain,
org.eclipse.emf.ecore.EStructuralFeature.Setting setting,
org.eclipse.emf.edit.provider.IItemPropertyDescriptor itemPropertyDescriptor,
ReferenceService referenceService)
The constructor for the add reference action. |
Method Summary | |
---|---|
void |
run()
|
Methods inherited from class org.eclipse.emf.ecp.edit.spi.swt.actions.ECPSWTAction |
---|
equals, getEditingDomain, 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, removePropertyChangeListener |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AddReferenceAction(org.eclipse.emf.edit.domain.EditingDomain editingDomain, org.eclipse.emf.ecore.EStructuralFeature.Setting setting, org.eclipse.emf.edit.provider.IItemPropertyDescriptor itemPropertyDescriptor, ReferenceService referenceService)
editingDomain
- the EditingDomain
to usesetting
- the EStructuralFeature.Setting
to useitemPropertyDescriptor
- the property descriptorreferenceService
- the ReferenceService
Method Detail |
---|
public void run()
run
in interface org.eclipse.jface.action.IAction
run
in class org.eclipse.jface.action.Action
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |