Class ImageDecorator
java.lang.Object
org.eclipse.graphiti.tb.AbstractDecorator
org.eclipse.graphiti.tb.ImageDecorator
- All Implemented Interfaces:
ILocation, IDecorator, IImageDecorator
Image decorators can be used to add an image to the visualization of a shape
without modifying the dirty state of the displaying editor, see
IDecorator.-
Constructor Summary
ConstructorsConstructorDescriptionImageDecorator(String imageId) Creates a new image decorator that decorates a shape with the image identified by the given image id. -
Method Summary
Methods inherited from class AbstractDecorator
getMessage, setMessageMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IDecorator
getMessage, setMessage
-
Constructor Details
-
ImageDecorator
-
-
Method Details
-
getImageId
Description copied from interface:IImageDecoratorGets the image id of the image used to decorate a shape.- Specified by:
getImageIdin interfaceIImageDecorator- Returns:
- a
Stringholding the image id
-
getX
-
getY
-
setX
-
setY
-