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

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.AbstractLinkRegimeCo1<SM,LM,TM,P,CM,CP>
                  extended by org.eclipse.gmt.umlx.editor.regimes.GSheetLinkRegimeCo1<SM,LM,TM,P,CM,CP>
                      extended by org.eclipse.gmt.umlx.editor.regimes.AbstractAutoGLinkRegime<GSheetNode,TxContextSheetLink,GSheetNode,TxContextSheet,E2Link,UTransformation>
                          extended by org.eclipse.gmt.umlx.tx.editor.regimes.TxContextSheetLinkRegime
All Implemented Interfaces:
ILinkRegimeCo0<GSheetNode,TxContextSheetLink,GSheetNode,TxContextSheet>, ILinkRegimeCo1<GSheetNode,TxContextSheetLink,GSheetNode,TxContextSheet,E2Link,UTransformation>, ILinkRegimeEnums, IRegime, IRegimeCo0<TxContextSheetLink,TxContextSheet>, IRegimeCo1<TxContextSheetLink,TxContextSheet,E2Link,UTransformation>, IClassExtension

public class TxContextSheetLinkRegime
extends AbstractAutoGLinkRegime<GSheetNode,TxContextSheetLink,GSheetNode,TxContextSheet,E2Link,UTransformation>


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 TxContextSheetLinkRegime INSTANCE
           
 
Method Summary
 UContextSheetLinkRegime getCoRegime()
          Return the co-regime if it has one.
static org.eclipse.gef.palette.PaletteEntry getPaletteEntry()
           
 
Methods inherited from class org.eclipse.gmt.umlx.editor.regimes.AbstractAutoGLinkRegime
cannotConnectBetween, cannotConnectFrom, cannotConnectTo, getIcon, getLabel, getParentCoModel, resolveRegime
 
Methods inherited from class org.eclipse.gmt.umlx.editor.regimes.GSheetLinkRegimeCo1
cannotCoCreate, createFacets, createPropertySource, getBendpoints, getCoModel, getSheetClass, getSource0, getSourceConnections, getTarget0, getTargetConnections, removeConnection, setCoModel
 
Methods inherited from class org.eclipse.gmt.umlx.editor.regime.AbstractLinkRegimeCo1
canCoChange, coModelIsOptional, createChangeCoModelCommand, getCoModelClass, getCoModelFor, getCoModelParentClass, getParentCoModel, isLink, isNode, isRegimeCo1, isRegimeCo2, loadCoModelClass
 
Methods inherited from class org.eclipse.gmt.umlx.editor.regime.AbstractLinkRegimeCo0
addConnection, canBeReversed, createCreateCommand, createFigure, createLinkEnd, createModelObject, createReconnectCommand, getActualConnection, getActualConnectionsBetween, getCoCoModelsFor, getPotentialCoConnection, getPotentialCoConnectionsBetween, getPotentialConnection, getPotentialConnectionsBetween, getSource, getSourceLinkEnd, getSourceModelClass, getSourceNode, getTarget, getTargetLinkEnd, getTargetModelClass, getTargetNode, isContainment, sourceIsOptional, targetIsOptional
 
Methods inherited from class org.eclipse.gmt.umlx.editor.regime.AbstractRegime
canCopy, canDelete, computeProblemMessage, createCreateChildLinkCommand, createCreateCommand, createDeleteCommand, createModelObject, createOutline, createView, getBackElement, getBasicClass, getFacets, getModelClass, getNewNamePrefix, getParentModelClass, 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, createModelObject, createOutline, createView, getFacets, getModelClass, getParentModelClass, isRegimeCo0, refreshProblemMessage
 
Methods inherited from interface org.eclipse.gmt.umlx.editor.regime.IRegime
createCreateChildLinkCommand, createCreateCommand, createLinkEnd, getBackElement, getNewNamePrefix
 
Methods inherited from interface org.eclipse.gmt.umlx.utils.IClassExtension
getBasicClass, toDebugString, toUserString
 
Methods inherited from interface org.eclipse.gmt.umlx.editor.regime.ILinkRegimeCo0
addConnection, canBeReversed, createCreateCommand, createFigure, createModelObject, createReconnectCommand, getActualConnection, getActualConnectionsBetween, getCoCoModelsFor, getPotentialCoConnection, getPotentialConnection, getPotentialConnectionsBetween, getSource, getSourceLinkEnd, getSourceModelClass, getSourceNode, getTarget, getTargetLinkEnd, getTargetModelClass, getTargetNode, isContainment, sourceIsOptional, targetIsOptional
 
Methods inherited from interface org.eclipse.gmt.umlx.editor.regime.IRegimeCo0
canCopy, canDelete, computeProblemMessage, createDeleteCommand, createModelObject, createOutline, createView, getFacets, getModelClass, getParentModelClass, isRegimeCo0, refreshProblemMessage
 
Methods inherited from interface org.eclipse.gmt.umlx.editor.regime.IRegime
createCreateChildLinkCommand, createCreateCommand, createLinkEnd, getBackElement, getNewNamePrefix
 
Methods inherited from interface org.eclipse.gmt.umlx.utils.IClassExtension
getBasicClass, toDebugString, toUserString
 

Field Detail

INSTANCE

public static final TxContextSheetLinkRegime INSTANCE
Method Detail

getPaletteEntry

public static org.eclipse.gef.palette.PaletteEntry getPaletteEntry()

getCoRegime

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

Specified by:
getCoRegime in interface ILinkRegimeCo0<GSheetNode,TxContextSheetLink,GSheetNode,TxContextSheet>
Specified by:
getCoRegime in interface ILinkRegimeCo1<GSheetNode,TxContextSheetLink,GSheetNode,TxContextSheet,E2Link,UTransformation>
Specified by:
getCoRegime in interface IRegime
Specified by:
getCoRegime in interface IRegimeCo0<TxContextSheetLink,TxContextSheet>
Specified by:
getCoRegime in interface IRegimeCo1<TxContextSheetLink,TxContextSheet,E2Link,UTransformation>
Specified by:
getCoRegime in class AbstractLinkRegimeCo1<GSheetNode,TxContextSheetLink,GSheetNode,TxContextSheet,E2Link,UTransformation>
Returns:
co-regime class or null