org.eclipse.gmt.umlx.tx.editor.regimes
Class UClassVariable2UAttributeVariableRegime
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.tx.editor.regimes.URelationshipRegime<UClassVariable,UClassVariable2UAttributeVariable,UAttributeVariable,URelation,E2Attribution,Orphanage>
org.eclipse.gmt.umlx.tx.editor.regimes.UClassVariable2UAttributeVariableRegime
- All Implemented Interfaces:
- ILinkRegimeCo0<UClassVariable,UClassVariable2UAttributeVariable,UAttributeVariable,URelation>, ILinkRegimeCo1<UClassVariable,UClassVariable2UAttributeVariable,UAttributeVariable,URelation,E2Attribution,Orphanage>, ILinkRegimeEnums, IRegime, IRegimeCo0<UClassVariable2UAttributeVariable,URelation>, IRegimeCo1<UClassVariable2UAttributeVariable,URelation,E2Attribution,Orphanage>, IClassExtension
public class UClassVariable2UAttributeVariableRegime
- extends URelationshipRegime<UClassVariable,UClassVariable2UAttributeVariable,UAttributeVariable,URelation,E2Attribution,Orphanage>
Methods inherited from class org.eclipse.gmt.umlx.editor.regime.AbstractLinkRegimeCo1 |
canCoChange, cannotCoCreate, coModelIsOptional, createChangeCoModelCommand, getCoModelClass, getCoModelFor, getCoModelParentClass, getParentCoModel, isLink, isNode, isRegimeCo1, isRegimeCo2, loadCoModelClass |
Methods inherited from class org.eclipse.gmt.umlx.editor.regime.AbstractLinkRegimeCo0 |
addConnection, canBeReversed, cannotConnectBetween, cannotConnectFrom, cannotConnectTo, createCreateCommand, createFacets, createFigure, createLinkEnd, createModelObject, createReconnectCommand, getActualConnection, getActualConnectionsBetween, getBendpoints, getCoCoModelsFor, 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, createView, getBackElement, getBasicClass, getFacets, getModelClass, getNewNamePrefix, getParentModelClass, getSheetClass, 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.ILinkRegimeCo0 |
addConnection, canBeReversed, cannotConnectBetween, cannotConnectFrom, cannotConnectTo, createCreateCommand, createFigure, createModelObject, createReconnectCommand, getActualConnection, getActualConnectionsBetween, getBendpoints, getCoCoModelsFor, getPotentialCoConnection, getPotentialConnection, getPotentialConnectionsBetween, getSource, getSourceLinkEnd, getSourceModelClass, getSourceNode, getTarget, getTargetLinkEnd, getTargetModelClass, getTargetNode, isContainment, removeConnection, resolveRegime, sourceIsOptional, targetIsOptional |
INSTANCE
public static final UClassVariable2UAttributeVariableRegime INSTANCE
createModelObject
public UClassVariable2UAttributeVariable createModelObject()
- Description copied from interface:
IRegime
- Create a new and uninitialised EMF object of the type managed by this regime.
- Specified by:
createModelObject
in interface IRegime
- Specified by:
createModelObject
in interface IRegimeCo0<UClassVariable2UAttributeVariable,URelation>
- Overrides:
createModelObject
in class AbstractRegime<UClassVariable2UAttributeVariable,URelation>
createOutline
public AbstractOutline createOutline(OutlineViewer viewer,
UClassVariable2UAttributeVariable coModel)
- Specified by:
createOutline
in interface IRegimeCo0<UClassVariable2UAttributeVariable,URelation>
- Overrides:
createOutline
in class AbstractRegime<UClassVariable2UAttributeVariable,URelation>
createPropertySource
public AbstractPropertySource createPropertySource(UClassVariable2UAttributeVariable coModel)
- Specified by:
createPropertySource
in interface IRegimeCo0<UClassVariable2UAttributeVariable,URelation>
- Overrides:
createPropertySource
in class AbstractRegime<UClassVariable2UAttributeVariable,URelation>
getCoModel
public E2Attribution 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<UClassVariable2UAttributeVariable,URelation,E2Attribution,Orphanage>
- Specified by:
getCoModel
in class AbstractLinkRegimeCo1<UClassVariable,UClassVariable2UAttributeVariable,UAttributeVariable,URelation,E2Attribution,Orphanage>
- Parameters:
model
- model
- Returns:
- co-model or null
getCoRegime
public E2AttributionRegime getCoRegime()
- Description copied from interface:
IRegime
- Return the co-regime if it has one.
- Specified by:
getCoRegime
in interface ILinkRegimeCo0<UClassVariable,UClassVariable2UAttributeVariable,UAttributeVariable,URelation>
- Specified by:
getCoRegime
in interface ILinkRegimeCo1<UClassVariable,UClassVariable2UAttributeVariable,UAttributeVariable,URelation,E2Attribution,Orphanage>
- Specified by:
getCoRegime
in interface IRegime
- Specified by:
getCoRegime
in interface IRegimeCo0<UClassVariable2UAttributeVariable,URelation>
- Specified by:
getCoRegime
in interface IRegimeCo1<UClassVariable2UAttributeVariable,URelation,E2Attribution,Orphanage>
- Specified by:
getCoRegime
in class AbstractLinkRegimeCo1<UClassVariable,UClassVariable2UAttributeVariable,UAttributeVariable,URelation,E2Attribution,Orphanage>
- Returns:
- co-regime class or null
getIcon
public java.lang.Enum getIcon()
- Description copied from interface:
IRegime
- Return the icon to be shown in the construction context (the Palette for
GCore objects, the Outline for ECore objects).
- Returns:
- the icon
getLabel
public java.lang.String getLabel()
- Description copied from interface:
IRegime
- Return a descriptive label for the managed object type
- Returns:
- label
getSourceConnections
public java.util.List<UClassVariable2UAttributeVariable> getSourceConnections(java.lang.Object source)
- Specified by:
getSourceConnections
in interface ILinkRegimeCo0<UClassVariable,UClassVariable2UAttributeVariable,UAttributeVariable,URelation>
- Overrides:
getSourceConnections
in class AbstractLinkRegimeCo0<UClassVariable,UClassVariable2UAttributeVariable,UAttributeVariable,URelation>
getTargetConnections
public java.util.List<UClassVariable2UAttributeVariable> getTargetConnections(java.lang.Object target)
- Specified by:
getTargetConnections
in interface ILinkRegimeCo0<UClassVariable,UClassVariable2UAttributeVariable,UAttributeVariable,URelation>
- Overrides:
getTargetConnections
in class AbstractLinkRegimeCo0<UClassVariable,UClassVariable2UAttributeVariable,UAttributeVariable,URelation>
setCoModel
public void setCoModel(UClassVariable2UAttributeVariable model,
java.lang.Object coModel)
- Specified by:
setCoModel
in interface IRegimeCo0<UClassVariable2UAttributeVariable,URelation>
- Specified by:
setCoModel
in class AbstractLinkRegimeCo1<UClassVariable,UClassVariable2UAttributeVariable,UAttributeVariable,URelation,E2Attribution,Orphanage>