Layout Editpolicy on connections [message #213271] |
Tue, 04 April 2006 15:45 |
Eclipse User |
|
|
|
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 #213728 is a reply to message #213596] |
Mon, 10 April 2006 08:52 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02396 seconds