org.eclipse.gmt.umlx.editor.regimes
Class OrphanageRegime

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<Orphanage,org.eclipse.emf.ecore.resource.ResourceSet>
              extended by org.eclipse.gmt.umlx.editor.regimes.OrphanageRegime
All Implemented Interfaces:
INodeRegimeCo0<Orphanage,org.eclipse.emf.ecore.resource.ResourceSet>, IRegime, IRegimeCo0<Orphanage,org.eclipse.emf.ecore.resource.ResourceSet>, IClassExtension

public class OrphanageRegime
extends AbstractNodeRegimeCo0<Orphanage,org.eclipse.emf.ecore.resource.ResourceSet>


Field Summary
static OrphanageRegime INSTANCE
           
 
Method Summary
 boolean canCopy(IRegimeContext regimeContext, Orphanage selectedObject)
           
 boolean canDelete(IRegimeContext regimeContext, Orphanage selectedObject)
           
 AbstractOutline createOutline(OutlineViewer viewer, Orphanage model)
           
 AbstractPropertySource createPropertySource(Orphanage 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.regime.AbstractNodeRegimeCo0
cannotCreate, createFigure, getCoRegime, isNode, isRegimeCo1, isRegimeCo2
 
Methods inherited from class org.eclipse.gmt.umlx.editor.regime.AbstractRegime
computeProblemMessage, createCreateChildLinkCommand, createCreateCommand, createDeleteCommand, createFacets, createLinkEnd, createModelObject, createView, 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
computeProblemMessage, createDeleteCommand, createModelObject, createView, 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 OrphanageRegime INSTANCE
Method Detail

canCopy

public boolean canCopy(IRegimeContext regimeContext,
                       Orphanage selectedObject)
Specified by:
canCopy in interface IRegimeCo0<Orphanage,org.eclipse.emf.ecore.resource.ResourceSet>
Overrides:
canCopy in class AbstractRegime<Orphanage,org.eclipse.emf.ecore.resource.ResourceSet>

canDelete

public boolean canDelete(IRegimeContext regimeContext,
                         Orphanage selectedObject)
Specified by:
canDelete in interface IRegimeCo0<Orphanage,org.eclipse.emf.ecore.resource.ResourceSet>
Overrides:
canDelete in class AbstractRegime<Orphanage,org.eclipse.emf.ecore.resource.ResourceSet>

createPropertySource

public AbstractPropertySource createPropertySource(Orphanage model)
Specified by:
createPropertySource in interface IRegimeCo0<Orphanage,org.eclipse.emf.ecore.resource.ResourceSet>
Overrides:
createPropertySource in class AbstractRegime<Orphanage,org.eclipse.emf.ecore.resource.ResourceSet>

createOutline

public AbstractOutline createOutline(OutlineViewer viewer,
                                     Orphanage model)
Specified by:
createOutline in interface IRegimeCo0<Orphanage,org.eclipse.emf.ecore.resource.ResourceSet>
Overrides:
createOutline in class AbstractRegime<Orphanage,org.eclipse.emf.ecore.resource.ResourceSet>

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