Class AbstractStyleImpl
- 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.algorithms.styles.impl.AbstractStyleImpl
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject,AbstractStyle
public abstract class AbstractStyleImpl extends org.eclipse.emf.ecore.impl.EObjectImpl implements AbstractStyle
An implementation of the model object 'Abstract Style'.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 java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
-
-
Field Summary
Fields Modifier and Type Field Description protected ColorbackgroundThe cached value of the 'Background' reference.protected java.lang.BooleanfilledThe cached value of the 'Filled' attribute.protected static java.lang.BooleanFILLED_EDEFAULTThe default value of the 'Filled' attribute.protected booleanfilledESetThis is true if the Filled attribute has been set.protected ColorforegroundThe cached value of the 'Foreground' reference.protected static LineStyleLINE_STYLE_EDEFAULTThe default value of the 'Line Style' attribute.protected static java.lang.BooleanLINE_VISIBLE_EDEFAULTThe default value of the 'Line Visible' attribute.protected static java.lang.IntegerLINE_WIDTH_EDEFAULTThe default value of the 'Line Width' attribute.protected LineStylelineStyleThe cached value of the 'Line Style' attribute.protected java.lang.BooleanlineVisibleThe cached value of the 'Line Visible' attribute.protected booleanlineVisibleESetThis is true if the Line Visible attribute has been set.protected java.lang.IntegerlineWidthThe cached value of the 'Line Width' attribute.protected RenderingStylerenderingStyleThe cached value of the 'Rendering Style' containment reference.protected java.lang.DoubletransparencyThe cached value of the 'Transparency' attribute.protected static java.lang.DoubleTRANSPARENCY_EDEFAULTThe default value of the 'Transparency' attribute.-
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
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractStyleImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColorbasicGetBackground()ColorbasicGetForeground()RenderingStylebasicGetRenderingStyle()org.eclipse.emf.common.notify.NotificationChainbasicSetRenderingStyle(RenderingStyle newRenderingStyle, org.eclipse.emf.common.notify.NotificationChain msgs)java.lang.ObjecteGet(int featureID, boolean resolve, boolean coreType)org.eclipse.emf.common.notify.NotificationChaineInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)booleaneIsSet(int featureID)voideSet(int featureID, java.lang.Object newValue)protected org.eclipse.emf.ecore.EClasseStaticClass()voideUnset(int featureID)ColorgetBackground()java.lang.BooleangetFilled()ColorgetForeground()LineStylegetLineStyle()java.lang.BooleangetLineVisible()java.lang.IntegergetLineWidth()RenderingStylegetRenderingStyle()java.lang.DoublegetTransparency()booleanisSetFilled()booleanisSetLineVisible()voidsetBackground(Color newBackground)voidsetFilled(java.lang.Boolean newFilled)voidsetForeground(Color newForeground)voidsetLineStyle(LineStyle newLineStyle)voidsetLineVisible(java.lang.Boolean newLineVisible)voidsetLineWidth(java.lang.Integer newLineWidth)voidsetRenderingStyle(RenderingStyle newRenderingStyle)voidsetTransparency(java.lang.Double newTransparency)java.lang.StringtoString()voidunsetFilled()voidunsetLineVisible()-
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, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, 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, 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
-
-
-
-
Field Detail
-
background
protected Color background
The cached value of the 'Background' reference.- See Also:
getBackground()
-
foreground
protected Color foreground
The cached value of the 'Foreground' reference.- See Also:
getForeground()
-
LINE_WIDTH_EDEFAULT
protected static final java.lang.Integer LINE_WIDTH_EDEFAULT
The default value of the 'Line Width' attribute.- See Also:
getLineWidth()
-
lineWidth
protected java.lang.Integer lineWidth
The cached value of the 'Line Width' attribute.- See Also:
getLineWidth()
-
LINE_STYLE_EDEFAULT
protected static final LineStyle LINE_STYLE_EDEFAULT
The default value of the 'Line Style' attribute.- See Also:
getLineStyle()
-
lineStyle
protected LineStyle lineStyle
The cached value of the 'Line Style' attribute.- See Also:
getLineStyle()
-
FILLED_EDEFAULT
protected static final java.lang.Boolean FILLED_EDEFAULT
The default value of the 'Filled' attribute.- See Also:
getFilled()
-
filled
protected java.lang.Boolean filled
The cached value of the 'Filled' attribute.- See Also:
getFilled()
-
filledESet
protected boolean filledESet
This is true if the Filled attribute has been set.
-
LINE_VISIBLE_EDEFAULT
protected static final java.lang.Boolean LINE_VISIBLE_EDEFAULT
The default value of the 'Line Visible' attribute.- See Also:
getLineVisible()
-
lineVisible
protected java.lang.Boolean lineVisible
The cached value of the 'Line Visible' attribute.- See Also:
getLineVisible()
-
lineVisibleESet
protected boolean lineVisibleESet
This is true if the Line Visible attribute has been set.
-
renderingStyle
protected RenderingStyle renderingStyle
The cached value of the 'Rendering Style' containment reference.- See Also:
getRenderingStyle()
-
TRANSPARENCY_EDEFAULT
protected static final java.lang.Double TRANSPARENCY_EDEFAULT
The default value of the 'Transparency' attribute.- See Also:
getTransparency()
-
transparency
protected java.lang.Double transparency
The cached value of the 'Transparency' attribute.- See Also:
getTransparency()
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClassin classorg.eclipse.emf.ecore.impl.EObjectImpl
-
getBackground
public Color getBackground()
- Specified by:
getBackgroundin interfaceAbstractStyle- Returns:
- the value of the 'Background' reference.
- See Also:
AbstractStyle.setBackground(Color),StylesPackage.getAbstractStyle_Background()
-
basicGetBackground
public Color basicGetBackground()
-
setBackground
public void setBackground(Color newBackground)
- Specified by:
setBackgroundin interfaceAbstractStyle- Parameters:
newBackground- the new value of the 'Background' reference.- See Also:
AbstractStyle.getBackground()
-
getForeground
public Color getForeground()
- Specified by:
getForegroundin interfaceAbstractStyle- Returns:
- the value of the 'Foreground' reference.
- See Also:
AbstractStyle.setForeground(Color),StylesPackage.getAbstractStyle_Foreground()
-
basicGetForeground
public Color basicGetForeground()
-
setForeground
public void setForeground(Color newForeground)
- Specified by:
setForegroundin interfaceAbstractStyle- Parameters:
newForeground- the new value of the 'Foreground' reference.- See Also:
AbstractStyle.getForeground()
-
getLineWidth
public java.lang.Integer getLineWidth()
- Specified by:
getLineWidthin interfaceAbstractStyle- Returns:
- the value of the 'Line Width' attribute.
- See Also:
AbstractStyle.setLineWidth(Integer),StylesPackage.getAbstractStyle_LineWidth()
-
setLineWidth
public void setLineWidth(java.lang.Integer newLineWidth)
- Specified by:
setLineWidthin interfaceAbstractStyle- Parameters:
newLineWidth- the new value of the 'Line Width' attribute.- See Also:
AbstractStyle.getLineWidth()
-
getLineStyle
public LineStyle getLineStyle()
- Specified by:
getLineStylein interfaceAbstractStyle- Returns:
- the value of the 'Line Style' attribute.
- See Also:
LineStyle,AbstractStyle.setLineStyle(LineStyle),StylesPackage.getAbstractStyle_LineStyle()
-
setLineStyle
public void setLineStyle(LineStyle newLineStyle)
- Specified by:
setLineStylein interfaceAbstractStyle- Parameters:
newLineStyle- the new value of the 'Line Style' attribute.- See Also:
LineStyle,AbstractStyle.getLineStyle()
-
getFilled
public java.lang.Boolean getFilled()
- Specified by:
getFilledin interfaceAbstractStyle- Returns:
- the value of the 'Filled' attribute.
- See Also:
AbstractStyle.isSetFilled(),AbstractStyle.unsetFilled(),AbstractStyle.setFilled(Boolean),StylesPackage.getAbstractStyle_Filled()
-
setFilled
public void setFilled(java.lang.Boolean newFilled)
- Specified by:
setFilledin interfaceAbstractStyle- Parameters:
newFilled- the new value of the 'Filled' attribute.- See Also:
AbstractStyle.isSetFilled(),AbstractStyle.unsetFilled(),AbstractStyle.getFilled()
-
unsetFilled
public void unsetFilled()
- Specified by:
unsetFilledin interfaceAbstractStyle- See Also:
AbstractStyle.isSetFilled(),AbstractStyle.getFilled(),AbstractStyle.setFilled(Boolean)
-
isSetFilled
public boolean isSetFilled()
- Specified by:
isSetFilledin interfaceAbstractStyle- Returns:
- whether the value of the 'Filled' attribute is set.
- See Also:
AbstractStyle.unsetFilled(),AbstractStyle.getFilled(),AbstractStyle.setFilled(Boolean)
-
getLineVisible
public java.lang.Boolean getLineVisible()
- Specified by:
getLineVisiblein interfaceAbstractStyle- Returns:
- the value of the 'Line Visible' attribute.
- See Also:
AbstractStyle.isSetLineVisible(),AbstractStyle.unsetLineVisible(),AbstractStyle.setLineVisible(Boolean),StylesPackage.getAbstractStyle_LineVisible()
-
setLineVisible
public void setLineVisible(java.lang.Boolean newLineVisible)
- Specified by:
setLineVisiblein interfaceAbstractStyle- Parameters:
newLineVisible- the new value of the 'Line Visible' attribute.- See Also:
AbstractStyle.isSetLineVisible(),AbstractStyle.unsetLineVisible(),AbstractStyle.getLineVisible()
-
unsetLineVisible
public void unsetLineVisible()
- Specified by:
unsetLineVisiblein interfaceAbstractStyle- See Also:
AbstractStyle.isSetLineVisible(),AbstractStyle.getLineVisible(),AbstractStyle.setLineVisible(Boolean)
-
isSetLineVisible
public boolean isSetLineVisible()
- Specified by:
isSetLineVisiblein interfaceAbstractStyle- Returns:
- whether the value of the 'Line Visible' attribute is set.
- See Also:
AbstractStyle.unsetLineVisible(),AbstractStyle.getLineVisible(),AbstractStyle.setLineVisible(Boolean)
-
getRenderingStyle
public RenderingStyle getRenderingStyle()
- Specified by:
getRenderingStylein interfaceAbstractStyle- Returns:
- the value of the 'Rendering Style' containment reference.
- See Also:
AbstractStyle.setRenderingStyle(RenderingStyle),StylesPackage.getAbstractStyle_RenderingStyle()
-
basicGetRenderingStyle
public RenderingStyle basicGetRenderingStyle()
-
basicSetRenderingStyle
public org.eclipse.emf.common.notify.NotificationChain basicSetRenderingStyle(RenderingStyle newRenderingStyle, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setRenderingStyle
public void setRenderingStyle(RenderingStyle newRenderingStyle)
- Specified by:
setRenderingStylein interfaceAbstractStyle- Parameters:
newRenderingStyle- the new value of the 'Rendering Style' containment reference.- See Also:
AbstractStyle.getRenderingStyle()
-
getTransparency
public java.lang.Double getTransparency()
- Specified by:
getTransparencyin interfaceAbstractStyle- Returns:
- the value of the 'Transparency' attribute.
- See Also:
AbstractStyle.setTransparency(Double),StylesPackage.getAbstractStyle_Transparency()
-
setTransparency
public void setTransparency(java.lang.Double newTransparency)
- Specified by:
setTransparencyin interfaceAbstractStyle- Parameters:
newTransparency- the new value of the 'Transparency' attribute.- See Also:
AbstractStyle.getTransparency()
-
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 classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eGet
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
public void eSet(int featureID, java.lang.Object newValue)- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
public java.lang.String toString()
- Overrides:
toStringin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
-