Skip to main content



      Home
Home » Eclipse Projects » GEF » Move/Resize should cause continuous change of model and diagram
Move/Resize should cause continuous change of model and diagram [message #659597] Mon, 14 March 2011 13:53
Eclipse UserFriend
Hi all,

I am writing a graphical form editor using GEF.

At present, when you click and drag to move an element around the form,
a ghost shape is shown, until you let go, at which point the command is
executed. Resize is similar, etc...

What I would like is that when I move or resize an element, the model
and diagram are changed continuously - the element itself would actually
be moving, not just a ghost shape. Microsoft Expression Blend works this
way for example.

Any tips as how to go about doing this? Is it even possible (I suppose
it must be).

I have a few ideas (execute a command every time the mouse moves,
undoing the previous one), and will experiment with the shapes example,
but if someone else has tried this or knows how it could be done, your
help would be appreciated....

Thanks in advance,

Matt D.
Previous Topic:palette
Next Topic:Integrate View within Eclipse MultiPageEditor
Goto Forum:
  


Current Time: Fri Apr 18 10:39:18 EDT 2025

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

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

Back to the top