org.eclipse.gmt.umlx.tx.editor.regimes
Class URelationInstanceRegime

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.regime.AbstractNodeRegimeCo1<M,URelation,CM,UTransformation>
                  extended by org.eclipse.gmt.umlx.tx.editor.regimes.UMappingInstanceRegime<URelationInstance,URelation>
                      extended by org.eclipse.gmt.umlx.tx.editor.regimes.URelationInstanceRegime
All Implemented Interfaces:
INodeRegimeCo0<URelationInstance,URelation>, INodeRegimeCo1<URelationInstance,URelation,URelation,UTransformation>, IRegime, IRegimeCo0<URelationInstance,URelation>, IRegimeCo1<URelationInstance,URelation,URelation,UTransformation>, IClassExtension

public class URelationInstanceRegime
extends UMappingInstanceRegime<URelationInstance,URelation>


Field Summary
static URelationInstanceRegime INSTANCE
           
 
Method Summary
 URelationInstance createModelObject()
          Create a new and uninitialised EMF object of the type managed by this regime.
 AbstractOutline createOutline(OutlineViewer viewer, URelationInstance coModel)
           
 EModelPropertySource<URelationInstance> createPropertySource(URelationInstance model)
           
 URelationRegime getCoRegime()
          Return the co-regime if it has one.
 java.lang.Enum getIcon()
          Return the icon to be shown in the construction context (the Palette for GCore objects, the Outline for ECore objects).
 
Methods inherited from class org.eclipse.gmt.umlx.tx.editor.regimes.UMappingInstanceRegime
getCoModel, getParentCoModel, setCoModel
 
Methods inherited from class org.eclipse.gmt.umlx.editor.regime.AbstractNodeRegimeCo1
canCoChange, coModelIsOptional, createChangeCoModelCommand, getCoModelClass, getCoModelFor, getCoModelFor, getCoModelParentClass, getLabel, isLink, isNode, isRegimeCo1, isRegimeCo2, loadCoModelClass
 
Methods inherited from class org.eclipse.gmt.umlx.editor.regime.AbstractNodeRegimeCo0
cannotCreate, createFigure
 
Methods inherited from class org.eclipse.gmt.umlx.editor.regime.AbstractRegime
canCopy, canDelete, computeProblemMessage, createCreateChildLinkCommand, createCreateCommand, createDeleteCommand, createFacets, createLinkEnd, createView, getBackElement, getBasicClass, getFacets, getModelClass, getNewNamePrefix, getParentModelClass, getSheetClass, getSource, getSourceModelClass, getTarget, getTargetModelClass, initialise, isRegimeCo0, load, refreshProblemMessage, 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, createView, getFacets, getModelClass, getParentModelClass, isRegimeCo0, refreshProblemMessage
 
Methods inherited from interface org.eclipse.gmt.umlx.editor.regime.IRegime
createCreateChildLinkCommand, createCreateCommand, createLinkEnd, getBackElement, getNewNamePrefix, getSheetClass, getSource, getSourceModelClass, getTarget, getTargetModelClass
 
Methods inherited from interface org.eclipse.gmt.umlx.utils.IClassExtension
getBasicClass, toDebugString, toUserString
 
Methods inherited from interface org.eclipse.gmt.umlx.editor.regime.INodeRegimeCo0
cannotCreate, createFigure
 
Methods inherited from interface org.eclipse.gmt.umlx.editor.regime.IRegimeCo0
canCopy, canDelete, computeProblemMessage, createDeleteCommand, createView, getFacets, getModelClass, getParentModelClass, isRegimeCo0, refreshProblemMessage
 
Methods inherited from interface org.eclipse.gmt.umlx.editor.regime.IRegime
createCreateChildLinkCommand, createCreateCommand, createLinkEnd, getBackElement, 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 URelationInstanceRegime INSTANCE
Method Detail

createModelObject

public URelationInstance 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<URelationInstance,URelation>
Overrides:
createModelObject in class AbstractRegime<URelationInstance,URelation>

createOutline

public AbstractOutline createOutline(OutlineViewer viewer,
                                     URelationInstance coModel)
Specified by:
createOutline in interface IRegimeCo0<URelationInstance,URelation>
Overrides:
createOutline in class AbstractRegime<URelationInstance,URelation>

createPropertySource

public EModelPropertySource<URelationInstance> createPropertySource(URelationInstance model)
Specified by:
createPropertySource in interface IRegimeCo0<URelationInstance,URelation>
Overrides:
createPropertySource in class UMappingInstanceRegime<URelationInstance,URelation>

getCoRegime

public URelationRegime getCoRegime()
Description copied from interface: IRegime
Return the co-regime if it has one.

Specified by:
getCoRegime in interface INodeRegimeCo1<URelationInstance,URelation,URelation,UTransformation>
Specified by:
getCoRegime in interface IRegime
Specified by:
getCoRegime in interface IRegimeCo0<URelationInstance,URelation>
Specified by:
getCoRegime in interface IRegimeCo1<URelationInstance,URelation,URelation,UTransformation>
Specified by:
getCoRegime in class AbstractNodeRegimeCo1<URelationInstance,URelation,URelation,UTransformation>
Returns:
co-regime class or null

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