Skip to main content



      Home
Home » Eclipse Projects » GEF » resizing when moving
resizing when moving [message #228964] Thu, 11 January 2007 22:39 Go to next message
Eclipse UserFriend
Hi everybody

Is it possible to resize a figure feedback when moving it ?
Re: resizing when moving [message #229404 is a reply to message #228964] Thu, 18 January 2007 13:47 Go to previous messageGo to next message
Eclipse UserFriend
I think you can override
protected void showChangeBoundsFeedback(ChangeBoundsRequest request) in
NonResizableEditPolicy

and do what you want to the feedback figure.

Nhu


Sun Seng David TAN wrote:
> Hi everybody
>
> Is it possible to resize a figure feedback when moving it ?
Re: resizing when moving [message #229410 is a reply to message #229404] Fri, 19 January 2007 00:53 Go to previous message
Eclipse UserFriend
Thanks, it's working very well.
At first i wast overriding public void showSourceFeedback(Request req)
and doing a cast of the Request to a ChangeBoundsRequest.
But doing from showChangeBoundsFeedback is cleaner because no cast :)

thanks again

Nhu Le wrote:
> I think you can override
> protected void showChangeBoundsFeedback(ChangeBoundsRequest request) in
> NonResizableEditPolicy
>
> and do what you want to the feedback figure.
>
> Nhu
>
>
> Sun Seng David TAN wrote:
>> Hi everybody
>>
>> Is it possible to resize a figure feedback when moving it ?
Previous Topic:Moving Nodes by dragging a connection
Next Topic:Loop Connections
Goto Forum:
  


Current Time: Thu May 22 03:42:19 EDT 2025

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

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

Back to the top