|Move/Resize should cause continuous change of model and diagram [message #659597]
||Mon, 14 March 2011 17:53
| Matthew Dickie
Registered: July 2009
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,
Powered by FUDForum
. Page generated in 0.01423 seconds