public class CustomContext extends LocationContext implements ICustomContext
Constructor and Description |
---|
CustomContext()
Creates a new
CustomContext . |
CustomContext(PictogramElement[] pictogramElements)
Creates a new
CustomContext . |
Modifier and Type | Method and Description |
---|---|
GraphicsAlgorithm |
getInnerGraphicsAlgorithm()
Gets the inner graphics algorithm.
|
PictogramElement |
getInnerPictogramElement()
Gets the inner pictogram element.
|
PictogramElement[] |
getPictogramElements()
Gets the pictogram elements.
|
void |
setInnerGraphicsAlgorithm(GraphicsAlgorithm innerGraphicsAlgorithm)
Sets the inner graphics algorithm.
|
void |
setInnerPictogramElement(PictogramElement innerPictogramElement)
Sets the inner pictogram element.
|
void |
setPictogramElements(PictogramElement[] pictogramElements)
Sets the pictogram elements.
|
java.lang.String |
toString() |
getX, getY, setLocation, setX, setY
getProperty, getPropertyKeys, putProperty
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getX, getY
getProperty, getPropertyKeys, putProperty
public CustomContext()
CustomContext
.public CustomContext(PictogramElement[] pictogramElements)
CustomContext
.pictogramElements
- the pictogram elementspublic GraphicsAlgorithm getInnerGraphicsAlgorithm()
ICustomContext
getInnerGraphicsAlgorithm
in interface ICustomContext
public PictogramElement getInnerPictogramElement()
ICustomContext
getInnerPictogramElement
in interface ICustomContext
public PictogramElement[] getPictogramElements()
ICustomContext
getPictogramElements
in interface ICustomContext
public void setInnerGraphicsAlgorithm(GraphicsAlgorithm innerGraphicsAlgorithm)
innerGraphicsAlgorithm
- the new inner graphics algorithmpublic void setInnerPictogramElement(PictogramElement innerPictogramElement)
innerPictogramElement
- the new inner pictogram elementpublic void setPictogramElements(PictogramElement[] pictogramElements)
pictogramElements
- The pictogramElements to set.public java.lang.String toString()
toString
in class LocationContext