|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEObjectImpl
org.eclipse.graphiti.mm.impl.PropertyContainerImpl
org.eclipse.graphiti.mm.impl.GraphicsAlgorithmContainerImpl
org.eclipse.graphiti.mm.algorithms.impl.GraphicsAlgorithmImpl
public abstract class GraphicsAlgorithmImpl
An implementation of the model object 'Graphics Algorithm'.
The following features are implemented:
Background
Foreground
Line Width
Line Style
Filled
Line Visible
Rendering Style
Transparency
Graphics Algorithm Children
Parent Graphics Algorithm
Pictogram Element
Width
Height
X
Y
Style
Field Summary | |
---|---|
protected Color |
background
The cached value of the ' Background ' reference. |
protected java.lang.Boolean |
filled
The cached value of the ' Filled ' attribute. |
protected static java.lang.Boolean |
FILLED_EDEFAULT
The default value of the ' Filled ' attribute. |
protected Color |
foreground
The cached value of the ' Foreground ' reference. |
protected |
graphicsAlgorithmChildren
The cached value of the ' Graphics Algorithm Children ' containment reference list. |
protected int |
height
The cached value of the ' Height ' attribute. |
protected static int |
HEIGHT_EDEFAULT
The default value of the ' Height ' attribute. |
protected static LineStyle |
LINE_STYLE_EDEFAULT
The default value of the ' Line Style ' attribute. |
protected static java.lang.Boolean |
LINE_VISIBLE_EDEFAULT
The default value of the ' Line Visible ' attribute. |
protected static java.lang.Integer |
LINE_WIDTH_EDEFAULT
The default value of the ' Line Width ' attribute. |
protected LineStyle |
lineStyle
The cached value of the ' Line Style ' attribute. |
protected java.lang.Boolean |
lineVisible
The cached value of the ' Line Visible ' attribute. |
protected java.lang.Integer |
lineWidth
The cached value of the ' Line Width ' attribute. |
protected RenderingStyle |
renderingStyle
The cached value of the ' Rendering Style ' containment reference. |
protected Style |
style
The cached value of the ' Style ' reference. |
protected java.lang.Double |
transparency
The cached value of the ' Transparency ' attribute. |
protected static java.lang.Double |
TRANSPARENCY_EDEFAULT
The default value of the ' Transparency ' attribute. |
protected int |
width
The cached value of the ' Width ' attribute. |
protected static int |
WIDTH_EDEFAULT
The default value of the ' Width ' attribute. |
protected int |
x
The cached value of the ' X ' attribute. |
protected static int |
X_EDEFAULT
The default value of the ' X ' attribute. |
protected int |
y
The cached value of the ' Y ' attribute. |
protected static int |
Y_EDEFAULT
The default value of the ' Y ' attribute. |
Fields inherited from class org.eclipse.graphiti.mm.impl.PropertyContainerImpl |
---|
properties |
Constructor Summary | |
---|---|
protected |
GraphicsAlgorithmImpl()
|
Method Summary | |
---|---|
Color |
basicGetBackground()
|
Color |
basicGetForeground()
|
GraphicsAlgorithm |
basicGetParentGraphicsAlgorithm()
|
PictogramElement |
basicGetPictogramElement()
|
RenderingStyle |
basicGetRenderingStyle()
|
Style |
basicGetStyle()
|
NotificationChain |
basicSetParentGraphicsAlgorithm(GraphicsAlgorithm newParentGraphicsAlgorithm,
NotificationChain msgs)
|
NotificationChain |
basicSetPictogramElement(PictogramElement newPictogramElement,
NotificationChain msgs)
|
NotificationChain |
basicSetRenderingStyle(RenderingStyle newRenderingStyle,
NotificationChain msgs)
|
int |
eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass)
|
NotificationChain |
eBasicRemoveFromContainerFeature(NotificationChain msgs)
|
int |
eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass)
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
Color |
getBackground()
|
java.lang.Boolean |
getFilled()
|
Color |
getForeground()
|
|
getGraphicsAlgorithmChildren()
|
int |
getHeight()
|
LineStyle |
getLineStyle()
|
java.lang.Boolean |
getLineVisible()
|
java.lang.Integer |
getLineWidth()
|
GraphicsAlgorithm |
getParentGraphicsAlgorithm()
|
PictogramElement |
getPictogramElement()
|
RenderingStyle |
getRenderingStyle()
|
Style |
getStyle()
|
java.lang.Double |
getTransparency()
|
int |
getWidth()
|
int |
getX()
|
int |
getY()
|
void |
setBackground(Color newBackground)
|
void |
setFilled(java.lang.Boolean newFilled)
|
void |
setForeground(Color newForeground)
|
void |
setHeight(int newHeight)
|
void |
setLineStyle(LineStyle newLineStyle)
|
void |
setLineVisible(java.lang.Boolean newLineVisible)
|
void |
setLineWidth(java.lang.Integer newLineWidth)
|
void |
setParentGraphicsAlgorithm(GraphicsAlgorithm newParentGraphicsAlgorithm)
|
void |
setPictogramElement(PictogramElement newPictogramElement)
|
void |
setRenderingStyle(RenderingStyle newRenderingStyle)
|
void |
setStyle(Style newStyle)
|
void |
setTransparency(java.lang.Double newTransparency)
|
void |
setWidth(int newWidth)
|
void |
setX(int newX)
|
void |
setY(int newY)
|
java.lang.String |
toString()
|
Methods inherited from class org.eclipse.graphiti.mm.impl.PropertyContainerImpl |
---|
getProperties |
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.PropertyContainer |
---|
getProperties |
Field Detail |
---|
protected Color background
Background
' reference.
getBackground()
protected Color foreground
Foreground
' reference.
getForeground()
protected static final java.lang.Integer LINE_WIDTH_EDEFAULT
Line Width
' attribute.
getLineWidth()
protected java.lang.Integer lineWidth
Line Width
' attribute.
getLineWidth()
protected static final LineStyle LINE_STYLE_EDEFAULT
Line Style
' attribute.
getLineStyle()
protected LineStyle lineStyle
Line Style
' attribute.
getLineStyle()
protected static final java.lang.Boolean FILLED_EDEFAULT
Filled
' attribute.
getFilled()
protected java.lang.Boolean filled
Filled
' attribute.
getFilled()
protected static final java.lang.Boolean LINE_VISIBLE_EDEFAULT
Line Visible
' attribute.
getLineVisible()
protected java.lang.Boolean lineVisible
Line Visible
' attribute.
getLineVisible()
protected RenderingStyle renderingStyle
Rendering Style
' containment reference.
getRenderingStyle()
protected static final java.lang.Double TRANSPARENCY_EDEFAULT
Transparency
' attribute.
getTransparency()
protected java.lang.Double transparency
Transparency
' attribute.
getTransparency()
protectedgraphicsAlgorithmChildren
Graphics Algorithm Children
' containment reference list.
getGraphicsAlgorithmChildren()
protected static final int WIDTH_EDEFAULT
Width
' attribute.
getWidth()
,
Constant Field Valuesprotected int width
Width
' attribute.
getWidth()
protected static final int HEIGHT_EDEFAULT
Height
' attribute.
getHeight()
,
Constant Field Valuesprotected int height
Height
' attribute.
getHeight()
protected static final int X_EDEFAULT
X
' attribute.
getX()
,
Constant Field Valuesprotected int x
X
' attribute.
getX()
protected static final int Y_EDEFAULT
Y
' attribute.
getY()
,
Constant Field Valuesprotected int y
Y
' attribute.
getY()
protected Style style
Style
' reference.
getStyle()
Constructor Detail |
---|
protected GraphicsAlgorithmImpl()
Method Detail |
---|
protected EClass eStaticClass()
eStaticClass
in class GraphicsAlgorithmContainerImpl
public Color getBackground()
getBackground
in interface AbstractStyle
AbstractStyle.setBackground(Color)
,
StylesPackage.getAbstractStyle_Background()
public Color basicGetBackground()
public void setBackground(Color newBackground)
setBackground
in interface AbstractStyle
newBackground
- the new value of the 'Background' reference.AbstractStyle.getBackground()
public Color getForeground()
getForeground
in interface AbstractStyle
AbstractStyle.setForeground(Color)
,
StylesPackage.getAbstractStyle_Foreground()
public Color basicGetForeground()
public void setForeground(Color newForeground)
setForeground
in interface AbstractStyle
newForeground
- the new value of the 'Foreground' reference.AbstractStyle.getForeground()
public java.lang.Integer getLineWidth()
getLineWidth
in interface AbstractStyle
AbstractStyle.setLineWidth(Integer)
,
StylesPackage.getAbstractStyle_LineWidth()
public void setLineWidth(java.lang.Integer newLineWidth)
setLineWidth
in interface AbstractStyle
newLineWidth
- the new value of the 'Line Width' attribute.AbstractStyle.getLineWidth()
public LineStyle getLineStyle()
getLineStyle
in interface AbstractStyle
LineStyle
,
AbstractStyle.setLineStyle(LineStyle)
,
StylesPackage.getAbstractStyle_LineStyle()
public void setLineStyle(LineStyle newLineStyle)
setLineStyle
in interface AbstractStyle
newLineStyle
- the new value of the 'Line Style' attribute.LineStyle
,
AbstractStyle.getLineStyle()
public java.lang.Boolean getFilled()
getFilled
in interface AbstractStyle
AbstractStyle.setFilled(Boolean)
,
StylesPackage.getAbstractStyle_Filled()
public void setFilled(java.lang.Boolean newFilled)
setFilled
in interface AbstractStyle
newFilled
- the new value of the 'Filled' attribute.AbstractStyle.getFilled()
public java.lang.Boolean getLineVisible()
getLineVisible
in interface AbstractStyle
AbstractStyle.setLineVisible(Boolean)
,
StylesPackage.getAbstractStyle_LineVisible()
public void setLineVisible(java.lang.Boolean newLineVisible)
setLineVisible
in interface AbstractStyle
newLineVisible
- the new value of the 'Line Visible' attribute.AbstractStyle.getLineVisible()
public RenderingStyle getRenderingStyle()
getRenderingStyle
in interface AbstractStyle
AbstractStyle.setRenderingStyle(RenderingStyle)
,
StylesPackage.getAbstractStyle_RenderingStyle()
public RenderingStyle basicGetRenderingStyle()
public NotificationChain basicSetRenderingStyle(RenderingStyle newRenderingStyle, NotificationChain msgs)
public void setRenderingStyle(RenderingStyle newRenderingStyle)
setRenderingStyle
in interface AbstractStyle
newRenderingStyle
- the new value of the 'Rendering Style' containment reference.AbstractStyle.getRenderingStyle()
public java.lang.Double getTransparency()
getTransparency
in interface AbstractStyle
AbstractStyle.setTransparency(Double)
,
StylesPackage.getAbstractStyle_Transparency()
public void setTransparency(java.lang.Double newTransparency)
setTransparency
in interface AbstractStyle
newTransparency
- the new value of the 'Transparency' attribute.AbstractStyle.getTransparency()
publicgetGraphicsAlgorithmChildren()
getGraphicsAlgorithmChildren
in interface GraphicsAlgorithm
AlgorithmsPackage.getGraphicsAlgorithm_GraphicsAlgorithmChildren()
,
GraphicsAlgorithm.getParentGraphicsAlgorithm()
public GraphicsAlgorithm getParentGraphicsAlgorithm()
getParentGraphicsAlgorithm
in interface GraphicsAlgorithm
GraphicsAlgorithm.setParentGraphicsAlgorithm(GraphicsAlgorithm)
,
AlgorithmsPackage.getGraphicsAlgorithm_ParentGraphicsAlgorithm()
,
GraphicsAlgorithm.getGraphicsAlgorithmChildren()
public GraphicsAlgorithm basicGetParentGraphicsAlgorithm()
public NotificationChain basicSetParentGraphicsAlgorithm(GraphicsAlgorithm newParentGraphicsAlgorithm, NotificationChain msgs)
public void setParentGraphicsAlgorithm(GraphicsAlgorithm newParentGraphicsAlgorithm)
setParentGraphicsAlgorithm
in interface GraphicsAlgorithm
newParentGraphicsAlgorithm
- the new value of the 'Parent Graphics Algorithm' container reference.GraphicsAlgorithm.getParentGraphicsAlgorithm()
public PictogramElement getPictogramElement()
getPictogramElement
in interface GraphicsAlgorithm
GraphicsAlgorithm.setPictogramElement(PictogramElement)
,
AlgorithmsPackage.getGraphicsAlgorithm_PictogramElement()
,
PictogramElement.getGraphicsAlgorithm()
public PictogramElement basicGetPictogramElement()
public NotificationChain basicSetPictogramElement(PictogramElement newPictogramElement, NotificationChain msgs)
public void setPictogramElement(PictogramElement newPictogramElement)
setPictogramElement
in interface GraphicsAlgorithm
newPictogramElement
- the new value of the 'Pictogram Element' container reference.GraphicsAlgorithm.getPictogramElement()
public int getWidth()
getWidth
in interface GraphicsAlgorithm
GraphicsAlgorithm.setWidth(int)
,
AlgorithmsPackage.getGraphicsAlgorithm_Width()
public void setWidth(int newWidth)
setWidth
in interface GraphicsAlgorithm
newWidth
- the new value of the 'Width' attribute.GraphicsAlgorithm.getWidth()
public int getHeight()
getHeight
in interface GraphicsAlgorithm
GraphicsAlgorithm.setHeight(int)
,
AlgorithmsPackage.getGraphicsAlgorithm_Height()
public void setHeight(int newHeight)
setHeight
in interface GraphicsAlgorithm
newHeight
- the new value of the 'Height' attribute.GraphicsAlgorithm.getHeight()
public int getX()
getX
in interface GraphicsAlgorithm
GraphicsAlgorithm.setX(int)
,
AlgorithmsPackage.getGraphicsAlgorithm_X()
public void setX(int newX)
setX
in interface GraphicsAlgorithm
newX
- the new value of the 'X' attribute.GraphicsAlgorithm.getX()
public int getY()
getY
in interface GraphicsAlgorithm
GraphicsAlgorithm.setY(int)
,
AlgorithmsPackage.getGraphicsAlgorithm_Y()
public void setY(int newY)
setY
in interface GraphicsAlgorithm
newY
- the new value of the 'Y' attribute.GraphicsAlgorithm.getY()
public Style getStyle()
getStyle
in interface GraphicsAlgorithm
GraphicsAlgorithm.setStyle(Style)
,
AlgorithmsPackage.getGraphicsAlgorithm_Style()
public Style basicGetStyle()
public void setStyle(Style newStyle)
setStyle
in interface GraphicsAlgorithm
newStyle
- the new value of the 'Style' reference.GraphicsAlgorithm.getStyle()
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class PropertyContainerImpl
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in class PropertyContainerImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in class PropertyContainerImpl
public void eUnset(int featureID)
eUnset
in class PropertyContainerImpl
public boolean eIsSet(int featureID)
eIsSet
in class PropertyContainerImpl
public int eBaseStructuralFeatureID(int derivedFeatureID, java.lang.Class<?> baseClass)
public int eDerivedStructuralFeatureID(int baseFeatureID, java.lang.Class<?> baseClass)
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |