|Resize handles [message #502224]
||Mon, 07 December 2009 09:59
Originally posted by: kluepfel.cs.tu-berlin.de|
I have installed a custom edit policy on an IBorderItemEditPart (gmf)
using the key EditPolicy.LAYOUT_ROLE. My policy should allow to resize a
the corresponding edit part.
My custom edit policy implements
org.eclipse.gef.editpolicies.SelectionHandlesEditPolicy and overwrites
the createSelectionHandles() as follows:
List handles = new ArrayList();
ResizableHandleKit.addHandles((GraphicalEditPart) getHost(), handles);
As a result I only get the resize handles for the directions NORTH,
SOUTH, EAST and WEST. The "corner" directions (NORTH-EAST, ...) are
missing whereas the javadoc says that the method also provides handles
for the these directions.
Am I missing something? What can I do to get the corner direction handles?
Thanks for your help!
Powered by FUDForum
. Page generated in 0.15464 seconds