|
||||||||||
| 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:
BackgroundForegroundLine WidthLine StyleFilledLine VisibleRendering StyleTransparencyGraphics Algorithm ChildrenParent Graphics AlgorithmPictogram ElementWidthHeightXYStyle
| 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 boolean |
filledESet
This is true if the Filled attribute has been set. |
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 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 boolean |
lineVisibleESet
This is true if the Line Visible attribute has been set. |
protected 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 Double |
transparency
The cached value of the ' Transparency' attribute. |
protected static 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()
|
| 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 Integer LINE_WIDTH_EDEFAULT
Line Width' attribute.
getLineWidth()protected 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 Boolean FILLED_EDEFAULT
Filled' attribute.
getFilled()protected Boolean filled
Filled' attribute.
getFilled()protected boolean filledESet
protected static final Boolean LINE_VISIBLE_EDEFAULT
Line Visible' attribute.
getLineVisible()protected Boolean lineVisible
Line Visible' attribute.
getLineVisible()protected boolean lineVisibleESet
protected RenderingStyle renderingStyle
Rendering Style' containment reference.
getRenderingStyle()protected static final Double TRANSPARENCY_EDEFAULT
Transparency' attribute.
getTransparency()protected 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 GraphicsAlgorithmContainerImplpublic Color getBackground()
getBackground in interface AbstractStyleAbstractStyle.setBackground(Color),
StylesPackage.getAbstractStyle_Background()public Color basicGetBackground()
public void setBackground(Color newBackground)
setBackground in interface AbstractStylenewBackground - the new value of the 'Background' reference.AbstractStyle.getBackground()public Color getForeground()
getForeground in interface AbstractStyleAbstractStyle.setForeground(Color),
StylesPackage.getAbstractStyle_Foreground()public Color basicGetForeground()
public void setForeground(Color newForeground)
setForeground in interface AbstractStylenewForeground - the new value of the 'Foreground' reference.AbstractStyle.getForeground()public Integer getLineWidth()
getLineWidth in interface AbstractStyleAbstractStyle.setLineWidth(Integer),
StylesPackage.getAbstractStyle_LineWidth()public void setLineWidth(Integer newLineWidth)
setLineWidth in interface AbstractStylenewLineWidth - the new value of the 'Line Width' attribute.AbstractStyle.getLineWidth()public LineStyle getLineStyle()
getLineStyle in interface AbstractStyleLineStyle,
AbstractStyle.setLineStyle(LineStyle),
StylesPackage.getAbstractStyle_LineStyle()public void setLineStyle(LineStyle newLineStyle)
setLineStyle in interface AbstractStylenewLineStyle - the new value of the 'Line Style' attribute.LineStyle,
AbstractStyle.getLineStyle()public Boolean getFilled()
getFilled in interface AbstractStyleAbstractStyle.isSetFilled(),
AbstractStyle.unsetFilled(),
AbstractStyle.setFilled(Boolean),
StylesPackage.getAbstractStyle_Filled()public void setFilled(Boolean newFilled)
setFilled in interface AbstractStylenewFilled - the new value of the 'Filled' attribute.AbstractStyle.isSetFilled(),
AbstractStyle.unsetFilled(),
AbstractStyle.getFilled()public void unsetFilled()
unsetFilled in interface AbstractStyleAbstractStyle.isSetFilled(),
AbstractStyle.getFilled(),
AbstractStyle.setFilled(Boolean)public boolean isSetFilled()
isSetFilled in interface AbstractStyleAbstractStyle.unsetFilled(),
AbstractStyle.getFilled(),
AbstractStyle.setFilled(Boolean)public Boolean getLineVisible()
getLineVisible in interface AbstractStyleAbstractStyle.isSetLineVisible(),
AbstractStyle.unsetLineVisible(),
AbstractStyle.setLineVisible(Boolean),
StylesPackage.getAbstractStyle_LineVisible()public void setLineVisible(Boolean newLineVisible)
setLineVisible in interface AbstractStylenewLineVisible - the new value of the 'Line Visible' attribute.AbstractStyle.isSetLineVisible(),
AbstractStyle.unsetLineVisible(),
AbstractStyle.getLineVisible()public void unsetLineVisible()
unsetLineVisible in interface AbstractStyleAbstractStyle.isSetLineVisible(),
AbstractStyle.getLineVisible(),
AbstractStyle.setLineVisible(Boolean)public boolean isSetLineVisible()
isSetLineVisible in interface AbstractStyleAbstractStyle.unsetLineVisible(),
AbstractStyle.getLineVisible(),
AbstractStyle.setLineVisible(Boolean)public RenderingStyle getRenderingStyle()
getRenderingStyle in interface AbstractStyleAbstractStyle.setRenderingStyle(RenderingStyle),
StylesPackage.getAbstractStyle_RenderingStyle()public RenderingStyle basicGetRenderingStyle()
public NotificationChain basicSetRenderingStyle(RenderingStyle newRenderingStyle,
NotificationChain msgs)
public void setRenderingStyle(RenderingStyle newRenderingStyle)
setRenderingStyle in interface AbstractStylenewRenderingStyle - the new value of the 'Rendering Style' containment reference.AbstractStyle.getRenderingStyle()public Double getTransparency()
getTransparency in interface AbstractStyleAbstractStyle.setTransparency(Double),
StylesPackage.getAbstractStyle_Transparency()public void setTransparency(Double newTransparency)
setTransparency in interface AbstractStylenewTransparency - the new value of the 'Transparency' attribute.AbstractStyle.getTransparency()publicgetGraphicsAlgorithmChildren()
getGraphicsAlgorithmChildren in interface GraphicsAlgorithmAlgorithmsPackage.getGraphicsAlgorithm_GraphicsAlgorithmChildren(),
GraphicsAlgorithm.getParentGraphicsAlgorithm()public GraphicsAlgorithm getParentGraphicsAlgorithm()
getParentGraphicsAlgorithm in interface GraphicsAlgorithmGraphicsAlgorithm.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 GraphicsAlgorithmnewParentGraphicsAlgorithm - the new value of the 'Parent Graphics Algorithm' container reference.GraphicsAlgorithm.getParentGraphicsAlgorithm()public PictogramElement getPictogramElement()
getPictogramElement in interface GraphicsAlgorithmGraphicsAlgorithm.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 GraphicsAlgorithmnewPictogramElement - the new value of the 'Pictogram Element' container reference.GraphicsAlgorithm.getPictogramElement()public int getWidth()
getWidth in interface GraphicsAlgorithmGraphicsAlgorithm.setWidth(int),
AlgorithmsPackage.getGraphicsAlgorithm_Width()public void setWidth(int newWidth)
setWidth in interface GraphicsAlgorithmnewWidth - the new value of the 'Width' attribute.GraphicsAlgorithm.getWidth()public int getHeight()
getHeight in interface GraphicsAlgorithmGraphicsAlgorithm.setHeight(int),
AlgorithmsPackage.getGraphicsAlgorithm_Height()public void setHeight(int newHeight)
setHeight in interface GraphicsAlgorithmnewHeight - the new value of the 'Height' attribute.GraphicsAlgorithm.getHeight()public int getX()
getX in interface GraphicsAlgorithmGraphicsAlgorithm.setX(int),
AlgorithmsPackage.getGraphicsAlgorithm_X()public void setX(int newX)
setX in interface GraphicsAlgorithmnewX - the new value of the 'X' attribute.GraphicsAlgorithm.getX()public int getY()
getY in interface GraphicsAlgorithmGraphicsAlgorithm.setY(int),
AlgorithmsPackage.getGraphicsAlgorithm_Y()public void setY(int newY)
setY in interface GraphicsAlgorithmnewY - the new value of the 'Y' attribute.GraphicsAlgorithm.getY()public Style getStyle()
getStyle in interface GraphicsAlgorithmGraphicsAlgorithm.setStyle(Style),
AlgorithmsPackage.getGraphicsAlgorithm_Style()public Style basicGetStyle()
public void setStyle(Style newStyle)
setStyle in interface GraphicsAlgorithmnewStyle - 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 PropertyContainerImplpublic NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
public Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in class PropertyContainerImpl
public void eSet(int featureID,
Object newValue)
eSet in class PropertyContainerImplpublic void eUnset(int featureID)
eUnset in class PropertyContainerImplpublic boolean eIsSet(int featureID)
eIsSet in class PropertyContainerImpl
public int eBaseStructuralFeatureID(int derivedFeatureID,
Class<?> baseClass)
public int eDerivedStructuralFeatureID(int baseFeatureID,
Class<?> baseClass)
public String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||