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.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 ColorThe cached value of the 'Background' reference.protected BooleanThe cached value of the 'Filled' attribute.protected static final BooleanThe default value of the 'Filled' attribute.protected booleanThis is true if the Filled attribute has been set.protected ColorThe 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 intThe cached value of the 'Height' attribute.protected static final intThe default value of the 'Height' attribute.protected static final LineStyleThe default value of the 'Line Style' attribute.protected static final BooleanThe default value of the 'Line Visible' attribute.protected static final IntegerThe default value of the 'Line Width' attribute.protected LineStyleThe cached value of the 'Line Style' attribute.protected BooleanThe cached value of the 'Line Visible' attribute.protected booleanThis is true if the Line Visible attribute has been set.protected IntegerThe cached value of the 'Line Width' attribute.protected RenderingStyleThe cached value of the 'Rendering Style' containment reference.protected StyleThe cached value of the 'Style' reference.protected DoubleThe cached value of the 'Transparency' attribute.protected static final DoubleThe default value of the 'Transparency' attribute.protected intThe cached value of the 'Width' attribute.protected static final intThe default value of the 'Width' attribute.protected intThe cached value of the 'X' attribute.protected static final intThe default value of the 'X' attribute.protected intThe cached value of the 'Y' attribute.protected static final intThe default value of the 'Y' attribute.Fields 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 TypeMethodDescriptionorg.eclipse.emf.common.notify.NotificationChainbasicSetParentGraphicsAlgorithm(GraphicsAlgorithm newParentGraphicsAlgorithm, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetPictogramElement(PictogramElement newPictogramElement, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetRenderingStyle(RenderingStyle newRenderingStyle, org.eclipse.emf.common.notify.NotificationChain msgs) inteBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) org.eclipse.emf.common.notify.NotificationChaineBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs) 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<GraphicsAlgorithm>intgetStyle()intgetWidth()intgetX()intgetY()booleanbooleanvoidsetBackground(Color newBackground) voidvoidsetForeground(Color newForeground) voidsetHeight(int newHeight) voidsetLineStyle(LineStyle newLineStyle) voidsetLineVisible(Boolean newLineVisible) voidsetLineWidth(Integer newLineWidth) voidsetParentGraphicsAlgorithm(GraphicsAlgorithm newParentGraphicsAlgorithm) voidsetPictogramElement(PictogramElement newPictogramElement) voidsetRenderingStyle(RenderingStyle newRenderingStyle) voidvoidsetTransparency(Double newTransparency) voidsetWidth(int newWidth) voidsetX(int newX) voidsetY(int newY) toString()voidvoidMethods 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.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.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:
eStaticClassin classGraphicsAlgorithmContainerImpl
-
getBackground
- Specified by:
getBackgroundin interfaceAbstractStyle- Returns:
- the value of the 'Background' reference.
- See Also:
-
basicGetBackground
-
setBackground
- Specified by:
setBackgroundin interfaceAbstractStyle- Parameters:
newBackground- the new value of the 'Background' reference.- See Also:
-
getForeground
- Specified by:
getForegroundin interfaceAbstractStyle- Returns:
- the value of the 'Foreground' reference.
- See Also:
-
basicGetForeground
-
setForeground
- Specified by:
setForegroundin interfaceAbstractStyle- Parameters:
newForeground- the new value of the 'Foreground' reference.- See Also:
-
getLineWidth
- Specified by:
getLineWidthin interfaceAbstractStyle- Returns:
- the value of the 'Line Width' attribute.
- See Also:
-
setLineWidth
- Specified by:
setLineWidthin interfaceAbstractStyle- Parameters:
newLineWidth- the new value of the 'Line Width' attribute.- See Also:
-
getLineStyle
- Specified by:
getLineStylein interfaceAbstractStyle- Returns:
- the value of the 'Line Style' attribute.
- See Also:
-
setLineStyle
- Specified by:
setLineStylein interfaceAbstractStyle- Parameters:
newLineStyle- the new value of the 'Line Style' attribute.- See Also:
-
getFilled
- Specified by:
getFilledin interfaceAbstractStyle- Returns:
- the value of the 'Filled' attribute.
- See Also:
-
setFilled
- Specified by:
setFilledin interfaceAbstractStyle- Parameters:
newFilled- the new value of the 'Filled' attribute.- See Also:
-
unsetFilled
public void unsetFilled()- Specified by:
unsetFilledin interfaceAbstractStyle- See Also:
-
isSetFilled
public boolean isSetFilled()- Specified by:
isSetFilledin interfaceAbstractStyle- Returns:
- whether the value of the 'Filled' attribute is set.
- See Also:
-
getLineVisible
- Specified by:
getLineVisiblein interfaceAbstractStyle- Returns:
- the value of the 'Line Visible' attribute.
- See Also:
-
setLineVisible
- Specified by:
setLineVisiblein interfaceAbstractStyle- Parameters:
newLineVisible- the new value of the 'Line Visible' attribute.- See Also:
-
unsetLineVisible
public void unsetLineVisible()- Specified by:
unsetLineVisiblein interfaceAbstractStyle- See Also:
-
isSetLineVisible
public boolean isSetLineVisible()- Specified by:
isSetLineVisiblein interfaceAbstractStyle- Returns:
- whether the value of the 'Line Visible' attribute is set.
- See Also:
-
getRenderingStyle
- Specified by:
getRenderingStylein 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:
setRenderingStylein interfaceAbstractStyle- Parameters:
newRenderingStyle- the new value of the 'Rendering Style' containment reference.- See Also:
-
getTransparency
- Specified by:
getTransparencyin interfaceAbstractStyle- Returns:
- the value of the 'Transparency' attribute.
- See Also:
-
setTransparency
- Specified by:
setTransparencyin interfaceAbstractStyle- Parameters:
newTransparency- the new value of the 'Transparency' attribute.- See Also:
-
getGraphicsAlgorithmChildren
- Specified by:
getGraphicsAlgorithmChildrenin interfaceGraphicsAlgorithm- Returns:
- the value of the 'Graphics Algorithm Children' containment reference list.
- See Also:
-
getParentGraphicsAlgorithm
- Specified by:
getParentGraphicsAlgorithmin 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:
setParentGraphicsAlgorithmin interfaceGraphicsAlgorithm- Parameters:
newParentGraphicsAlgorithm- the new value of the 'Parent Graphics Algorithm' container reference.- See Also:
-
getPictogramElement
- Specified by:
getPictogramElementin 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:
setPictogramElementin interfaceGraphicsAlgorithm- Parameters:
newPictogramElement- the new value of the 'Pictogram Element' container reference.- See Also:
-
getWidth
public int getWidth()- Specified by:
getWidthin interfaceGraphicsAlgorithm- Returns:
- the value of the 'Width' attribute.
- See Also:
-
setWidth
public void setWidth(int newWidth) - Specified by:
setWidthin interfaceGraphicsAlgorithm- Parameters:
newWidth- the new value of the 'Width' attribute.- See Also:
-
getHeight
public int getHeight()- Specified by:
getHeightin interfaceGraphicsAlgorithm- Returns:
- the value of the 'Height' attribute.
- See Also:
-
setHeight
public void setHeight(int newHeight) - Specified by:
setHeightin interfaceGraphicsAlgorithm- Parameters:
newHeight- the new value of the 'Height' attribute.- See Also:
-
getX
public int getX()- Specified by:
getXin interfaceGraphicsAlgorithm- Returns:
- the value of the 'X' attribute.
- See Also:
-
setX
public void setX(int newX) - Specified by:
setXin interfaceGraphicsAlgorithm- Parameters:
newX- the new value of the 'X' attribute.- See Also:
-
getY
public int getY()- Specified by:
getYin interfaceGraphicsAlgorithm- Returns:
- the value of the 'Y' attribute.
- See Also:
-
setY
public void setY(int newY) - Specified by:
setYin interfaceGraphicsAlgorithm- Parameters:
newY- the new value of the 'Y' attribute.- See Also:
-
getStyle
- Specified by:
getStylein interfaceGraphicsAlgorithm- Returns:
- the value of the 'Style' reference.
- See Also:
-
basicGetStyle
-
setStyle
- Specified by:
setStylein 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:
eInverseAddin 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:
eInverseRemovein classPropertyContainerImpl
-
eBasicRemoveFromContainerFeature
public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs) - Overrides:
eBasicRemoveFromContainerFeaturein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eGet
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classPropertyContainerImpl
-
eSet
- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classPropertyContainerImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classPropertyContainerImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classPropertyContainerImpl
-
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 classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-