Class NewReferenceAction
- 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.NewReferenceAction
-
- All Implemented Interfaces:
org.eclipse.jface.action.IAction
public class NewReferenceAction extends ECPSWTAction
An Action for adding reference links to a model element. It is mainly used in theReferenceMultiControl
- Since:
- 1.5
- Author:
- shterev, Eugen Neufeld
-
-
Constructor Summary
Constructors Constructor Description NewReferenceAction(org.eclipse.emf.edit.domain.EditingDomain editingDomain, org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature structuralFeature, EMFFormsEditSupport editSupport, EMFFormsLabelProvider labelProvider, ReferenceService referenceService, ReportService reportService, VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject domainModel)
The constructor for a new reference action.NewReferenceAction(org.eclipse.emf.edit.domain.EditingDomain editingDomain, org.eclipse.emf.ecore.EStructuralFeature.Setting setting, EMFFormsEditSupport editSupport, EMFFormsLabelProvider labelProvider, ReferenceService referenceService, ReportService reportService, VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject domainModel)
The constructor for a new 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
-
NewReferenceAction
public NewReferenceAction(org.eclipse.emf.edit.domain.EditingDomain editingDomain, org.eclipse.emf.ecore.EStructuralFeature.Setting setting, EMFFormsEditSupport editSupport, EMFFormsLabelProvider labelProvider, ReferenceService referenceService, ReportService reportService, VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject domainModel)
The constructor for a new reference action.- Parameters:
editingDomain
- theEditingDomain
to usesetting
- theEStructuralFeature.Setting
to useeditSupport
- theEMFFormsEditSupport
to uselabelProvider
- theEMFFormsLabelProvider
to usereferenceService
- theReferenceService
to usereportService
- theReportService
to usedomainModelReference
- theVDomainModelReference
to usedomainModel
- the domain model of the givenVDomainModelReference
- Since:
- 1.6
-
NewReferenceAction
public NewReferenceAction(org.eclipse.emf.edit.domain.EditingDomain editingDomain, org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature structuralFeature, EMFFormsEditSupport editSupport, EMFFormsLabelProvider labelProvider, ReferenceService referenceService, ReportService reportService, VDomainModelReference domainModelReference, org.eclipse.emf.ecore.EObject domainModel)
The constructor for a new reference action.- Parameters:
editingDomain
- TheEditingDomain
to useeObject
- TheEObject
to usestructuralFeature
- TheEStructuralFeature
defining which feature of theEObject
is usededitSupport
- TheEMFFormsEditSupport
to uselabelProvider
- theEMFFormsLabelProvider
to usereferenceService
- TheReferenceService
to usereportService
- TheReportService
to usedomainModelReference
- theVDomainModelReference
to usedomainModel
- the domain model of the givenVDomainModelReference
- Since:
- 1.6
-
-