Skip to main content


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: 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
Previous Topic:Newly created connection doesn't use the anchor that is provided
Next Topic:Connection basic
Goto Forum:
  


Current Time: Fri Apr 26 12:49:45 GMT 2024

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

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

Back to the top