shall I use GEF or just draw2D? [message #244582] |
Sun, 27 July 2008 13:21 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: wizardishappy.gmail.com
I'm new to draw2D and GEF.
I want to draw several cycles and use cursor to draw lines to connect them. The user can input some labels to every line.
I wonder if I can just use draw2D or I have to use GEF.
TIA.
|
|
|
Re: shall I use GEF or just draw2D? [message #244585 is a reply to message #244582] |
Mon, 28 July 2008 05:34 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: lifesting.gmail.com
wizardIsHappy wrote:
> I'm new to draw2D and GEF.
> I want to draw several cycles and use cursor to draw lines to connect them. The user can input some labels to every line.
> I wonder if I can just use draw2D or I have to use GEF.
> TIA.
try GMF, http://www.eclipse.org/modeling/gmf/, which is more simple than
writing GEF App by hand if you are new to Graphical Editor.
|
|
|
|
Re: shall I use GEF or just draw2D? [message #244645 is a reply to message #244629] |
Mon, 28 July 2008 14:32 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: wizardishappy.gmail.com
In fact, only one thing I cannot solve with Draw2D.
That is how can I edit a Label directly in a canvas?
(in my case, the user could edit the label of the connection).
One solution I figured out is to popup a dialog to let the user input something. But we all know that if there is a way to let the user directly edit the label in the label on the connection could be better. (The similar situation in JS of web application is to call show a Text component replacing the Label on the mouse click event, but I cannot find the similar component in draw2D. :( )
If any friend can give me a solution without GEF, I will be very happy. But if you point out GEF could be a better way to solve this, I will thank you too and to learn that..
TIA.
|
|
|
|
Powered by
FUDForum. Page generated in 0.04090 seconds