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?
Just have set and get layout in corresponding model, while getting constraint set corresponding request constraints in layout of model, in refreshVisuals of editpart, just getModel().getLayout and set it our here.