|Polyline Decorator [message #517489]
||Sun, 28 February 2010 17:14
| Markus Krallinger
Registered: February 2010
I have a question regarding polyline decorators in eclipse gmf:
My assigment is to create a class diagram-like editor for an domain specific language. In this editor I want to have UML symbols for the connections, more specific the filled triangle for Generalisation. I tried to do that with the normal Polyline Decorator and Template Points, but the problem with this approach is that I can not fill the triangle. My next try was to create the Decorator with an polygon. The structur looks like:
- Polyline Decorator ImplementsArraw
- Polygon Triangle
- Foreground: black
- Background: white
The problem is that based on this structure the following code is generated:
private RotatableDecoration createTargetDecoration()
PolylineDecoration df = new PolylineDecoration();
whats basically far away from what I want. I also tried to create the polygon programatically without success.
I tried it based on  and .
I am using eclipse 3.5.1 and eclipse modeling tools 20090920-1017.
Maybe someone had a different problem.
Thanks in advance,
 http://dev.eclipse.org/newslists/news.eclipse.technology.gmf /msg03356.html
[Updated on: Sun, 28 February 2010 17:15]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01938 seconds