org.eclipse.gmt.umlx.editor.regime
Interface INodeRegimeCo2<M,P,CM,CP>

All Superinterfaces:
IClassExtension, INodeRegimeCo0<M,P>, INodeRegimeCo1<M,P,CM,CP>, IRegime, IRegimeCo0<M,P>, IRegimeCo1<M,P,CM,CP>, IRegimeCo2<M,P,CM,CP>
All Known Implementing Classes:
AbstractNodeRegimeCo2, GSheetNodeRegimeCo2, TxClassAttributeVariableRegime, TxClassVariableRegime, TxDomainRegime, TxEvolutionInstanceRegime, TxPreservationInstanceRegime, TxRelationInstanceRegime, TxSheetAttributeVariableRegime, TxSheetExpressionVariableRegime, TxVariableRegime

public interface INodeRegimeCo2<M,P,CM,CP>
extends IRegimeCo2<M,P,CM,CP>, INodeRegimeCo1<M,P,CM,CP>


Method Summary
 IErrorMessage cannotCoCoCreate(IActiveEditDomain editDomain, java.lang.Object coModel, java.lang.Object parent, org.eclipse.draw2d.geometry.Point loc)
           
 INodeRegimeCo1<CM,CP,?,?> getCoRegime()
          Return the co-regime if it has one.
 INodeRegimeCo2<M,P,CM,CP> isRegimeCo2()
          Return this non-null regime if it is suitable for use with two or more levels of co-model.
 
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, getSource, getSourceModelClass, getTarget, getTargetModelClass
 
Methods inherited from interface org.eclipse.gmt.umlx.utils.IClassExtension
getBasicClass, toDebugString, toUserString
 
Methods inherited from interface org.eclipse.gmt.umlx.editor.regime.INodeRegimeCo1
isRegimeCo1
 
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, getSource, getSourceModelClass, getTarget, getTargetModelClass
 
Methods inherited from interface org.eclipse.gmt.umlx.utils.IClassExtension
getBasicClass, toDebugString, toUserString
 
Methods inherited from interface org.eclipse.gmt.umlx.editor.regime.INodeRegimeCo0
cannotCreate, createFigure
 
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, getSource, getSourceModelClass, getTarget, getTargetModelClass
 
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,
                               org.eclipse.draw2d.geometry.Point loc)

getCoRegime

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

Specified by:
getCoRegime in interface INodeRegimeCo1<M,P,CM,CP>
Specified by:
getCoRegime in interface IRegime
Specified by:
getCoRegime in interface IRegimeCo0<M,P>
Specified by:
getCoRegime in interface IRegimeCo1<M,P,CM,CP>
Specified by:
getCoRegime in interface IRegimeCo2<M,P,CM,CP>
Returns:
co-regime class or null

isRegimeCo2

INodeRegimeCo2<M,P,CM,CP> isRegimeCo2()
Description copied from interface: IRegime
Return this non-null regime if it is suitable for use with two or more levels of co-model.

Specified by:
isRegimeCo2 in interface INodeRegimeCo0<M,P>
Specified by:
isRegimeCo2 in interface INodeRegimeCo1<M,P,CM,CP>
Specified by:
isRegimeCo2 in interface IRegime
Specified by:
isRegimeCo2 in interface IRegimeCo0<M,P>
Returns:
this or null