Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Resize handles
Resize handles [message #502224] Mon, 07 December 2009 09:59
Eclipse UserFriend
Originally posted by:


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!

Previous Topic:Newly created connection doesn't use the anchor that is provided
Next Topic:Connection basic
Goto Forum:

Current Time: Wed Apr 25 20:37:30 GMT 2018

Powered by FUDForum. Page generated in 0.01383 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software