|
Re: Rendering decorators for connections [message #626289 is a reply to message #560011] |
Wed, 22 September 2010 13:42 |
Matthias Gorning Messages: 81 Registered: April 2010 Location: Germany |
Member |
|
|
There was a small bug in the framework. I have fixed it today.
Now you can provide an image decorator for your ConnectionDecorator via the ToolBehaviorProvider. You can do it in the same way, as we did it in our tutorial for the ECLass.
One remark: Currently you must place your image decorator in the visible area - that means inside the text decorator. You can set the location with:
ImageDecorator imageRenderingDecorator = new ImageDecorator(IPlatformImageConstants.IMG_ECLIPSE_ERROR_TSK );
imageRenderingDecorator.setX(0);
imageRenderingDecorator.setY(0);
We will work on a solution to place it in front of the text decorator. But this needs some time.
Regards,
Matthias
[Updated on: Wed, 22 September 2010 13:46] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03831 seconds