org.eclipse.gmt.umlx.editor.regimes
Class GSheetTransientLinkRegimeCo1<SM extends GSheetNode,LM extends GSheetLink,TM extends GSheetNode,P extends GSheet,CM extends org.eclipse.emf.ecore.EModelElement>
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.editor.regimes.GSheetLinkRegimeCo1<SM,LM,TM,P,CM,Orphanage>
org.eclipse.gmt.umlx.editor.regimes.GSheetTransientLinkRegimeCo1<SM,LM,TM,P,CM>
- All Implemented Interfaces:
- ILinkRegimeCo0<SM,LM,TM,P>, ILinkRegimeCo1<SM,LM,TM,P,CM,Orphanage>, ILinkRegimeEnums, IRegime, IRegimeCo0<LM,P>, IRegimeCo1<LM,P,CM,Orphanage>, IClassExtension
- Direct Known Subclasses:
- GAttributionRegime, GInheritanceRegime, TxDomain2TxTypedModelRegime, TxMapping2TxDomainRegime, TxTransformation2TxTransformationRegime, TxTransformation2TxTypedModelRegime, TxTypedModel2TxTypedModelRegime, TxTypedModel2TxUsedPackageRegime, TxUsedDomain2TxVariableRegime
public abstract class GSheetTransientLinkRegimeCo1<SM extends GSheetNode,LM extends GSheetLink,TM extends GSheetNode,P extends GSheet,CM extends org.eclipse.emf.ecore.EModelElement>
- extends GSheetLinkRegimeCo1<SM,LM,TM,P,CM,Orphanage>
Methods inherited from class org.eclipse.gmt.umlx.editor.regimes.GSheetLinkRegimeCo1 |
cannotCoCreate, createFacets, createPropertySource, getBendpoints, getCoModel, getSheetClass, getSource0, getSourceConnections, getTarget0, getTargetConnections, removeConnection, setCoModel |
Methods inherited from class org.eclipse.gmt.umlx.editor.regime.AbstractLinkRegimeCo1 |
canCoChange, coModelIsOptional, createChangeCoModelCommand, getCoModelClass, getCoModelFor, getCoModelParentClass, getCoRegime, getParentCoModel, isLink, isNode, isRegimeCo1, isRegimeCo2, loadCoModelClass |
Methods inherited from class org.eclipse.gmt.umlx.editor.regime.AbstractLinkRegimeCo0 |
addConnection, canBeReversed, cannotConnectBetween, cannotConnectFrom, cannotConnectTo, createCreateCommand, createFigure, createLinkEnd, createModelObject, createReconnectCommand, getActualConnection, getActualConnectionsBetween, getCoCoModelsFor, getPotentialCoConnection, getPotentialCoConnectionsBetween, getPotentialConnection, getPotentialConnectionsBetween, getSource, getSourceLinkEnd, getSourceModelClass, getSourceNode, getTarget, getTargetLinkEnd, getTargetModelClass, getTargetNode, isContainment, 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, getFacets, getModelClass, getNewNamePrefix, getParentModelClass, 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.IRegimeCo0 |
canCopy, canDelete, computeProblemMessage, createDeleteCommand, createModelObject, createOutline, createView, getFacets, getModelClass, getParentModelClass, isRegimeCo0, refreshProblemMessage |
Methods inherited from interface org.eclipse.gmt.umlx.editor.regime.ILinkRegimeCo0 |
addConnection, canBeReversed, cannotConnectBetween, cannotConnectFrom, cannotConnectTo, createCreateCommand, createFigure, createModelObject, createReconnectCommand, getActualConnection, getActualConnectionsBetween, getCoCoModelsFor, getPotentialCoConnection, getPotentialConnection, getPotentialConnectionsBetween, getSource, getSourceLinkEnd, getSourceModelClass, getSourceNode, getTarget, getTargetLinkEnd, getTargetModelClass, getTargetNode, isContainment, resolveRegime, sourceIsOptional, targetIsOptional |
Methods inherited from interface org.eclipse.gmt.umlx.editor.regime.IRegimeCo0 |
canCopy, canDelete, computeProblemMessage, createDeleteCommand, createModelObject, createOutline, createView, getFacets, getModelClass, getParentModelClass, isRegimeCo0, refreshProblemMessage |
getParentCoModel
public Orphanage getParentCoModel(IActiveEditDomain editDomain,
GModelElement source,
java.lang.Object parent,
GModelElement target)
- Description copied from interface:
ILinkRegimeCo1
- Return the object to be coModel of the parent of a model created by this
regime in editDomain between coSource and coTarget. The return is nominally
just parent.coModel() after type validation, but derived implementations
may add policies to provide defaults parents for orphans.
- Specified by:
getParentCoModel
in interface ILinkRegimeCo1<SM extends GSheetNode,LM extends GSheetLink,TM extends GSheetNode,P extends GSheet,CM extends org.eclipse.emf.ecore.EModelElement,Orphanage>
- Specified by:
getParentCoModel
in class AbstractLinkRegimeCo1<SM extends GSheetNode,LM extends GSheetLink,TM extends GSheetNode,P extends GSheet,CM extends org.eclipse.emf.ecore.EModelElement,Orphanage>
- Parameters:
editDomain
- domain in which to createsource
- connection sourceparent
- parent of instantiationtarget
- connection target
- Returns:
- the parent co-model