Skip to main content



      Home
Home » Eclipse Projects » GEF » How to use resizable editpolicy in a draw2d figure?
How to use resizable editpolicy in a draw2d figure? [message #139196] Tue, 22 June 2004 03:47 Go to next message
Eclipse UserFriend
Originally posted by: imnio.yahoo.com

I am trying to implement Resizable edit policy in the EditPart of a
figure.
When I click on a selection handle I am geting correct mouse cursor on top
of it. But on trying to drag to resize cursor becomes a circle (this
action not allowed). The figure is not resized either.
Re: How to use resizable editpolicy in a draw2d figure? [message #139432 is a reply to message #139196] Tue, 22 June 2004 13:41 Go to previous message
Eclipse UserFriend
Set a breakpoint in the getCommand(Request) method of the
ResizableEditPolicy, and see what is being returned when the given request
is of type REQ_RESIZE.

"Nio" <imnio@yahoo.com> wrote in message news:cb8o66$1b2$1@eclipse.org...
> I am trying to implement Resizable edit policy in the EditPart of a
> figure.
> When I click on a selection handle I am geting correct mouse cursor on top
> of it. But on trying to drag to resize cursor becomes a circle (this
> action not allowed). The figure is not resized either.
>
>
>
Previous Topic:Gef installing problems
Next Topic:license for example codes
Goto Forum:
  


Current Time: Tue Jul 22 15:50:47 EDT 2025

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

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

Back to the top