org.eclipse.gmt.umlx.mm.editor.regimes
Class EParameterRegime
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>
org.eclipse.gmt.umlx.editor.regimes.ETypedElementRegime<org.eclipse.emf.ecore.EParameter,org.eclipse.emf.ecore.EOperation>
org.eclipse.gmt.umlx.mm.editor.regimes.EParameterRegime
- All Implemented Interfaces:
- INodeRegimeCo0<org.eclipse.emf.ecore.EParameter,org.eclipse.emf.ecore.EOperation>, IRegime, IRegimeCo0<org.eclipse.emf.ecore.EParameter,org.eclipse.emf.ecore.EOperation>, IClassExtension
public class EParameterRegime
- extends ETypedElementRegime<org.eclipse.emf.ecore.EParameter,org.eclipse.emf.ecore.EOperation>
Methods inherited from class org.eclipse.gmt.umlx.editor.regime.AbstractRegime |
canCopy, canDelete, computeProblemMessage, createCreateChildLinkCommand, createCreateCommand, createDeleteCommand, createLinkEnd, getBackElement, getBasicClass, getCoModel, getCoModelClass, getCoModelParentClass, getFacets, getModelClass, 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, 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, getSheetClass, getSource, getSourceModelClass, getTarget, getTargetModelClass |
INSTANCE
public static final EParameterRegime INSTANCE
createModelObject
public org.eclipse.emf.ecore.EParameter 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<org.eclipse.emf.ecore.EParameter,org.eclipse.emf.ecore.EOperation>
- Overrides:
createModelObject
in class ENamedElementRegime<org.eclipse.emf.ecore.EParameter,org.eclipse.emf.ecore.EOperation>
createPropertySource
public AbstractPropertySource createPropertySource(org.eclipse.emf.ecore.EParameter model)
- Specified by:
createPropertySource
in interface IRegimeCo0<org.eclipse.emf.ecore.EParameter,org.eclipse.emf.ecore.EOperation>
- Overrides:
createPropertySource
in class ENamedElementRegime<org.eclipse.emf.ecore.EParameter,org.eclipse.emf.ecore.EOperation>
createOutline
public AbstractOutline createOutline(OutlineViewer viewer,
org.eclipse.emf.ecore.EParameter model)
- Specified by:
createOutline
in interface IRegimeCo0<org.eclipse.emf.ecore.EParameter,org.eclipse.emf.ecore.EOperation>
- Overrides:
createOutline
in class AbstractRegime<org.eclipse.emf.ecore.EParameter,org.eclipse.emf.ecore.EOperation>
getIcon
public java.lang.Enum getIcon()
- Description copied from interface:
IRegime
- Return the icon to be shown in the construction context (the Palette for
GCore objects, the Outline for ECore objects).
- Returns:
- the icon
getLabel
public java.lang.String getLabel()
- Description copied from interface:
IRegime
- Return a descriptive label for the managed object type
- Returns:
- label
getNewNamePrefix
public java.lang.String getNewNamePrefix()
- Description copied from interface:
IRegime
- Return a prefix for autogenerated names.
- Specified by:
getNewNamePrefix
in interface IRegime
- Overrides:
getNewNamePrefix
in class AbstractRegime<org.eclipse.emf.ecore.EParameter,org.eclipse.emf.ecore.EOperation>
- Returns:
- prefix