Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 17:53
Matthew Dickie is currently offline Matthew DickieFriend
Messages: 56
Registered: July 2009
Member
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: Sun Dec 21 18:45:16 GMT 2014

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

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