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

All Superinterfaces:
IClassExtension, INodeRegimeCo0<M,P>, IRegime, IRegimeCo0<M,P>, IRegimeCo1<M,P,CM,CP>
All Known Subinterfaces:
INodeRegimeCo2<M,P,CM,CP>
All Known Implementing Classes:
AbstractNodeRegimeCo1, AbstractNodeRegimeCo2, GClassAttributeRegime, GClassChildRegime, GClassifierRegime, GClassRegime, GDataTypeRegime, GEnumLiteralRegime, GEnumRegime, GModelElementRegime, GOperationRegime, GPackageRegime, GSheetAttributeRegime, GSheetNodeRegimeCo1, GSheetNodeRegimeCo2, GSheetRegime, MmSheetRegime, TxClassAttributeVariableRegime, TxClassVariableRegime, TxContextSheetRegime, TxDomainRegime, TxEvolutionInstanceRegime, TxEvolutionRegime, TxHelperRegime, TxOCLConstraintRegime, TxParameterRegime, TxPreservationInstanceRegime, TxPreservationRegime, TxRelationInstanceRegime, TxRelationRegime, TxRuleSheetRegime, TxSheetAttributeVariableRegime, TxSheetExpressionVariableRegime, TxTransformationRegime, TxTypedModelRegime, TxUsedDomainRegime, TxUsedPackageRegime, TxVariableRegime, UAttributeVariableRegime, UClassVariableRegime, UDomainRegime, UEvolutionInstanceRegime, UExpressionVariableRegime, UMappingInstanceRegime, UPreservationInstanceRegime, URelationInstanceRegime, UVariableRegime

public interface INodeRegimeCo1<M,P,CM,CP>
extends IRegimeCo1<M,P,CM,CP>, INodeRegimeCo0<M,P>


Method Summary
 INodeRegimeCo0<CM,CP> getCoRegime()
          Return the co-regime if it has one.
 INodeRegimeCo1<M,P,CM,CP> isRegimeCo1()
          Return this non-null regime if it is suitable for use with one or more levels of co-model.
 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.IRegimeCo1
canCoChange, coModelIsOptional, createChangeCoModelCommand, getCoModel, getCoModelClass, getCoModelFor, getParentCoModel, isLink, isNode, 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

getCoRegime

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

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

isRegimeCo1

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

Specified by:
isRegimeCo1 in interface INodeRegimeCo0<M,P>
Specified by:
isRegimeCo1 in interface IRegime
Specified by:
isRegimeCo1 in interface IRegimeCo0<M,P>
Returns:
this 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 IRegime
Specified by:
isRegimeCo2 in interface IRegimeCo0<M,P>
Returns:
this or null