|Drag and drop [message #683857]
||Tue, 14 June 2011 10:22
| Martin Missing name
Registered: June 2011
I am new to gef and having some trouble getting started. I have a gef application up and running where i have some children inside a layout that i want to drag and drop in a certain way. However when i use the XYLayoutEditPolicy and overriding the createChangeConstraintCommand(EditPart child, Object constraint) it "contiounsly" generates constraints for me. I´m ONLY LOOKING for the position where the children is DROPPED.
Since i am a newbie to this i am glad if anyone just can point me in the right direction. Started to looking at the getDragTracker() method to figure out when the mouse button is relased, is this the right way to go?
Very thankful for any help!
Powered by FUDForum
. Page generated in 0.01768 seconds