org.eclipse.gmt.umlx.editor.regimes
Class GSheetLinkRegimeCo2<SM extends GSheetNode,LM extends GSheetLink,TM extends GSheetNode,P extends GSheet,CM extends org.eclipse.emf.ecore.EModelElement,CP>
java.lang.Object
org.eclipse.gmt.umlx.utils.ClassExtension<M>
org.eclipse.gmt.umlx.editor.regime.AbstractRegime<LM,P>
org.eclipse.gmt.umlx.editor.regime.AbstractLinkRegimeCo0<SM,LM,TM,P>
org.eclipse.gmt.umlx.editor.regime.AbstractLinkRegimeCo1<SM,LM,TM,P,CM,CP>
org.eclipse.gmt.umlx.editor.regime.AbstractLinkRegimeCo2<SM,LM,TM,P,CM,CP>
org.eclipse.gmt.umlx.editor.regimes.GSheetLinkRegimeCo2<SM,LM,TM,P,CM,CP>
- All Implemented Interfaces:
- ILinkRegimeCo0<SM,LM,TM,P>, ILinkRegimeCo1<SM,LM,TM,P,CM,CP>, ILinkRegimeCo2<SM,LM,TM,P,CM,CP>, ILinkRegimeEnums, IRegime, IRegimeCo0<LM,P>, IRegimeCo1<LM,P,CM,CP>, IRegimeCo2<LM,P,CM,CP>, IClassExtension
- Direct Known Subclasses:
- TxClassVariable2TxAttributeVariableRegime, TxClassVariable2TxClassVariableRegime
public abstract class GSheetLinkRegimeCo2<SM extends GSheetNode,LM extends GSheetLink,TM extends GSheetNode,P extends GSheet,CM extends org.eclipse.emf.ecore.EModelElement,CP>
- extends AbstractLinkRegimeCo2<SM,LM,TM,P,CM,CP>
Methods inherited from class org.eclipse.gmt.umlx.editor.regime.AbstractLinkRegimeCo2 |
canCoCoChange, cannotCoCoCreate, getCoCoModelFor, getCoCoModelsFor, getCoRegime, getThisChangeContext, getThisCreateContext, isLink, isNode, isRegimeCo2, loadCoCoModelClass |
Methods inherited from class org.eclipse.gmt.umlx.editor.regime.AbstractLinkRegimeCo1 |
canCoChange, cannotCoCreate, coModelIsOptional, createChangeCoModelCommand, getCoModelClass, getCoModelFor, getCoModelParentClass, getParentCoModel, getParentCoModel, isRegimeCo1, loadCoModelClass |
Methods inherited from class org.eclipse.gmt.umlx.editor.regime.AbstractLinkRegimeCo0 |
addConnection, canBeReversed, cannotConnectBetween, cannotConnectFrom, cannotConnectTo, createCreateCommand, createFigure, createLinkEnd, createModelObject, createReconnectCommand, getActualConnection, getActualConnectionsBetween, getPotentialCoConnection, getPotentialCoConnectionsBetween, getPotentialConnection, getPotentialConnectionsBetween, getSource, getSourceLinkEnd, getSourceModelClass, getSourceNode, getTarget, getTargetLinkEnd, getTargetModelClass, getTargetNode, isContainment, removeConnection, resolveRegime, 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 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.IRegimeCo0 |
canCopy, canDelete, computeProblemMessage, createDeleteCommand, createModelObject, createOutline, createView, getFacets, getModelClass, getParentModelClass, isRegimeCo0, refreshProblemMessage |
Methods inherited from interface org.eclipse.gmt.umlx.editor.regime.ILinkRegimeCo0 |
addConnection, canBeReversed, cannotConnectBetween, cannotConnectFrom, cannotConnectTo, createCreateCommand, createFigure, createModelObject, createReconnectCommand, getActualConnection, getActualConnectionsBetween, getPotentialCoConnection, getPotentialConnection, getPotentialConnectionsBetween, getSource, getSourceLinkEnd, getSourceModelClass, getSourceNode, getTarget, getTargetLinkEnd, getTargetModelClass, getTargetNode, isContainment, removeConnection, resolveRegime, 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 |
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>
createPropertySource
public AbstractPropertySource createPropertySource(LM model)
- Specified by:
createPropertySource
in interface IRegimeCo0<LM extends GSheetLink,P extends GSheet>
- Overrides:
createPropertySource
in class AbstractRegime<LM extends GSheetLink,P extends GSheet>
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>
getCoModel
public CM getCoModel(java.lang.Object model)
- Description copied from interface:
IRegime
- Return the co-model of model if it has one.
- Specified by:
getCoModel
in interface IRegime
- Specified by:
getCoModel
in interface IRegimeCo1<LM extends GSheetLink,P extends GSheet,CM extends org.eclipse.emf.ecore.EModelElement,CP>
- Specified by:
getCoModel
in class AbstractLinkRegimeCo1<SM extends GSheetNode,LM extends GSheetLink,TM extends GSheetNode,P extends GSheet,CM extends org.eclipse.emf.ecore.EModelElement,CP>
- Parameters:
model
- model
- Returns:
- co-model or null
getCoModelFor
public java.lang.Object getCoModelFor(java.lang.Object coCoModel,
java.lang.Object parent)
- Description copied from interface:
IRegimeCo2
- Return the co-Model to be instantiated when coCoModel is being instantiated
for parent.
- Parameters:
coCoModel
- the co-co-model
- Returns:
- the co-model
getSheetClass
public java.lang.Class<? extends GSheet> getSheetClass()
- Description copied from interface:
IRegime
- Return the class of the sheet that this regime supports
- Specified by:
getSheetClass
in interface IRegime
- Overrides:
getSheetClass
in class AbstractRegime<LM extends GSheetLink,P extends GSheet>
- Returns:
- sheet class or null.
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>
setCoModel
public void setCoModel(LM model,
java.lang.Object coModel)
- Specified by:
setCoModel
in interface IRegimeCo0<LM extends GSheetLink,P extends GSheet>
- Specified by:
setCoModel
in class AbstractLinkRegimeCo1<SM extends GSheetNode,LM extends GSheetLink,TM extends GSheetNode,P extends GSheet,CM extends org.eclipse.emf.ecore.EModelElement,CP>