org.eclipse.gmt.umlx.editor.regimes
Class ENamedElementRegime<M extends org.eclipse.emf.ecore.ENamedElement,P extends org.eclipse.emf.common.notify.Notifier>
java.lang.Object
org.eclipse.gmt.umlx.utils.ClassExtension<M>
org.eclipse.gmt.umlx.editor.regime.AbstractRegime<M,P>
org.eclipse.gmt.umlx.editor.regime.AbstractNodeRegimeCo0<M,P>
org.eclipse.gmt.umlx.editor.regimes.ENamedElementRegime<M,P>
- All Implemented Interfaces:
- INodeRegimeCo0<M,P>, IRegime, IRegimeCo0<M,P>, IClassExtension
- Direct Known Subclasses:
- EClassifierRegime, EClassRegime, EDataTypeRegime, EEnumLiteralRegime, EEnumRegime, EPackageRegime, ETypedElementRegime, UEvolutionRegime, UExpressionRegime, UHelperRegime, UOCLConstraintRegime, UPreservationRegime, URelationRegime, USelfParameterRegime, UTransformationRegime, UTypedModelRegime
public abstract class ENamedElementRegime<M extends org.eclipse.emf.ecore.ENamedElement,P extends org.eclipse.emf.common.notify.Notifier>
- extends AbstractNodeRegimeCo0<M,P>
Methods inherited from class org.eclipse.gmt.umlx.editor.regime.AbstractRegime |
canCopy, canDelete, computeProblemMessage, createCreateChildLinkCommand, createCreateCommand, createDeleteCommand, createLinkEnd, createOutline, getBackElement, getBasicClass, getCoModel, getCoModelClass, getCoModelParentClass, getFacets, getModelClass, getNewNamePrefix, getParentModelClass, getSheetClass, getSource, getSourceModelClass, getTarget, getTargetModelClass, initialise, isLink, isRegimeCo0, load, refreshProblemMessage, setCoModel, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.gmt.umlx.editor.regime.IRegimeCo0 |
canCopy, canDelete, computeProblemMessage, createDeleteCommand, createOutline, getFacets, getModelClass, getParentModelClass, isLink, isRegimeCo0, refreshProblemMessage, setCoModel |
Methods inherited from interface org.eclipse.gmt.umlx.editor.regime.IRegime |
createCreateChildLinkCommand, createCreateCommand, createLinkEnd, getBackElement, getCoModel, getCoModelClass, getCoModelParentClass, getIcon, getLabel, getNewNamePrefix, getSheetClass, getSource, getSourceModelClass, getTarget, getTargetModelClass |
createFacets
public void createFacets(java.util.List<IFacet<? super M>> facetList)
- Overrides:
createFacets
in class AbstractRegime<M extends org.eclipse.emf.ecore.ENamedElement,P extends org.eclipse.emf.common.notify.Notifier>
createModelObject
public M createModelObject()
- Description copied from interface:
IRegime
- Create a new and uninitialised EMF object of the type managed by this regime.
- Specified by:
createModelObject
in interface IRegime
- Specified by:
createModelObject
in interface IRegimeCo0<M extends org.eclipse.emf.ecore.ENamedElement,P extends org.eclipse.emf.common.notify.Notifier>
- Overrides:
createModelObject
in class AbstractRegime<M extends org.eclipse.emf.ecore.ENamedElement,P extends org.eclipse.emf.common.notify.Notifier>
createPropertySource
public AbstractPropertySource createPropertySource(M model)
- Specified by:
createPropertySource
in interface IRegimeCo0<M extends org.eclipse.emf.ecore.ENamedElement,P extends org.eclipse.emf.common.notify.Notifier>
- Overrides:
createPropertySource
in class AbstractRegime<M extends org.eclipse.emf.ecore.ENamedElement,P extends org.eclipse.emf.common.notify.Notifier>
createView
public org.eclipse.gef.EditPart createView(SheetViewer viewer,
M model)
- Specified by:
createView
in interface IRegimeCo0<M extends org.eclipse.emf.ecore.ENamedElement,P extends org.eclipse.emf.common.notify.Notifier>
- Overrides:
createView
in class AbstractRegime<M extends org.eclipse.emf.ecore.ENamedElement,P extends org.eclipse.emf.common.notify.Notifier>