public class AddEClassifierOnlyEDataTypeReferenceAction extends AddEClassifierReferenceAction
EClassifier
which is an EDataType
. Will be used for editing the type of an
EAttribute
.Constructor and Description |
---|
AddEClassifierOnlyEDataTypeReferenceAction(org.eclipse.emf.edit.domain.EditingDomain editingDomain,
org.eclipse.emf.ecore.EStructuralFeature.Setting setting,
org.eclipse.emf.edit.provider.IItemPropertyDescriptor itemPropertyDescriptor,
ReferenceService referenceService,
Set<org.eclipse.emf.ecore.EPackage> packages)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Set<org.eclipse.emf.ecore.EClassifier> |
getEClassifiersFromRegistry(Set<org.eclipse.emf.ecore.EPackage> ePackages)
Extracts the
EClassifier s from the registry. |
run
equals, getEditingDomain, getSetting, hashCode
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
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener
public AddEClassifierOnlyEDataTypeReferenceAction(org.eclipse.emf.edit.domain.EditingDomain editingDomain, org.eclipse.emf.ecore.EStructuralFeature.Setting setting, org.eclipse.emf.edit.provider.IItemPropertyDescriptor itemPropertyDescriptor, ReferenceService referenceService, Set<org.eclipse.emf.ecore.EPackage> packages)
editingDomain
- the EditingDomain
to usesetting
- the EStructuralFeature.Setting
to useitemPropertyDescriptor
- the IItemPropertyDescriptor
to usereferenceService
- the ReferenceService
to usepackages
- the EPackage
s to useprotected Set<org.eclipse.emf.ecore.EClassifier> getEClassifiersFromRegistry(Set<org.eclipse.emf.ecore.EPackage> ePackages)
EClassifier
s from the registry.getEClassifiersFromRegistry
in class AddEClassifierReferenceAction
ePackages
- the EPackage
s to extract the classifiers fromorg.eclipse.emf.ecp.edit.ecore.swt.internal.AddEClassifierReferenceAction#getEClassifiersFromRegistry()
Copyright © 2019. All rights reserved.