GEF or Draw2D [message #200281] |
Fri, 21 October 2005 10:43 |
Eclipse User |
|
|
|
Originally posted by: yulian.crimsonlogic.com
Hi,All
I am new to GEF and now I am considering about whether I should use GEF in
my application.
Here is my scenario: I have a tree listing some concepts and relations. A
relation my have several concepts involved. A concept have several
relations that use it. I want to display this kind of relation in a
canvas. That is, when I select a concept, I want to the canvas to disply
the concept node in the center, and all the relation nodes that use it
will be displayed around it. Similar when the relation is selected. And
also, I want to add concepts dynamically. When I drag a concept from the
tree to the diagram, I want to the concept to be added in the diagram
around the relation node. Furture, if I double click to click some part of
the concept, I want the concept node to expand, all the relations it used
will come out.
Is it too far for Draw2D? I am not sure whether I can detect "double
click" or "selection" in draw2D objects. But it seems for me that the GEF
is more for moving shapes in the diagram around, and connect them and
disconnect them.
Any opinions will be very much appreciated.
Yulian
|
|
|
|
Powered by
FUDForum. Page generated in 0.03566 seconds