org.eclipse.gmt.umlx.editor.regimes
Class GDummyRegime
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<GElement,org.eclipse.emf.common.notify.Notifier>
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>
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 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 |
INSTANCE
public static final GDummyRegime INSTANCE
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