Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Drawing lines between tree items
Drawing lines between tree items [message #190932] Sun, 07 August 2005 12:40
Eclipse UserFriend
Originally posted by: erel.unicorn.com

I want to write a GUI that displays two trees (TreeViewer). The trees
are separated e.g. by a Sash but in the same view.

-----------------------
| | | |
| | | |
| Tree | Lines | Tree |
| | | |
| | | |
-----------------------

When dragging one item on the one tree and dropping it on another item in
the other tree I want to draw a line from the one to the other items. This
line should be updated (e.g. source and target position should change, be
hidden, when the corresponding item in the tree is collapsed the line
should disapear, when the item gets out of the view the line should
disapear).

what would be the best way to achieve this?
Are there any simi9lar examples?

Any help would be highly appreciated,
Thanks in advance
Erel
Previous Topic:Misconnection to source EditPart
Next Topic:Grid is allways visible - how to bee in sync with PROPERTY_GRID_ENABLED?
Goto Forum:
  


Current Time: Mon Dec 02 20:19:18 GMT 2024

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

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

Back to the top