org.eclipse.gmt.umlx.mm.editor.regimes
Class EClassifierRegime

java.lang.Object
  extended by org.eclipse.gmt.umlx.utils.ClassExtension<M>
      extended by org.eclipse.gmt.umlx.editor.regime.AbstractRegime<M,P>
          extended by org.eclipse.gmt.umlx.editor.regime.AbstractNodeRegimeCo0<M,P>
              extended by org.eclipse.gmt.umlx.editor.regimes.ENamedElementRegime<org.eclipse.emf.ecore.EClassifier,org.eclipse.emf.ecore.EPackage>
                  extended by org.eclipse.gmt.umlx.mm.editor.regimes.EClassifierRegime
All Implemented Interfaces:
INodeRegimeCo0<org.eclipse.emf.ecore.EClassifier,org.eclipse.emf.ecore.EPackage>, IRegime, IRegimeCo0<org.eclipse.emf.ecore.EClassifier,org.eclipse.emf.ecore.EPackage>, IClassExtension

public class EClassifierRegime
extends ENamedElementRegime<org.eclipse.emf.ecore.EClassifier,org.eclipse.emf.ecore.EPackage>


Field Summary
static EClassifierRegime INSTANCE
           
 
Method Summary
 AbstractPropertySource createPropertySource(org.eclipse.emf.ecore.EClassifier model)
           
 java.lang.Enum getIcon()
          Return the icon to be shown in the construction context (the Palette for GCore objects, the Outline for ECore objects).
 java.lang.String getLabel()
          Return a descriptive label for the managed object type
 
Methods inherited from class org.eclipse.gmt.umlx.editor.regimes.ENamedElementRegime
createFacets, createModelObject, createView
 
Methods inherited from class org.eclipse.gmt.umlx.editor.regime.AbstractNodeRegimeCo0
cannotCreate, createFigure, getCoRegime, isNode, isRegimeCo1, isRegimeCo2
 
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 org.eclipse.gmt.umlx.utils.ClassExtension
toDebugString, toUserString
 
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, getNewNamePrefix, getSheetClass, getSource, getSourceModelClass, getTarget, getTargetModelClass
 
Methods inherited from interface org.eclipse.gmt.umlx.utils.IClassExtension
getBasicClass, toDebugString, toUserString
 

Field Detail

INSTANCE

public static final EClassifierRegime INSTANCE
Method Detail

createPropertySource

public AbstractPropertySource createPropertySource(org.eclipse.emf.ecore.EClassifier model)
Specified by:
createPropertySource in interface IRegimeCo0<org.eclipse.emf.ecore.EClassifier,org.eclipse.emf.ecore.EPackage>
Overrides:
createPropertySource in class ENamedElementRegime<org.eclipse.emf.ecore.EClassifier,org.eclipse.emf.ecore.EPackage>

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