org.eclipse.gmt.umlx.editor.regimes
Class GSheetLinkRegimeCo0<SM extends GSheetNode,LM extends GSheetLink,TM extends GSheetNode,P extends GSheet>

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.regimes.GSheetLinkRegimeCo0<SM,LM,TM,P>
All Implemented Interfaces:
ILinkRegimeCo0<SM,LM,TM,P>, ILinkRegimeEnums, IRegime, IRegimeCo0<LM,P>, IClassExtension
Direct Known Subclasses:
GStickyLinkRegime

public abstract class GSheetLinkRegimeCo0<SM extends GSheetNode,LM extends GSheetLink,TM extends GSheetNode,P extends GSheet>
extends AbstractLinkRegimeCo0<SM,LM,TM,P>


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.gmt.umlx.editor.regime.ILinkRegimeEnums
ILinkRegimeEnums.IsCreate, ILinkRegimeEnums.IsReconnect, ILinkRegimeEnums.IsReCreate
 
Method Summary
 void createFacets(java.util.List<IFacet<? super LM>> facetList)
           
 java.util.List<org.eclipse.draw2d.Bendpoint> getBendpoints(java.lang.Object model)
           
 SM getSource0(LM model)
           
 java.util.List<? super LM> getSourceConnections(java.lang.Object target)
           
 TM getTarget0(LM model)
           
 java.util.List<? super LM> getTargetConnections(java.lang.Object target)
           
 
Methods inherited from class org.eclipse.gmt.umlx.editor.regime.AbstractLinkRegimeCo0
addConnection, canBeReversed, cannotConnectBetween, cannotConnectFrom, cannotConnectTo, createCreateCommand, createFigure, createLinkEnd, createModelObject, createReconnectCommand, getActualConnection, getActualConnectionsBetween, getCoCoModelsFor, getCoRegime, getPotentialCoConnection, getPotentialCoConnectionsBetween, getPotentialConnection, getPotentialConnectionsBetween, getSource, getSourceLinkEnd, getSourceModelClass, getSourceNode, getTarget, getTargetLinkEnd, getTargetModelClass, getTargetNode, isContainment, isLink, isRegimeCo1, isRegimeCo2, removeConnection, resolveRegime, sourceIsOptional, targetIsOptional
 
Methods inherited from class org.eclipse.gmt.umlx.editor.regime.AbstractRegime
canCopy, canDelete, computeProblemMessage, createCreateChildLinkCommand, createCreateCommand, createDeleteCommand, createModelObject, createOutline, createPropertySource, 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, createOutline, createPropertySource, 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, getIcon, getLabel, getNewNamePrefix, getSheetClass
 
Methods inherited from interface org.eclipse.gmt.umlx.utils.IClassExtension
getBasicClass, toDebugString, toUserString
 

Method Detail

getBendpoints

public java.util.List<org.eclipse.draw2d.Bendpoint> getBendpoints(java.lang.Object model)
Specified by:
getBendpoints in interface ILinkRegimeCo0<SM extends GSheetNode,LM extends GSheetLink,TM extends GSheetNode,P extends GSheet>
Overrides:
getBendpoints in class AbstractLinkRegimeCo0<SM extends GSheetNode,LM extends GSheetLink,TM extends GSheetNode,P extends GSheet>

createFacets

public void createFacets(java.util.List<IFacet<? super LM>> facetList)
Overrides:
createFacets in class AbstractLinkRegimeCo0<SM extends GSheetNode,LM extends GSheetLink,TM extends GSheetNode,P extends GSheet>

getSource0

public SM getSource0(LM model)
Specified by:
getSource0 in interface ILinkRegimeCo0<SM extends GSheetNode,LM extends GSheetLink,TM extends GSheetNode,P extends GSheet>
Specified by:
getSource0 in class AbstractLinkRegimeCo0<SM extends GSheetNode,LM extends GSheetLink,TM extends GSheetNode,P extends GSheet>

getSourceConnections

public java.util.List<? super LM> getSourceConnections(java.lang.Object target)
Specified by:
getSourceConnections in interface ILinkRegimeCo0<SM extends GSheetNode,LM extends GSheetLink,TM extends GSheetNode,P extends GSheet>
Overrides:
getSourceConnections in class AbstractLinkRegimeCo0<SM extends GSheetNode,LM extends GSheetLink,TM extends GSheetNode,P extends GSheet>

getTarget0

public TM getTarget0(LM model)
Specified by:
getTarget0 in interface ILinkRegimeCo0<SM extends GSheetNode,LM extends GSheetLink,TM extends GSheetNode,P extends GSheet>
Specified by:
getTarget0 in class AbstractLinkRegimeCo0<SM extends GSheetNode,LM extends GSheetLink,TM extends GSheetNode,P extends GSheet>

getTargetConnections

public java.util.List<? super LM> getTargetConnections(java.lang.Object target)
Specified by:
getTargetConnections in interface ILinkRegimeCo0<SM extends GSheetNode,LM extends GSheetLink,TM extends GSheetNode,P extends GSheet>
Overrides:
getTargetConnections in class AbstractLinkRegimeCo0<SM extends GSheetNode,LM extends GSheetLink,TM extends GSheetNode,P extends GSheet>