Resize handles [message #502224] |
Mon, 07 December 2009 09:59 |
Eclipse User |
|
|
|
Originally posted by: kluepfel.cs.tu-berlin.de
Hello,
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);
return 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!
Steffen
|
|
|
Powered by
FUDForum. Page generated in 0.02747 seconds