org.eclipse.gmt.umlx.editor.regime
Class AbstractTransientReferenceLinksCo0Regime<SM extends org.eclipse.emf.ecore.EObject,LM extends E2TransientLink,TM extends org.eclipse.emf.ecore.EObject,P>
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.AbstractTransientReferenceLinksCo0Regime<SM,LM,TM,P>
- All Implemented Interfaces:
- ILinkRegimeCo0<SM,LM,TM,P>, ILinkRegimeEnums, IRegime, IRegimeCo0<LM,P>, IClassExtension
- Direct Known Subclasses:
- E2InheritanceRegime, UTypedModel2EPackageRegime, UTypedModel2UTypedModelRegime
public abstract class AbstractTransientReferenceLinksCo0Regime<SM extends org.eclipse.emf.ecore.EObject,LM extends E2TransientLink,TM extends org.eclipse.emf.ecore.EObject,P>
- extends AbstractTransientLinkCo0Regime<SM,LM,TM,P>
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, createPropertySource, 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, createPropertySource, createView, getFacets, getModelClass, getParentModelClass, isNode, isRegimeCo0, refreshProblemMessage, setCoModel |
addConnection
public final void addConnection(int sourceIndex,
ILinkEnd newSourceEnd,
LM link,
ILinkEnd newTargetEnd,
int targetIndex)
- Specified by:
addConnection
in interface ILinkRegimeCo0<SM extends org.eclipse.emf.ecore.EObject,LM extends E2TransientLink,TM extends org.eclipse.emf.ecore.EObject,P>
- Overrides:
addConnection
in class AbstractLinkRegimeCo0<SM extends org.eclipse.emf.ecore.EObject,LM extends E2TransientLink,TM extends org.eclipse.emf.ecore.EObject,P>
cannotConnectFrom0
public IErrorMessage cannotConnectFrom0(SM source,
TM target,
ILinkRegimeEnums.IsCreate isCreate)
isContainment
public final boolean isContainment()
- Description copied from class:
AbstractLinkRegimeCo0
- Return true if this is a containment of the target by the source.
- Specified by:
isContainment
in interface ILinkRegimeCo0<SM extends org.eclipse.emf.ecore.EObject,LM extends E2TransientLink,TM extends org.eclipse.emf.ecore.EObject,P>
- Overrides:
isContainment
in class AbstractLinkRegimeCo0<SM extends org.eclipse.emf.ecore.EObject,LM extends E2TransientLink,TM extends org.eclipse.emf.ecore.EObject,P>
- Returns:
- if a containment relationship.
removeConnection
public final java.lang.Integer[] removeConnection(SM source,
LM link,
TM target)
- Specified by:
removeConnection
in interface ILinkRegimeCo0<SM extends org.eclipse.emf.ecore.EObject,LM extends E2TransientLink,TM extends org.eclipse.emf.ecore.EObject,P>
- Overrides:
removeConnection
in class AbstractLinkRegimeCo0<SM extends org.eclipse.emf.ecore.EObject,LM extends E2TransientLink,TM extends org.eclipse.emf.ecore.EObject,P>