How could I draw connection lines between two TreeItems [message #459350] |
Sun, 07 August 2005 01:53 |
Eclipse User |
|
|
|
Originally posted by: eliaswang.yahoo.com
Hi,
I want to draw several connection lines between TreeItems from two different
JFace TreeViewers, as following:
--------------------------------------------------
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| JFace Tree | Connection | JFace Tree |
| Viewer | Lines | Viewer |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
--------------------------------------------------
Also I'd like some kinds of drag and drop for creating the lines. It seems
that I need to draw this GUI with the low-level SWT API, Is there any good
ways to solve it?
If I use the SWT, how could I enable/disable/move the lines when TreeItems
are expanding/collapsing?
I would thank your help.
ps. It's much better if there are some code snippets.
Elias
|
|
|
Powered by
FUDForum. Page generated in 0.02443 seconds