org.eclipse.gmt.umlx.editor.regime
Interface ILinkRegimeCo2<SM extends org.eclipse.emf.ecore.EObject,LM,TM extends org.eclipse.emf.ecore.EObject,P,CM,CP>

All Superinterfaces:
IClassExtension, ILinkRegimeCo0<SM,LM,TM,P>, ILinkRegimeCo1<SM,LM,TM,P,CM,CP>, ILinkRegimeEnums, IRegime, IRegimeCo0<LM,P>, IRegimeCo1<LM,P,CM,CP>, IRegimeCo2<LM,P,CM,CP>
All Known Implementing Classes:
AbstractLinkRegimeCo2, GSheetLinkRegimeCo2, TxClassVariable2TxAttributeVariableRegime, TxClassVariable2TxClassVariableRegime

public interface ILinkRegimeCo2<SM extends org.eclipse.emf.ecore.EObject,LM,TM extends org.eclipse.emf.ecore.EObject,P,CM,CP>
extends IRegimeCo2<LM,P,CM,CP>, ILinkRegimeCo1<SM,LM,TM,P,CM,CP>


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.gmt.umlx.editor.regime.ILinkRegimeEnums
ILinkRegimeEnums.IsCreate, ILinkRegimeEnums.IsReconnect, ILinkRegimeEnums.IsReCreate
 
Method Summary
 IErrorMessage cannotCoCoCreate(IActiveEditDomain editDomain, java.lang.Object coModel, java.lang.Object parent)
           
 ILinkRegimeCo1<?,CM,?,CP,?,?> getCoRegime()
          Return the co-regime if it has one.
 
Methods inherited from interface org.eclipse.gmt.umlx.editor.regime.IRegimeCo2
canCoCoChange, getCoCoModelFor, getCoModelFor, isLink, isNode, loadCoCoModelClass
 
Methods inherited from interface org.eclipse.gmt.umlx.editor.regime.IRegimeCo1
canCoChange, coModelIsOptional, createChangeCoModelCommand, getCoModel, getCoModelClass, getCoModelFor, getParentCoModel, loadCoModelClass
 
Methods inherited from interface org.eclipse.gmt.umlx.editor.regime.IRegimeCo0
canCopy, canDelete, computeProblemMessage, createDeleteCommand, createModelObject, createOutline, createPropertySource, createView, getFacets, getModelClass, getParentModelClass, isRegimeCo0, refreshProblemMessage, setCoModel
 
Methods inherited from interface org.eclipse.gmt.umlx.editor.regime.IRegime
createCreateChildLinkCommand, createCreateCommand, createLinkEnd, getBackElement, getCoModelParentClass, getIcon, getLabel, getNewNamePrefix, getSheetClass
 
Methods inherited from interface org.eclipse.gmt.umlx.utils.IClassExtension
getBasicClass, toDebugString, toUserString
 
Methods inherited from interface org.eclipse.gmt.umlx.editor.regime.ILinkRegimeCo1
cannotCoCreate, getParentCoModel, isRegimeCo1, isRegimeCo2
 
Methods inherited from interface org.eclipse.gmt.umlx.editor.regime.IRegimeCo1
canCoChange, coModelIsOptional, createChangeCoModelCommand, getCoModel, getCoModelClass, getCoModelFor, getParentCoModel, loadCoModelClass
 
Methods inherited from interface org.eclipse.gmt.umlx.editor.regime.IRegimeCo0
canCopy, canDelete, computeProblemMessage, createDeleteCommand, createModelObject, createOutline, createPropertySource, createView, getFacets, getModelClass, getParentModelClass, isRegimeCo0, refreshProblemMessage, setCoModel
 
Methods inherited from interface org.eclipse.gmt.umlx.editor.regime.IRegime
createCreateChildLinkCommand, createCreateCommand, createLinkEnd, getBackElement, getCoModelParentClass, getIcon, getLabel, getNewNamePrefix, getSheetClass
 
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, cannotConnectBetween, cannotConnectFrom, cannotConnectTo, createCreateCommand, createFigure, createModelObject, createReconnectCommand, getActualConnection, getActualConnectionsBetween, getBendpoints, getCoCoModelsFor, getPotentialCoConnection, getPotentialConnection, getPotentialConnectionsBetween, getSource, getSource0, getSourceConnections, getSourceLinkEnd, getSourceModelClass, getSourceNode, getTarget, getTarget0, getTargetConnections, 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, createPropertySource, createView, getFacets, getModelClass, getParentModelClass, isRegimeCo0, refreshProblemMessage, setCoModel
 
Methods inherited from interface org.eclipse.gmt.umlx.editor.regime.IRegime
createCreateChildLinkCommand, createCreateCommand, createLinkEnd, getBackElement, getCoModelParentClass, getIcon, getLabel, getNewNamePrefix, getSheetClass
 
Methods inherited from interface org.eclipse.gmt.umlx.utils.IClassExtension
getBasicClass, toDebugString, toUserString
 

Method Detail

cannotCoCoCreate

IErrorMessage cannotCoCoCreate(IActiveEditDomain editDomain,
                               java.lang.Object coModel,
                               java.lang.Object parent)

getCoRegime

ILinkRegimeCo1<?,CM,?,CP,?,?> getCoRegime()
Description copied from interface: IRegime
Return the co-regime if it has one.

Specified by:
getCoRegime in interface ILinkRegimeCo0<SM extends org.eclipse.emf.ecore.EObject,LM,TM extends org.eclipse.emf.ecore.EObject,P>
Specified by:
getCoRegime in interface ILinkRegimeCo1<SM extends org.eclipse.emf.ecore.EObject,LM,TM extends org.eclipse.emf.ecore.EObject,P,CM,CP>
Specified by:
getCoRegime in interface IRegime
Specified by:
getCoRegime in interface IRegimeCo0<LM,P>
Specified by:
getCoRegime in interface IRegimeCo1<LM,P,CM,CP>
Specified by:
getCoRegime in interface IRegimeCo2<LM,P,CM,CP>
Returns:
co-regime class or null