Take a look at GC.setTransform(). You will be able to draw rotated
rectangle, lines, text, etc.
This snippet may help.
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet207.java
Silenio
"Stephan grosse Austing"
<stephan.grosse.austing@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:ejhsmt$g7n$1@xxxxxxxxxxxxxxxxxxxx
Hi!
I want to rewrite some parts of a swing application to fit in our
rcp-application. Screenshots of the sourceforge-Project can be found here:
http://sourceforge.net/project/screenshots.php?group_id=80683
Does anybody know, how to draw the diagonal nodes of the upper tree? I
need diagonal text and rectangles. If you looked at the screenshot I would
approciate some comments about possible strategies for implementation. the
swing application has been used in our prototype. i would be very cool if
we could replace the small widgets one by one. how much effort could cost
this rewrite?
Thanks
Stephan große Austing