org.eclipse.graphiti.mm.algorithms.styles.impl
Class AbstractStyleImpl

java.lang.Object
  extended by EObjectImpl
      extended by org.eclipse.graphiti.mm.algorithms.styles.impl.AbstractStyleImpl
All Implemented Interfaces:
AbstractStyle

public abstract class AbstractStyleImpl
extends EObjectImpl
implements AbstractStyle

An implementation of the model object 'Abstract Style'.

The following features are implemented:


Field Summary
protected  Color background
          The cached value of the 'Background' reference.
protected  Boolean filled
          The cached value of the 'Filled' attribute.
protected static Boolean FILLED_EDEFAULT
          The default value of the 'Filled' attribute.
protected  Color foreground
          The cached value of the 'Foreground' reference.
protected static LineStyle LINE_STYLE_EDEFAULT
          The default value of the 'Line Style' attribute.
protected static Boolean LINE_VISIBLE_EDEFAULT
          The default value of the 'Line Visible' attribute.
protected static Integer LINE_WIDTH_EDEFAULT
          The default value of the 'Line Width' attribute.
protected  LineStyle lineStyle
          The cached value of the 'Line Style' attribute.
protected  Boolean lineVisible
          The cached value of the 'Line Visible' attribute.
protected  Integer lineWidth
          The cached value of the 'Line Width' attribute.
protected  RenderingStyle renderingStyle
          The cached value of the 'Rendering Style' containment reference.
protected  Double transparency
          The cached value of the 'Transparency' attribute.
protected static Double TRANSPARENCY_EDEFAULT
          The default value of the 'Transparency' attribute.
 
Constructor Summary
protected AbstractStyleImpl()
           
 
Method Summary
 Color basicGetBackground()
           
 Color basicGetForeground()
           
 RenderingStyle basicGetRenderingStyle()
           
 NotificationChain basicSetRenderingStyle(RenderingStyle newRenderingStyle, NotificationChain msgs)
           
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 Color getBackground()
           
 Boolean getFilled()
           
 Color getForeground()
           
 LineStyle getLineStyle()
           
 Boolean getLineVisible()
           
 Integer getLineWidth()
           
 RenderingStyle getRenderingStyle()
           
 Double getTransparency()
           
 void setBackground(Color newBackground)
           
 void setFilled(Boolean newFilled)
           
 void setForeground(Color newForeground)
           
 void setLineStyle(LineStyle newLineStyle)
           
 void setLineVisible(Boolean newLineVisible)
           
 void setLineWidth(Integer newLineWidth)
           
 void setRenderingStyle(RenderingStyle newRenderingStyle)
           
 void setTransparency(Double newTransparency)
           
 String toString()
           
 
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 Integer LINE_WIDTH_EDEFAULT
The default value of the 'Line Width' attribute.

See Also:
getLineWidth()

lineWidth

protected 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 Boolean FILLED_EDEFAULT
The default value of the 'Filled' attribute.

See Also:
getFilled()

filled

protected Boolean filled
The cached value of the 'Filled' attribute.

See Also:
getFilled()

LINE_VISIBLE_EDEFAULT

protected static final Boolean LINE_VISIBLE_EDEFAULT
The default value of the 'Line Visible' attribute.

See Also:
getLineVisible()

lineVisible

protected Boolean lineVisible
The cached value of the 'Line Visible' attribute.

See Also:
getLineVisible()

renderingStyle

protected RenderingStyle renderingStyle
The cached value of the 'Rendering Style' containment reference.

See Also:
getRenderingStyle()

TRANSPARENCY_EDEFAULT

protected static final Double TRANSPARENCY_EDEFAULT
The default value of the 'Transparency' attribute.

See Also:
getTransparency()

transparency

protected Double transparency
The cached value of the 'Transparency' attribute.

See Also:
getTransparency()
Constructor Detail

AbstractStyleImpl

protected AbstractStyleImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()


getBackground

public Color getBackground()

Specified by:
getBackground in interface AbstractStyle
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:
setBackground in interface AbstractStyle
Parameters:
newBackground - the new value of the 'Background' reference.
See Also:
AbstractStyle.getBackground()

getForeground

public Color getForeground()

Specified by:
getForeground in interface AbstractStyle
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:
setForeground in interface AbstractStyle
Parameters:
newForeground - the new value of the 'Foreground' reference.
See Also:
AbstractStyle.getForeground()

getLineWidth

public Integer getLineWidth()

Specified by:
getLineWidth in interface AbstractStyle
Returns:
the value of the 'Line Width' attribute.
See Also:
AbstractStyle.setLineWidth(Integer), StylesPackage.getAbstractStyle_LineWidth()

setLineWidth

public void setLineWidth(Integer newLineWidth)

Specified by:
setLineWidth in interface AbstractStyle
Parameters:
newLineWidth - the new value of the 'Line Width' attribute.
See Also:
AbstractStyle.getLineWidth()

getLineStyle

public LineStyle getLineStyle()

Specified by:
getLineStyle in interface AbstractStyle
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:
setLineStyle in interface AbstractStyle
Parameters:
newLineStyle - the new value of the 'Line Style' attribute.
See Also:
LineStyle, AbstractStyle.getLineStyle()

getFilled

public Boolean getFilled()

Specified by:
getFilled in interface AbstractStyle
Returns:
the value of the 'Filled' attribute.
See Also:
AbstractStyle.setFilled(Boolean), StylesPackage.getAbstractStyle_Filled()

setFilled

public void setFilled(Boolean newFilled)

Specified by:
setFilled in interface AbstractStyle
Parameters:
newFilled - the new value of the 'Filled' attribute.
See Also:
AbstractStyle.getFilled()

getLineVisible

public Boolean getLineVisible()

Specified by:
getLineVisible in interface AbstractStyle
Returns:
the value of the 'Line Visible' attribute.
See Also:
AbstractStyle.setLineVisible(Boolean), StylesPackage.getAbstractStyle_LineVisible()

setLineVisible

public void setLineVisible(Boolean newLineVisible)

Specified by:
setLineVisible in interface AbstractStyle
Parameters:
newLineVisible - the new value of the 'Line Visible' attribute.
See Also:
AbstractStyle.getLineVisible()

getRenderingStyle

public RenderingStyle getRenderingStyle()

Specified by:
getRenderingStyle in interface AbstractStyle
Returns:
the value of the 'Rendering Style' containment reference.
See Also:
AbstractStyle.setRenderingStyle(RenderingStyle), StylesPackage.getAbstractStyle_RenderingStyle()

basicGetRenderingStyle

public RenderingStyle basicGetRenderingStyle()


basicSetRenderingStyle

public NotificationChain basicSetRenderingStyle(RenderingStyle newRenderingStyle,
                                                NotificationChain msgs)


setRenderingStyle

public void setRenderingStyle(RenderingStyle newRenderingStyle)

Specified by:
setRenderingStyle in interface AbstractStyle
Parameters:
newRenderingStyle - the new value of the 'Rendering Style' containment reference.
See Also:
AbstractStyle.getRenderingStyle()

getTransparency

public Double getTransparency()

Specified by:
getTransparency in interface AbstractStyle
Returns:
the value of the 'Transparency' attribute.
See Also:
AbstractStyle.setTransparency(Double), StylesPackage.getAbstractStyle_Transparency()

setTransparency

public void setTransparency(Double newTransparency)

Specified by:
setTransparency in interface AbstractStyle
Parameters:
newTransparency - the new value of the 'Transparency' attribute.
See Also:
AbstractStyle.getTransparency()

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)


eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)


eSet

public void eSet(int featureID,
                 Object newValue)


eUnset

public void eUnset(int featureID)


eIsSet

public boolean eIsSet(int featureID)


toString

public String toString()



Copyright (c) SAP AG 2005, 2010.