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

java.lang.Object
  extended by org.eclipse.gmt.umlx.utils.ClassExtension<M>
      extended by org.eclipse.gmt.umlx.editor.regime.AbstractRegime<LM,P>
          extended by org.eclipse.gmt.umlx.editor.regime.AbstractLinkRegimeCo0<SM,LM,TM,P>
              extended by org.eclipse.gmt.umlx.editor.regime.AbstractTransientLinkCo0Regime<SM,LM,TM,P>
                  extended by org.eclipse.gmt.umlx.editor.regime.AbstractTransientReferenceLinkCo0Regime<UTransformation,UTransformation2UTransformation,UTransformation,Orphanage>
                      extended by org.eclipse.gmt.umlx.tx.editor.regimes.UTransformation2UTransformationRegime
All Implemented Interfaces:
ILinkRegimeCo0<UTransformation,UTransformation2UTransformation,UTransformation,Orphanage>, ILinkRegimeEnums, IRegime, IRegimeCo0<UTransformation2UTransformation,Orphanage>, IClassExtension

public class UTransformation2UTransformationRegime
extends AbstractTransientReferenceLinkCo0Regime<UTransformation,UTransformation2UTransformation,UTransformation,Orphanage>


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.gmt.umlx.editor.regime.ILinkRegimeEnums
ILinkRegimeEnums.IsCreate, ILinkRegimeEnums.IsReconnect, ILinkRegimeEnums.IsReCreate
 
Field Summary
static UTransformation2UTransformationRegime INSTANCE
           
 
Method Summary
 IErrorMessage cannotConnectBetween0(UTransformation extension, UTransformation base, CandidateLinks candidates, ILinkRegimeEnums.IsReconnect isReconnect)
           
 IErrorMessage cannotConnectFrom0(UTransformation source, UTransformation target, ILinkRegimeEnums.IsCreate isCreate)
           
 AbstractOutline createOutline(OutlineViewer viewer, UTransformation2UTransformation model)
           
 AbstractPropertySource createPropertySource(UTransformation2UTransformation coModel)
           
 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
 java.lang.Integer[] removeConnection(UTransformation source, UTransformation2UTransformation link, UTransformation target)
           
 
Methods inherited from class org.eclipse.gmt.umlx.editor.regime.AbstractTransientReferenceLinkCo0Regime
addConnection, isContainment
 
Methods inherited from class org.eclipse.gmt.umlx.editor.regime.AbstractTransientLinkCo0Regime
createModelObject, getActualConnectionsBetween0, getSource0, getTarget0
 
Methods inherited from class org.eclipse.gmt.umlx.editor.regime.AbstractLinkRegimeCo0
canBeReversed, cannotConnectBetween, cannotConnectFrom, cannotConnectTo, createCreateCommand, createFacets, createFigure, createLinkEnd, createReconnectCommand, getActualConnection, getActualConnectionsBetween, getBendpoints, getCoCoModelsFor, getCoRegime, getPotentialCoConnection, getPotentialCoConnectionsBetween, getPotentialConnection, getPotentialConnectionsBetween, getSource, getSourceConnections, getSourceLinkEnd, getSourceModelClass, getSourceNode, getTarget, getTargetConnections, getTargetLinkEnd, getTargetModelClass, getTargetNode, isLink, isRegimeCo1, isRegimeCo2, resolveRegime, sourceIsOptional, targetIsOptional
 
Methods inherited from class org.eclipse.gmt.umlx.editor.regime.AbstractRegime
canCopy, canDelete, computeProblemMessage, createCreateChildLinkCommand, createCreateCommand, createDeleteCommand, createModelObject, createView, getBackElement, getBasicClass, getCoModel, getCoModelClass, getCoModelParentClass, getFacets, getModelClass, getNewNamePrefix, getParentModelClass, getSheetClass, initialise, isNode, 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, createView, getFacets, getModelClass, getParentModelClass, isNode, isRegimeCo0, refreshProblemMessage, setCoModel
 
Methods inherited from interface org.eclipse.gmt.umlx.editor.regime.IRegime
createCreateChildLinkCommand, createCreateCommand, getBackElement, getCoModel, getCoModelClass, getCoModelParentClass, getNewNamePrefix, getSheetClass
 
Methods inherited from interface org.eclipse.gmt.umlx.utils.IClassExtension
getBasicClass, toDebugString, toUserString
 

Field Detail

INSTANCE

public static final UTransformation2UTransformationRegime INSTANCE
Method Detail

cannotConnectBetween0

public IErrorMessage cannotConnectBetween0(UTransformation extension,
                                           UTransformation base,
                                           CandidateLinks candidates,
                                           ILinkRegimeEnums.IsReconnect isReconnect)

cannotConnectFrom0

public IErrorMessage cannotConnectFrom0(UTransformation source,
                                        UTransformation target,
                                        ILinkRegimeEnums.IsCreate isCreate)
Overrides:
cannotConnectFrom0 in class AbstractTransientReferenceLinkCo0Regime<UTransformation,UTransformation2UTransformation,UTransformation,Orphanage>

createOutline

public AbstractOutline createOutline(OutlineViewer viewer,
                                     UTransformation2UTransformation model)
Specified by:
createOutline in interface IRegimeCo0<UTransformation2UTransformation,Orphanage>
Overrides:
createOutline in class AbstractRegime<UTransformation2UTransformation,Orphanage>

createPropertySource

public AbstractPropertySource createPropertySource(UTransformation2UTransformation coModel)
Specified by:
createPropertySource in interface IRegimeCo0<UTransformation2UTransformation,Orphanage>
Overrides:
createPropertySource in class AbstractRegime<UTransformation2UTransformation,Orphanage>

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

removeConnection

public java.lang.Integer[] removeConnection(UTransformation source,
                                            UTransformation2UTransformation link,
                                            UTransformation target)
Specified by:
removeConnection in interface ILinkRegimeCo0<UTransformation,UTransformation2UTransformation,UTransformation,Orphanage>
Specified by:
removeConnection in class AbstractTransientReferenceLinkCo0Regime<UTransformation,UTransformation2UTransformation,UTransformation,Orphanage>