org.eclipse.gmt.umlx.tx.editor.regimes
Class UDomain2UVariableRegime
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.AbstractTransientLinkCo0Regime<SM,LM,TM,P>
org.eclipse.gmt.umlx.editor.regime.AbstractTransientReferenceLinkCo0Regime<UDomain,UDomain2UVariable,UVariable,Orphanage>
org.eclipse.gmt.umlx.tx.editor.regimes.UDomain2UVariableRegime
- All Implemented Interfaces:
- ILinkRegimeCo0<UDomain,UDomain2UVariable,UVariable,Orphanage>, ILinkRegimeEnums, IRegime, IRegimeCo0<UDomain2UVariable,Orphanage>, IClassExtension
public class UDomain2UVariableRegime
- extends AbstractTransientReferenceLinkCo0Regime<UDomain,UDomain2UVariable,UVariable,Orphanage>
Methods inherited from class org.eclipse.gmt.umlx.editor.regime.AbstractLinkRegimeCo0 |
canBeReversed, cannotConnectBetween, cannotConnectFrom, cannotConnectTo, createCreateCommand, createFacets, createFigure, createLinkEnd, createReconnectCommand, getActualConnection, getActualConnectionsBetween, getBendpoints, getCoCoModelsFor, getCoRegime, getPotentialCoConnection, getPotentialCoConnectionsBetween, getPotentialConnection, getPotentialConnectionsBetween, getSource, getSourceConnections, getSourceLinkEnd, getSourceModelClass, getSourceNode, getTarget, getTargetConnections, getTargetLinkEnd, getTargetModelClass, getTargetNode, isLink, isRegimeCo1, isRegimeCo2, resolveRegime, sourceIsOptional, targetIsOptional |
Methods inherited from class org.eclipse.gmt.umlx.editor.regime.AbstractRegime |
canCopy, canDelete, computeProblemMessage, createCreateChildLinkCommand, createCreateCommand, createDeleteCommand, createModelObject, createOutline, createView, getBackElement, getBasicClass, getCoModel, getCoModelClass, getCoModelParentClass, getFacets, getModelClass, getNewNamePrefix, getParentModelClass, getSheetClass, initialise, isNode, isRegimeCo0, load, refreshProblemMessage, setCoModel, 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.IRegimeCo0 |
canCopy, canDelete, computeProblemMessage, createDeleteCommand, createModelObject, createOutline, createView, getFacets, getModelClass, getParentModelClass, isNode, isRegimeCo0, refreshProblemMessage, setCoModel |
INSTANCE
public static final UDomain2UVariableRegime INSTANCE
cannotConnectFrom0
public IErrorMessage cannotConnectFrom0(UDomain source,
UVariable target,
ILinkRegimeEnums.IsCreate isCreate)
- Overrides:
cannotConnectFrom0
in class AbstractTransientReferenceLinkCo0Regime<UDomain,UDomain2UVariable,UVariable,Orphanage>
createPropertySource
public AbstractPropertySource createPropertySource(UDomain2UVariable coModel)
- Specified by:
createPropertySource
in interface IRegimeCo0<UDomain2UVariable,Orphanage>
- Overrides:
createPropertySource
in class AbstractRegime<UDomain2UVariable,Orphanage>
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
initialiseConnection
public void initialiseConnection(int sourceIndex,
UDomain source,
UDomain2UVariable link,
UVariable target,
int targetIndex)
removeConnection
public java.lang.Integer[] removeConnection(UDomain source,
UDomain2UVariable link,
UVariable target)
- Specified by:
removeConnection
in interface ILinkRegimeCo0<UDomain,UDomain2UVariable,UVariable,Orphanage>
- Specified by:
removeConnection
in class AbstractTransientReferenceLinkCo0Regime<UDomain,UDomain2UVariable,UVariable,Orphanage>