|Re: Rendering decorators for connections [message #626289 is a reply to message #560011]
||Wed, 22 September 2010 13:42
| Matthias Gorning
Registered: April 2010
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 );
We will work on a solution to place it in front of the text decorator. But this needs some time.
[Updated on: Wed, 22 September 2010 13:46]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01771 seconds