Class GraphicsAlgorithmImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.graphiti.mm.impl.PropertyContainerImpl
org.eclipse.graphiti.mm.impl.GraphicsAlgorithmContainerImpl
org.eclipse.graphiti.mm.algorithms.impl.GraphicsAlgorithmImpl
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.InternalEObject
,GraphicsAlgorithm
,AbstractStyle
,GraphicsAlgorithmContainer
,PropertyContainer
- Direct Known Subclasses:
AbstractTextImpl
,EllipseImpl
,ImageImpl
,PlatformGraphicsAlgorithmImpl
,PolylineImpl
,RectangleImpl
,RoundedRectangleImpl
public abstract class GraphicsAlgorithmImpl
extends GraphicsAlgorithmContainerImpl
implements GraphicsAlgorithm
An implementation of the model object 'Graphics Algorithm'.
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 Color
The cached value of the 'Background
' reference.protected Boolean
The cached value of the 'Filled
' attribute.protected static final Boolean
The default value of the 'Filled
' attribute.protected boolean
This is true if the Filled attribute has been set.protected Color
The cached value of the 'Foreground
' reference.protected org.eclipse.emf.common.util.EList<GraphicsAlgorithm>
The cached value of the 'Graphics Algorithm Children
' containment reference list.protected int
The cached value of the 'Height
' attribute.protected static final int
The default value of the 'Height
' attribute.protected static final LineStyle
The default value of the 'Line Style
' attribute.protected static final Boolean
The default value of the 'Line Visible
' attribute.protected static final Integer
The default value of the 'Line Width
' attribute.protected LineStyle
The cached value of the 'Line Style
' attribute.protected Boolean
The cached value of the 'Line Visible
' attribute.protected boolean
This is true if the Line Visible attribute has been set.protected Integer
The cached value of the 'Line Width
' attribute.protected RenderingStyle
The cached value of the 'Rendering Style
' containment reference.protected Style
The cached value of the 'Style
' reference.protected Double
The cached value of the 'Transparency
' attribute.protected static final Double
The default value of the 'Transparency
' attribute.protected int
The cached value of the 'Width
' attribute.protected static final int
The default value of the 'Width
' attribute.protected int
The cached value of the 'X
' attribute.protected static final int
The default value of the 'X
' attribute.protected int
The cached value of the 'Y
' attribute.protected static final int
The default value of the 'Y
' attribute.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 TypeMethodDescriptionorg.eclipse.emf.common.notify.NotificationChain
basicSetParentGraphicsAlgorithm
(GraphicsAlgorithm newParentGraphicsAlgorithm, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChain
basicSetPictogramElement
(PictogramElement newPictogramElement, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChain
basicSetRenderingStyle
(RenderingStyle newRenderingStyle, org.eclipse.emf.common.notify.NotificationChain msgs) int
eBaseStructuralFeatureID
(int derivedFeatureID, Class<?> baseClass) org.eclipse.emf.common.notify.NotificationChain
eBasicRemoveFromContainerFeature
(org.eclipse.emf.common.notify.NotificationChain msgs) 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<GraphicsAlgorithm>
int
getStyle()
int
getWidth()
int
getX()
int
getY()
boolean
boolean
void
setBackground
(Color newBackground) void
void
setForeground
(Color newForeground) void
setHeight
(int newHeight) void
setLineStyle
(LineStyle newLineStyle) void
setLineVisible
(Boolean newLineVisible) void
setLineWidth
(Integer newLineWidth) void
setParentGraphicsAlgorithm
(GraphicsAlgorithm newParentGraphicsAlgorithm) void
setPictogramElement
(PictogramElement newPictogramElement) void
setRenderingStyle
(RenderingStyle newRenderingStyle) void
void
setTransparency
(Double newTransparency) void
setWidth
(int newWidth) void
setX
(int newX) void
setY
(int newY) toString()
void
void
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.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.PropertyContainer
getProperties
-
Field Details
-
background
The cached value of the 'Background
' reference.- See Also:
-
foreground
The cached value of the 'Foreground
' reference.- See Also:
-
LINE_WIDTH_EDEFAULT
The default value of the 'Line Width
' attribute.- See Also:
-
lineWidth
The cached value of the 'Line Width
' attribute.- See Also:
-
LINE_STYLE_EDEFAULT
The default value of the 'Line Style
' attribute.- See Also:
-
lineStyle
The cached value of the 'Line Style
' attribute.- See Also:
-
FILLED_EDEFAULT
The default value of the 'Filled
' attribute.- See Also:
-
filled
The cached value of the 'Filled
' attribute.- See Also:
-
filledESet
protected boolean filledESetThis is true if the Filled attribute has been set. -
LINE_VISIBLE_EDEFAULT
The default value of the 'Line Visible
' attribute.- See Also:
-
lineVisible
The cached value of the 'Line Visible
' attribute.- See Also:
-
lineVisibleESet
protected boolean lineVisibleESetThis is true if the Line Visible attribute has been set. -
renderingStyle
The cached value of the 'Rendering Style
' containment reference.- See Also:
-
TRANSPARENCY_EDEFAULT
The default value of the 'Transparency
' attribute.- See Also:
-
transparency
The cached value of the 'Transparency
' attribute.- See Also:
-
graphicsAlgorithmChildren
The cached value of the 'Graphics Algorithm Children
' containment reference list.- See Also:
-
WIDTH_EDEFAULT
protected static final int WIDTH_EDEFAULTThe default value of the 'Width
' attribute.- See Also:
-
width
protected int widthThe cached value of the 'Width
' attribute.- See Also:
-
HEIGHT_EDEFAULT
protected static final int HEIGHT_EDEFAULTThe default value of the 'Height
' attribute.- See Also:
-
height
protected int heightThe cached value of the 'Height
' attribute.- See Also:
-
X_EDEFAULT
protected static final int X_EDEFAULTThe default value of the 'X
' attribute.- See Also:
-
x
protected int xThe cached value of the 'X
' attribute.- See Also:
-
Y_EDEFAULT
protected static final int Y_EDEFAULTThe default value of the 'Y
' attribute.- See Also:
-
y
protected int yThe cached value of the 'Y
' attribute.- See Also:
-
style
The cached value of the 'Style
' reference.- See Also:
-
-
Constructor Details
-
GraphicsAlgorithmImpl
protected GraphicsAlgorithmImpl()
-
-
Method Details
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()- Overrides:
eStaticClass
in classGraphicsAlgorithmContainerImpl
-
getBackground
- Specified by:
getBackground
in interfaceAbstractStyle
- Returns:
- the value of the 'Background' reference.
- See Also:
-
basicGetBackground
-
setBackground
- Specified by:
setBackground
in interfaceAbstractStyle
- Parameters:
newBackground
- the new value of the 'Background' reference.- See Also:
-
getForeground
- Specified by:
getForeground
in interfaceAbstractStyle
- Returns:
- the value of the 'Foreground' reference.
- See Also:
-
basicGetForeground
-
setForeground
- Specified by:
setForeground
in interfaceAbstractStyle
- Parameters:
newForeground
- the new value of the 'Foreground' reference.- See Also:
-
getLineWidth
- Specified by:
getLineWidth
in interfaceAbstractStyle
- Returns:
- the value of the 'Line Width' attribute.
- See Also:
-
setLineWidth
- Specified by:
setLineWidth
in interfaceAbstractStyle
- Parameters:
newLineWidth
- the new value of the 'Line Width' attribute.- See Also:
-
getLineStyle
- Specified by:
getLineStyle
in interfaceAbstractStyle
- Returns:
- the value of the 'Line Style' attribute.
- See Also:
-
setLineStyle
- Specified by:
setLineStyle
in interfaceAbstractStyle
- Parameters:
newLineStyle
- the new value of the 'Line Style' attribute.- See Also:
-
getFilled
- Specified by:
getFilled
in interfaceAbstractStyle
- Returns:
- the value of the 'Filled' attribute.
- See Also:
-
setFilled
- Specified by:
setFilled
in interfaceAbstractStyle
- Parameters:
newFilled
- the new value of the 'Filled' attribute.- See Also:
-
unsetFilled
public void unsetFilled()- Specified by:
unsetFilled
in interfaceAbstractStyle
- See Also:
-
isSetFilled
public boolean isSetFilled()- Specified by:
isSetFilled
in interfaceAbstractStyle
- Returns:
- whether the value of the 'Filled' attribute is set.
- See Also:
-
getLineVisible
- Specified by:
getLineVisible
in interfaceAbstractStyle
- Returns:
- the value of the 'Line Visible' attribute.
- See Also:
-
setLineVisible
- Specified by:
setLineVisible
in interfaceAbstractStyle
- Parameters:
newLineVisible
- the new value of the 'Line Visible' attribute.- See Also:
-
unsetLineVisible
public void unsetLineVisible()- Specified by:
unsetLineVisible
in interfaceAbstractStyle
- See Also:
-
isSetLineVisible
public boolean isSetLineVisible()- Specified by:
isSetLineVisible
in interfaceAbstractStyle
- Returns:
- whether the value of the 'Line Visible' attribute is set.
- See Also:
-
getRenderingStyle
- Specified by:
getRenderingStyle
in interfaceAbstractStyle
- Returns:
- the value of the 'Rendering Style' containment reference.
- See Also:
-
basicGetRenderingStyle
-
basicSetRenderingStyle
public org.eclipse.emf.common.notify.NotificationChain basicSetRenderingStyle(RenderingStyle newRenderingStyle, org.eclipse.emf.common.notify.NotificationChain msgs) -
setRenderingStyle
- Specified by:
setRenderingStyle
in interfaceAbstractStyle
- Parameters:
newRenderingStyle
- the new value of the 'Rendering Style' containment reference.- See Also:
-
getTransparency
- Specified by:
getTransparency
in interfaceAbstractStyle
- Returns:
- the value of the 'Transparency' attribute.
- See Also:
-
setTransparency
- Specified by:
setTransparency
in interfaceAbstractStyle
- Parameters:
newTransparency
- the new value of the 'Transparency' attribute.- See Also:
-
getGraphicsAlgorithmChildren
- Specified by:
getGraphicsAlgorithmChildren
in interfaceGraphicsAlgorithm
- Returns:
- the value of the 'Graphics Algorithm Children' containment reference list.
- See Also:
-
getParentGraphicsAlgorithm
- Specified by:
getParentGraphicsAlgorithm
in interfaceGraphicsAlgorithm
- Returns:
- the value of the 'Parent Graphics Algorithm' container reference.
- See Also:
-
basicGetParentGraphicsAlgorithm
-
basicSetParentGraphicsAlgorithm
public org.eclipse.emf.common.notify.NotificationChain basicSetParentGraphicsAlgorithm(GraphicsAlgorithm newParentGraphicsAlgorithm, org.eclipse.emf.common.notify.NotificationChain msgs) -
setParentGraphicsAlgorithm
- Specified by:
setParentGraphicsAlgorithm
in interfaceGraphicsAlgorithm
- Parameters:
newParentGraphicsAlgorithm
- the new value of the 'Parent Graphics Algorithm' container reference.- See Also:
-
getPictogramElement
- Specified by:
getPictogramElement
in interfaceGraphicsAlgorithm
- Returns:
- the value of the 'Pictogram Element' container reference.
- See Also:
-
basicGetPictogramElement
-
basicSetPictogramElement
public org.eclipse.emf.common.notify.NotificationChain basicSetPictogramElement(PictogramElement newPictogramElement, org.eclipse.emf.common.notify.NotificationChain msgs) -
setPictogramElement
- Specified by:
setPictogramElement
in interfaceGraphicsAlgorithm
- Parameters:
newPictogramElement
- the new value of the 'Pictogram Element' container reference.- See Also:
-
getWidth
public int getWidth()- Specified by:
getWidth
in interfaceGraphicsAlgorithm
- Returns:
- the value of the 'Width' attribute.
- See Also:
-
setWidth
public void setWidth(int newWidth) - Specified by:
setWidth
in interfaceGraphicsAlgorithm
- Parameters:
newWidth
- the new value of the 'Width' attribute.- See Also:
-
getHeight
public int getHeight()- Specified by:
getHeight
in interfaceGraphicsAlgorithm
- Returns:
- the value of the 'Height' attribute.
- See Also:
-
setHeight
public void setHeight(int newHeight) - Specified by:
setHeight
in interfaceGraphicsAlgorithm
- Parameters:
newHeight
- the new value of the 'Height' attribute.- See Also:
-
getX
public int getX()- Specified by:
getX
in interfaceGraphicsAlgorithm
- Returns:
- the value of the 'X' attribute.
- See Also:
-
setX
public void setX(int newX) - Specified by:
setX
in interfaceGraphicsAlgorithm
- Parameters:
newX
- the new value of the 'X' attribute.- See Also:
-
getY
public int getY()- Specified by:
getY
in interfaceGraphicsAlgorithm
- Returns:
- the value of the 'Y' attribute.
- See Also:
-
setY
public void setY(int newY) - Specified by:
setY
in interfaceGraphicsAlgorithm
- Parameters:
newY
- the new value of the 'Y' attribute.- See Also:
-
getStyle
- Specified by:
getStyle
in interfaceGraphicsAlgorithm
- Returns:
- the value of the 'Style' reference.
- See Also:
-
basicGetStyle
-
setStyle
- Specified by:
setStyle
in interfaceGraphicsAlgorithm
- Parameters:
newStyle
- the new value of the 'Style' reference.- See Also:
-
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 classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
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 classPropertyContainerImpl
-
eBasicRemoveFromContainerFeature
public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs) - Overrides:
eBasicRemoveFromContainerFeature
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eGet
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classPropertyContainerImpl
-
eSet
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classPropertyContainerImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classPropertyContainerImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classPropertyContainerImpl
-
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 classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-