org.eclipse.gmt.umlx.mm.editor.regimes
Class E2AttributionRegime

java.lang.Object
  extended by org.eclipse.gmt.umlx.utils.ClassExtension<M>
      extended by org.eclipse.gmt.umlx.editor.regime.AbstractRegime<LM,P>
          extended by org.eclipse.gmt.umlx.editor.regime.AbstractLinkRegimeCo0<SM,LM,TM,P>
              extended by org.eclipse.gmt.umlx.editor.regime.AbstractTransientLinkCo0Regime<SM,LM,TM,P>
                  extended by org.eclipse.gmt.umlx.editor.regime.AbstractTransientContainmentLinksCo0Regime<org.eclipse.emf.ecore.EClass,E2Attribution,org.eclipse.emf.ecore.EAttribute,Orphanage>
                      extended by org.eclipse.gmt.umlx.mm.editor.regimes.E2AttributionRegime
All Implemented Interfaces:
ILinkRegimeCo0<org.eclipse.emf.ecore.EClass,E2Attribution,org.eclipse.emf.ecore.EAttribute,Orphanage>, ILinkRegimeEnums, IRegime, IRegimeCo0<E2Attribution,Orphanage>, IClassExtension

public class E2AttributionRegime
extends AbstractTransientContainmentLinksCo0Regime<org.eclipse.emf.ecore.EClass,E2Attribution,org.eclipse.emf.ecore.EAttribute,Orphanage>


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.gmt.umlx.editor.regime.ILinkRegimeEnums
ILinkRegimeEnums.IsCreate, ILinkRegimeEnums.IsReconnect, ILinkRegimeEnums.IsReCreate
 
Field Summary
static E2AttributionRegime INSTANCE
           
 
Method Summary
 AbstractPropertySource createPropertySource(E2Attribution coModel)
           
 java.lang.Enum getIcon()
          Return the icon to be shown in the construction context (the Palette for GCore objects, the Outline for ECore objects).
 java.lang.String getLabel()
          Return a descriptive label for the managed object type
 java.lang.String getNewNamePrefix()
          Return a prefix for autogenerated names.
 void initialiseConnection(int sourceIndex, org.eclipse.emf.ecore.EClass source, E2Attribution link, org.eclipse.emf.ecore.EAttribute target, int targetIndex)
           
 
Methods inherited from class org.eclipse.gmt.umlx.editor.regime.AbstractTransientContainmentLinksCo0Regime
addConnection, cannotConnectFrom0, cannotConnectTo0, createDeleteCommand, isContainment, removeConnection
 
Methods inherited from class org.eclipse.gmt.umlx.editor.regime.AbstractTransientLinkCo0Regime
createModelObject, getActualConnectionsBetween0, getSource0, getTarget0
 
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, createModelObject, createOutline, createView, getBackElement, getBasicClass, getCoModel, getCoModelClass, getCoModelParentClass, getFacets, getModelClass, getParentModelClass, getSheetClass, initialise, isNode, isRegimeCo0, load, refreshProblemMessage, setCoModel, toString
 
Methods inherited from class org.eclipse.gmt.umlx.utils.ClassExtension
toDebugString, toUserString
 
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, createModelObject, createOutline, createView, getFacets, getModelClass, getParentModelClass, isNode, isRegimeCo0, refreshProblemMessage, setCoModel
 
Methods inherited from interface org.eclipse.gmt.umlx.editor.regime.IRegime
createCreateChildLinkCommand, createCreateCommand, getBackElement, getCoModel, getCoModelClass, getCoModelParentClass, getSheetClass
 
Methods inherited from interface org.eclipse.gmt.umlx.utils.IClassExtension
getBasicClass, toDebugString, toUserString
 

Field Detail

INSTANCE

public static final E2AttributionRegime INSTANCE
Method Detail

createPropertySource

public AbstractPropertySource createPropertySource(E2Attribution coModel)
Specified by:
createPropertySource in interface IRegimeCo0<E2Attribution,Orphanage>
Overrides:
createPropertySource in class AbstractRegime<E2Attribution,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

getNewNamePrefix

public java.lang.String getNewNamePrefix()
Description copied from interface: IRegime
Return a prefix for autogenerated names.

Specified by:
getNewNamePrefix in interface IRegime
Overrides:
getNewNamePrefix in class AbstractRegime<E2Attribution,Orphanage>
Returns:
prefix

initialiseConnection

public void initialiseConnection(int sourceIndex,
                                 org.eclipse.emf.ecore.EClass source,
                                 E2Attribution link,
                                 org.eclipse.emf.ecore.EAttribute target,
                                 int targetIndex)