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.EPropertiesHolderImpl
Nested 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.EScannableAdapterList
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
-
Field Summary
Modifier 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 String
The default value of the 'Diagram Type Id
' attribute.protected String
The 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 int
The default value of the 'Grid Unit
' attribute.protected int
The cached value of the 'Grid Unit
' attribute.protected String
The cached value of the 'Name
' attribute.protected static final String
The 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 boolean
Deprecated.This attribute simply exists because of compatibility (after removing it old diagrams would not be readable any more).protected boolean
Deprecated.This attribute simply exists because of compatibility (after removing it old diagrams would not be readable any more).protected static final boolean
The default value of the 'Snap To Grid
' attribute.protected boolean
The 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 String
The cached value of the 'Version
' attribute.protected static final String
The default value of the 'Version
' attribute.protected static final int
The default value of the 'Vertical Grid Unit
' attribute.protected int
The cached value of the 'Vertical Grid Unit
' attribute.Fields inherited from class org.eclipse.graphiti.mm.pictograms.impl.ContainerShapeImpl
children
Fields inherited from class org.eclipse.graphiti.mm.pictograms.impl.AnchorContainerImpl
anchors
Fields inherited from class org.eclipse.graphiti.mm.pictograms.impl.PictogramElementImpl
active, ACTIVE_EDEFAULT, graphicsAlgorithm, link, visible, VISIBLE_EDEFAULT
Fields inherited from class org.eclipse.graphiti.mm.impl.PropertyContainerImpl
properties
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
eBaseStructuralFeatureID
(int derivedFeatureID, Class<?> baseClass) int
eDerivedStructuralFeatureID
(int baseFeatureID, Class<?> baseClass) eGet
(int featureID, boolean resolve, boolean coreType) org.eclipse.emf.common.notify.NotificationChain
eInverseAdd
(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChain
eInverseRemove
(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) boolean
eIsSet
(int featureID) void
protected org.eclipse.emf.ecore.EClass
void
eUnset
(int featureID) org.eclipse.emf.common.util.EList<Color>
org.eclipse.emf.common.util.EList<Connection>
org.eclipse.emf.common.util.EList<Font>
getFonts()
int
getName()
org.eclipse.emf.common.util.EList<PictogramLink>
org.eclipse.emf.common.util.EList<Style>
int
boolean
boolean
void
setDiagramTypeId
(String newDiagramTypeId) void
setGridUnit
(int newGridUnit) void
void
setShowGuides
(boolean newShowGuides) void
setSnapToGrid
(boolean newSnapToGrid) void
setVersion
(String newVersion) void
setVerticalGridUnit
(int newVerticalGridUnit) toString()
Methods inherited from class org.eclipse.graphiti.mm.pictograms.impl.ContainerShapeImpl
getChildren
Methods inherited from class org.eclipse.graphiti.mm.pictograms.impl.ShapeImpl
basicGetContainer, basicSetContainer, eBasicRemoveFromContainerFeature, getContainer, setContainer
Methods inherited from class org.eclipse.graphiti.mm.pictograms.impl.AnchorContainerImpl
getAnchors
Methods inherited from class org.eclipse.graphiti.mm.pictograms.impl.PictogramElementImpl
basicGetGraphicsAlgorithm, basicGetLink, basicSetGraphicsAlgorithm, basicSetLink, getGraphicsAlgorithm, getLink, isActive, isVisible, setActive, setGraphicsAlgorithm, setLink, setVisible
Methods inherited from class org.eclipse.graphiti.mm.impl.PropertyContainerImpl
getProperties
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
Methods 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, eVirtualValues
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.graphiti.mm.pictograms.AnchorContainer
getAnchors
Methods inherited from interface org.eclipse.graphiti.mm.pictograms.ContainerShape
getChildren
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
Methods inherited from interface org.eclipse.graphiti.mm.pictograms.PictogramElement
getGraphicsAlgorithm, getLink, isActive, isVisible, setActive, setGraphicsAlgorithm, setLink, setVisible
Methods inherited from interface org.eclipse.graphiti.mm.PropertyContainer
getProperties
Methods 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:
eStaticClass
in classContainerShapeImpl
-
getStyles
- Specified by:
getStyles
in interfaceStyleContainer
- Returns:
- the value of the 'Styles' containment reference list.
- See Also:
-
getGridUnit
public int getGridUnit()- Specified by:
getGridUnit
in interfaceDiagram
- Returns:
- the value of the 'Grid Unit' attribute.
- See Also:
-
setGridUnit
public void setGridUnit(int newGridUnit) - Specified by:
setGridUnit
in interfaceDiagram
- Parameters:
newGridUnit
- the new value of the 'Grid Unit' attribute.- See Also:
-
getDiagramTypeId
- Specified by:
getDiagramTypeId
in interfaceDiagram
- Returns:
- the value of the 'Diagram Type Id' attribute.
- See Also:
-
setDiagramTypeId
- Specified by:
setDiagramTypeId
in interfaceDiagram
- Parameters:
newDiagramTypeId
- the new value of the 'Diagram Type Id' attribute.- See Also:
-
getConnections
- Specified by:
getConnections
in interfaceDiagram
- Returns:
- the value of the 'Connections' containment reference list.
- See Also:
-
getName
-
setName
-
isSnapToGrid
public boolean isSnapToGrid()- Specified by:
isSnapToGrid
in interfaceDiagram
- Returns:
- the value of the 'Snap To Grid' attribute.
- See Also:
-
setSnapToGrid
public void setSnapToGrid(boolean newSnapToGrid) - Specified by:
setSnapToGrid
in 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:
getPictogramLinks
in interfaceDiagram
- Returns:
- the value of the 'Pictogram Links' reference list.
- See Also:
-
getVerticalGridUnit
public int getVerticalGridUnit()- Specified by:
getVerticalGridUnit
in interfaceDiagram
- Returns:
- the value of the 'Vertical Grid Unit' attribute.
- See Also:
-
setVerticalGridUnit
public void setVerticalGridUnit(int newVerticalGridUnit) - Specified by:
setVerticalGridUnit
in interfaceDiagram
- Parameters:
newVerticalGridUnit
- the new value of the 'Vertical Grid Unit' attribute.- See Also:
-
getVersion
- Specified by:
getVersion
in 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:
eInverseAdd
in 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:
eInverseRemove
in classContainerShapeImpl
-
eGet
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classContainerShapeImpl
-
eSet
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classContainerShapeImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classContainerShapeImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classContainerShapeImpl
-
eBaseStructuralFeatureID
- Specified by:
eBaseStructuralFeatureID
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eBaseStructuralFeatureID
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eDerivedStructuralFeatureID
- Specified by:
eDerivedStructuralFeatureID
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eDerivedStructuralFeatureID
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
- Overrides:
toString
in classPictogramElementImpl
-