org.eclipse.gmt.umlx.editor.regime
Interface INodeRegimeCo0<M,P>

All Superinterfaces:
IClassExtension, IRegime, IRegimeCo0<M,P>
All Known Subinterfaces:
INodeRegimeCo1<M,P,CM,CP>, INodeRegimeCo2<M,P,CM,CP>
All Known Implementing Classes:
AbstractNodeRegimeCo0, AbstractNodeRegimeCo1, AbstractNodeRegimeCo2, EAttributeRegime, EClassifierRegime, EClassRegime, EDataTypeRegime, EEnumLiteralRegime, EEnumRegime, ENamedElementRegime, EOperationRegime, EPackageRegime, EParameterRegime, ETypedElementRegime, GClassAttributeRegime, GClassChildRegime, GClassifierRegime, GClassRegime, GDataTypeRegime, GDummyRegime, GEnumLiteralRegime, GEnumRegime, GFolderRegime, GImportRegime, GModelElementRegime, GOperationRegime, GPackageRegime, GRootFolderRegime, GSheetAttributeRegime, GSheetNodeRegimeCo0, GSheetNodeRegimeCo1, GSheetNodeRegimeCo2, GSheetRegime, GStickyNoteRegime, MmSheetRegime, OrphanageRegime, ResourceRegime, 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, UEvolutionRegime, UExpressionRegime, UExpressionVariableRegime, UHelperRegime, UMappingInstanceRegime, UOCLConstraintRegime, UParameterRegime, UPreservationInstanceRegime, UPreservationRegime, URelationInstanceRegime, URelationRegime, USelfParameterRegime, UTransformationRegime, UTypedModelRegime, UVariableRegime

public interface INodeRegimeCo0<M,P>
extends IRegimeCo0<M,P>


Method Summary
 IErrorMessage cannotCreate(IActiveEditDomain editDomain, java.lang.Object coModel, java.lang.Object context, org.eclipse.draw2d.geometry.Point loc)
           
 INodeFigure createFigure(INodeViewElement view)
           
 INodeRegimeCo1<M,P,?,?> isRegimeCo1()
          Return this non-null regime if it is suitable for use with one or more levels of co-model.
 INodeRegimeCo2<M,P,?,?> 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.IRegimeCo0
canCopy, canDelete, computeProblemMessage, createDeleteCommand, createModelObject, createOutline, createPropertySource, createView, getCoRegime, getFacets, getModelClass, getParentModelClass, isLink, isNode, isRegimeCo0, refreshProblemMessage, setCoModel
 
Methods inherited from interface org.eclipse.gmt.umlx.editor.regime.IRegime
createCreateChildLinkCommand, createCreateCommand, createLinkEnd, getBackElement, getCoModel, getCoModelClass, getCoModelParentClass, getIcon, getLabel, getNewNamePrefix, getSheetClass, getSource, getSourceModelClass, getTarget, getTargetModelClass
 
Methods inherited from interface org.eclipse.gmt.umlx.utils.IClassExtension
getBasicClass, toDebugString, toUserString
 

Method Detail

cannotCreate

IErrorMessage cannotCreate(IActiveEditDomain editDomain,
                           java.lang.Object coModel,
                           java.lang.Object context,
                           org.eclipse.draw2d.geometry.Point loc)

createFigure

INodeFigure createFigure(INodeViewElement view)

isRegimeCo1

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

isRegimeCo2

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