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

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<GElement,org.eclipse.emf.common.notify.Notifier>
              extended by org.eclipse.gmt.umlx.editor.regimes.GDummyRegime
All Implemented Interfaces:
INodeRegimeCo0<GElement,org.eclipse.emf.common.notify.Notifier>, IRegime, IRegimeCo0<GElement,org.eclipse.emf.common.notify.Notifier>, IClassExtension

public class GDummyRegime
extends AbstractNodeRegimeCo0<GElement,org.eclipse.emf.common.notify.Notifier>


Field Summary
static GDummyRegime INSTANCE
           
 
Method Summary
 AbstractOutline createOutline(OutlineViewer viewer, GElement modelObject)
           
 DummyView createView(SheetViewer viewer, GElement 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
canCopy, canDelete, computeProblemMessage, createCreateChildLinkCommand, createCreateCommand, createDeleteCommand, createFacets, createLinkEnd, createModelObject, createPropertySource, 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, createModelObject, createPropertySource, 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 GDummyRegime INSTANCE
Method Detail

createView

public DummyView createView(SheetViewer viewer,
                            GElement model)
Specified by:
createView in interface IRegimeCo0<GElement,org.eclipse.emf.common.notify.Notifier>
Overrides:
createView in class AbstractRegime<GElement,org.eclipse.emf.common.notify.Notifier>

createOutline

public AbstractOutline createOutline(OutlineViewer viewer,
                                     GElement modelObject)
Specified by:
createOutline in interface IRegimeCo0<GElement,org.eclipse.emf.common.notify.Notifier>
Overrides:
createOutline in class AbstractRegime<GElement,org.eclipse.emf.common.notify.Notifier>

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