Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How could I draw connection lines between two TreeItems
How could I draw connection lines between two TreeItems [message #459350] Sun, 07 August 2005 01:53
Eclipse UserFriend
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
Previous Topic:Blurry Tree text in second column
Next Topic:How to solve the setSelection problem?
Goto Forum:
  


Current Time: Thu Apr 25 06:19:56 GMT 2024

Powered by FUDForum. Page generated in 0.02443 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top