Class DiagramImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject,GraphicsAlgorithmContainer,AnchorContainer,ContainerShape,Diagram,PictogramElement,Shape,PropertyContainer,StyleContainer
An implementation of the model object 'Diagram'.
The following features are implemented:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImplNested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterListNested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.eclipse.emf.common.util.EList<Color>The cached value of the 'Colors' containment reference list.protected org.eclipse.emf.common.util.EList<Connection>The cached value of the 'Connections' containment reference list.protected static final StringThe default value of the 'Diagram Type Id' attribute.protected StringThe cached value of the 'Diagram Type Id' attribute.protected org.eclipse.emf.common.util.EList<Font>The cached value of the 'Fonts' containment reference list.protected static final intThe default value of the 'Grid Unit' attribute.protected intThe cached value of the 'Grid Unit' attribute.protected StringThe cached value of the 'Name' attribute.protected static final StringThe default value of the 'Name' attribute.protected org.eclipse.emf.common.util.EList<PictogramLink>The cached value of the 'Pictogram Links' reference list.protected static final booleanDeprecated.This attribute simply exists because of compatibility (after removing it old diagrams would not be readable any more).protected booleanDeprecated.This attribute simply exists because of compatibility (after removing it old diagrams would not be readable any more).protected static final booleanThe default value of the 'Snap To Grid' attribute.protected booleanThe cached value of the 'Snap To Grid' attribute.protected org.eclipse.emf.common.util.EList<Style>The cached value of the 'Styles' containment reference list.protected StringThe cached value of the 'Version' attribute.protected static final StringThe default value of the 'Version' attribute.protected static final intThe default value of the 'Vertical Grid Unit' attribute.protected intThe cached value of the 'Vertical Grid Unit' attribute.Fields inherited from class org.eclipse.graphiti.mm.pictograms.impl.ContainerShapeImpl
childrenFields inherited from class org.eclipse.graphiti.mm.pictograms.impl.AnchorContainerImpl
anchorsFields inherited from class org.eclipse.graphiti.mm.pictograms.impl.PictogramElementImpl
active, ACTIVE_EDEFAULT, graphicsAlgorithm, link, visible, VISIBLE_EDEFAULTFields inherited from class org.eclipse.graphiti.mm.impl.PropertyContainerImpl
propertiesFields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXYFields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETFields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninteBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) inteDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) eGet(int featureID, boolean resolve, boolean coreType) org.eclipse.emf.common.notify.NotificationChaineInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChaineInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) booleaneIsSet(int featureID) voidprotected org.eclipse.emf.ecore.EClassvoideUnset(int featureID) org.eclipse.emf.common.util.EList<Color>org.eclipse.emf.common.util.EList<Connection>org.eclipse.emf.common.util.EList<Font>getFonts()intgetName()org.eclipse.emf.common.util.EList<PictogramLink>org.eclipse.emf.common.util.EList<Style>intbooleanbooleanvoidsetDiagramTypeId(String newDiagramTypeId) voidsetGridUnit(int newGridUnit) voidvoidsetShowGuides(boolean newShowGuides) voidsetSnapToGrid(boolean newSnapToGrid) voidsetVersion(String newVersion) voidsetVerticalGridUnit(int newVerticalGridUnit) toString()Methods inherited from class org.eclipse.graphiti.mm.pictograms.impl.ContainerShapeImpl
getChildrenMethods inherited from class org.eclipse.graphiti.mm.pictograms.impl.ShapeImpl
basicGetContainer, basicSetContainer, eBasicRemoveFromContainerFeature, getContainer, setContainerMethods inherited from class org.eclipse.graphiti.mm.pictograms.impl.AnchorContainerImpl
getAnchorsMethods inherited from class org.eclipse.graphiti.mm.pictograms.impl.PictogramElementImpl
basicGetGraphicsAlgorithm, basicGetLink, basicSetGraphicsAlgorithm, basicSetLink, getGraphicsAlgorithm, getLink, isActive, isVisible, setActive, setGraphicsAlgorithm, setLink, setVisibleMethods inherited from class org.eclipse.graphiti.mm.impl.PropertyContainerImpl
getPropertiesMethods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURIMethods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValuesMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotifyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.graphiti.mm.pictograms.AnchorContainer
getAnchorsMethods inherited from interface org.eclipse.graphiti.mm.pictograms.ContainerShape
getChildrenMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequiredMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods inherited from interface org.eclipse.graphiti.mm.pictograms.PictogramElement
getGraphicsAlgorithm, getLink, isActive, isVisible, setActive, setGraphicsAlgorithm, setLink, setVisibleMethods inherited from interface org.eclipse.graphiti.mm.PropertyContainer
getPropertiesMethods inherited from interface org.eclipse.graphiti.mm.pictograms.Shape
getContainer, setContainer
-
Field Details
-
styles
The cached value of the 'Styles' containment reference list.- See Also:
-
GRID_UNIT_EDEFAULT
protected static final int GRID_UNIT_EDEFAULTThe default value of the 'Grid Unit' attribute.- See Also:
-
gridUnit
protected int gridUnitThe cached value of the 'Grid Unit' attribute.- See Also:
-
DIAGRAM_TYPE_ID_EDEFAULT
The default value of the 'Diagram Type Id' attribute.- See Also:
-
diagramTypeId
The cached value of the 'Diagram Type Id' attribute.- See Also:
-
connections
The cached value of the 'Connections' containment reference list.- See Also:
-
NAME_EDEFAULT
The default value of the 'Name' attribute.- See Also:
-
name
The cached value of the 'Name' attribute.- See Also:
-
SNAP_TO_GRID_EDEFAULT
protected static final boolean SNAP_TO_GRID_EDEFAULTThe default value of the 'Snap To Grid' attribute.- See Also:
-
snapToGrid
protected boolean snapToGridThe cached value of the 'Snap To Grid' attribute.- See Also:
-
SHOW_GUIDES_EDEFAULT
protected static final boolean SHOW_GUIDES_EDEFAULTDeprecated.This attribute simply exists because of compatibility (after removing it old diagrams would not be readable any more). It is never evaluated, instead the Graphiti framework queries the tool behaviour provider if guides shall be shown in a diagram editor.
The default value of the 'Show Guides' attribute.- See Also:
-
showGuides
protected boolean showGuidesDeprecated.This attribute simply exists because of compatibility (after removing it old diagrams would not be readable any more). It is never evaluated, instead the Graphiti framework queries the tool behaviour provider if guides shall be shown in a diagram editor.
The cached value of the 'Show Guides' attribute.- See Also:
-
colors
The cached value of the 'Colors' containment reference list.- See Also:
-
fonts
The cached value of the 'Fonts' containment reference list.- See Also:
-
pictogramLinks
The cached value of the 'Pictogram Links' reference list.- See Also:
-
VERTICAL_GRID_UNIT_EDEFAULT
protected static final int VERTICAL_GRID_UNIT_EDEFAULTThe default value of the 'Vertical Grid Unit' attribute.- See Also:
-
verticalGridUnit
protected int verticalGridUnitThe cached value of the 'Vertical Grid Unit' attribute.- See Also:
-
VERSION_EDEFAULT
The default value of the 'Version' attribute.- See Also:
-
version
The cached value of the 'Version' attribute.- See Also:
-
-
Constructor Details
-
DiagramImpl
protected DiagramImpl()
-
-
Method Details
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()- Overrides:
eStaticClassin classContainerShapeImpl
-
getStyles
- Specified by:
getStylesin interfaceStyleContainer- Returns:
- the value of the 'Styles' containment reference list.
- See Also:
-
getGridUnit
public int getGridUnit()- Specified by:
getGridUnitin interfaceDiagram- Returns:
- the value of the 'Grid Unit' attribute.
- See Also:
-
setGridUnit
public void setGridUnit(int newGridUnit) - Specified by:
setGridUnitin interfaceDiagram- Parameters:
newGridUnit- the new value of the 'Grid Unit' attribute.- See Also:
-
getDiagramTypeId
- Specified by:
getDiagramTypeIdin interfaceDiagram- Returns:
- the value of the 'Diagram Type Id' attribute.
- See Also:
-
setDiagramTypeId
- Specified by:
setDiagramTypeIdin interfaceDiagram- Parameters:
newDiagramTypeId- the new value of the 'Diagram Type Id' attribute.- See Also:
-
getConnections
- Specified by:
getConnectionsin interfaceDiagram- Returns:
- the value of the 'Connections' containment reference list.
- See Also:
-
getName
-
setName
-
isSnapToGrid
public boolean isSnapToGrid()- Specified by:
isSnapToGridin interfaceDiagram- Returns:
- the value of the 'Snap To Grid' attribute.
- See Also:
-
setSnapToGrid
public void setSnapToGrid(boolean newSnapToGrid) - Specified by:
setSnapToGridin interfaceDiagram- Parameters:
newSnapToGrid- the new value of the 'Snap To Grid' attribute.- See Also:
-
isShowGuides
public boolean isShowGuides() -
setShowGuides
public void setShowGuides(boolean newShowGuides) -
getColors
-
getFonts
-
getPictogramLinks
- Specified by:
getPictogramLinksin interfaceDiagram- Returns:
- the value of the 'Pictogram Links' reference list.
- See Also:
-
getVerticalGridUnit
public int getVerticalGridUnit()- Specified by:
getVerticalGridUnitin interfaceDiagram- Returns:
- the value of the 'Vertical Grid Unit' attribute.
- See Also:
-
setVerticalGridUnit
public void setVerticalGridUnit(int newVerticalGridUnit) - Specified by:
setVerticalGridUnitin interfaceDiagram- Parameters:
newVerticalGridUnit- the new value of the 'Vertical Grid Unit' attribute.- See Also:
-
getVersion
- Specified by:
getVersionin interfaceDiagram- Returns:
- the value of the 'Version' attribute.
- See Also:
-
setVersion
-
eInverseAdd
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) - Overrides:
eInverseAddin classContainerShapeImpl
-
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) - Overrides:
eInverseRemovein classContainerShapeImpl
-
eGet
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classContainerShapeImpl
-
eSet
- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classContainerShapeImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classContainerShapeImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classContainerShapeImpl
-
eBaseStructuralFeatureID
- Specified by:
eBaseStructuralFeatureIDin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eBaseStructuralFeatureIDin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eDerivedStructuralFeatureID
- Specified by:
eDerivedStructuralFeatureIDin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eDerivedStructuralFeatureIDin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
- Overrides:
toStringin classPictogramElementImpl
-