Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Layout Editpolicy on connections
Layout Editpolicy on connections [message #213271] Tue, 04 April 2006 15:45 Go to next message
Eclipse UserFriend
Originally posted by: ingo.koch[nospam].sap.com

Hi!

I have decorator editparts on my connection, which should be movable and
resizable.
Resizable works, but due to some reason, i cannot move them.
The forbidden-icon appears, because a create request gets triggered on the
canvas editpart.

I think this is an issue with the "bounds" of the connection.
So how can I force GEF to handle a decorator move as a
changeBoundsRequest in the connection
Re: Layout Editpolicy on connections [message #213596 is a reply to message #213271] Fri, 07 April 2006 19:26 Go to previous messageGo to next message
Steven R. Shaw is currently offline Steven R. ShawFriend
Messages: 128
Registered: July 2009
Senior Member
Do you have a ResizableEditPolicy installed on your "decorator editpart"
which delegates the ChangeBoundsRequest to the parent EditPart?

-Steve

"Ingo Koch" <ingo.koch[nospam]@sap.com> wrote in message
news:e0u4a5$9tv$1@utils.eclipse.org...
> Hi!
>
> I have decorator editparts on my connection, which should be movable and
> resizable.
> Resizable works, but due to some reason, i cannot move them.
> The forbidden-icon appears, because a create request gets triggered on the
> canvas editpart.
>
> I think this is an issue with the "bounds" of the connection.
> So how can I force GEF to handle a decorator move as a
> changeBoundsRequest in the connection
Re: Layout Editpolicy on connections [message #213728 is a reply to message #213596] Mon, 10 April 2006 08:52 Go to previous message
Eclipse UserFriend
Originally posted by: ingo.koch[nospam].sap.com

Yes I do have.
I also modified the drag tracker not to exclude connection editparts
from changeboundsrequests.

The movement of editpart works but only if the mouse stays exactly on
the connection. If the mouse hovers the canvas, it gets a add-request.
Thats the behaviour I would expect, but I want
to move the connection decorator freely on the whole canvas.

Is there a possibility to override the bounds of the connection at the time
I move the decorators?
Or is there another solution?


Regards, Ingo




"Steven Shaw" <steveshaw@ca.ibm.com> wrote in message
news:e16e7d$iek$1@utils.eclipse.org...
> Do you have a ResizableEditPolicy installed on your "decorator editpart"
> which delegates the ChangeBoundsRequest to the parent EditPart?
>
> -Steve
>
> "Ingo Koch" <ingo.koch[nospam]@sap.com> wrote in message
> news:e0u4a5$9tv$1@utils.eclipse.org...
> > Hi!
> >
> > I have decorator editparts on my connection, which should be movable and
> > resizable.
> > Resizable works, but due to some reason, i cannot move them.
> > The forbidden-icon appears, because a create request gets triggered on
the
> > canvas editpart.
> >
> > I think this is an issue with the "bounds" of the connection.
> > So how can I force GEF to handle a decorator move as a
> > changeBoundsRequest in the connection
Previous Topic:Deprecated method.
Next Topic:Where did build 3.2M6 go?
Goto Forum:
  


Current Time: Thu Apr 18 09:13:41 GMT 2024

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

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

Back to the top