GEF ChangeConstraint Problemhttps://www.eclipse.org/forums/index.php/mv/msg/73744/230488/#msg_230488
I am using GEF/Draw2d to create one of my custom plot view. I have a
data point which should be draggable inside the plot area. So i used
XYLayoutEditPolicy on the Parent of the data point which is a rectangle
with the XYLayout set on that.
I am not using the CreateCommand to create the data point. I have the
datapoints as the child of the plot area. I did create an object of the
data point on my own.
Now I can see the data point on the View, but it is not moving when i
drag that. I did implement the ChangeConstraintCommand but no use.

public boolean canExecute() {
System.out.println("Checking whether the ChangeConstraint can be
executed");
Object type = request.getType();
// make sure the Request is of a type we support:
return (RequestConstants.REQ_MOVE.equals(type)
|| RequestConstants.REQ_MOVE_CHILDREN.equals(type));
}