|Possible BUG with clone and move request? [message #229990]
||Mon, 29 January 2007 17:39
Originally posted by: rudolf.hornig.gmail.com|
I have an editor where a part has several policies installed.
Practically the part should NOT be movable or resizable. On the other
hand I must be able to clone it using the usual CTRL-drag method.
I have installed an ResizeEditPolicy for the child in the parent's
LayoutEditPolicy and set:
It turned out, that the clone request stops working correctly after
setting setDragAllowed to false, because even if I hold the CTRL key and
try to initiate the drag (clone) operation, the activated drag tracker
checks (with understandRequest) whether the selected targetEditParts
support the MOVE! request (which they do not support of course as
setDragAllowed is false) . So the drag tracker filters out the
editPart(s) which is not supporting the MOVE request, effectively
disabling the cloneing functionality (as the clone request will not
receive any targetEditPart to operate on).
I'm not sure but I think setDragAllowed(false) should not disable the
CLONE request only the MOVE.
GEF developers, is this intentional or just a BUG?
Powered by FUDForum
. Page generated in 0.02140 seconds