Move figure when using DelegatingLayout [message #140993] |
Thu, 01 July 2004 08:45 |
Eclipse User |
|
|
|
Originally posted by: hello.yahoo.com
Hi
I don't know how to move and resize my figure when I use
DelegatingLayout.
Will I writer a DelegatingLayoutEditPolicy as my editpolicy?
How should I do?
thanks in advance.
daniel
|
|
|
Re: Move figure when using DelegatingLayout [message #141098 is a reply to message #140993] |
Thu, 01 July 2004 18:28 |
Eclipse User |
|
|
|
Originally posted by: webmaster.mafd.org
Daniel,
I use the XYLayoutEditPolicy and I can both move and resize my figures.
I'm not familiar with the DelegatingLayout/DelegatingLayoutEditPolicy - its
not in my javadoc api's for GEF - is that a GEF3.0 thing? (I use 2.3)
Spack
"Daniel" <hello@yahoo.com> wrote in message news:cc0ivt$u89$1@eclipse.org...
> Hi
> I don't know how to move and resize my figure when I use
> DelegatingLayout.
> Will I writer a DelegatingLayoutEditPolicy as my editpolicy?
> How should I do?
> thanks in advance.
> daniel
>
>
|
|
|
Re: Move figure when using DelegatingLayout [message #141261 is a reply to message #141098] |
Fri, 02 July 2004 04:24 |
Eclipse User |
|
|
|
Originally posted by: hello.yahoo.com
Yes,in lower gef version you can not find this Layout
Richard Spackmann wrote:
> Daniel,
> I use the XYLayoutEditPolicy and I can both move and resize my figures.
> I'm not familiar with the DelegatingLayout/DelegatingLayoutEditPolicy - its
> not in my javadoc api's for GEF - is that a GEF3.0 thing? (I use 2.3)
> Spack
> "Daniel" <hello@yahoo.com> wrote in message news:cc0ivt$u89$1@eclipse.org...
> > Hi
> > I don't know how to move and resize my figure when I use
> > DelegatingLayout.
> > Will I writer a DelegatingLayoutEditPolicy as my editpolicy?
> > How should I do?
> > thanks in advance.
> > daniel
> >
> >
|
|
|
Re: Move figure when using DelegatingLayout [message #141283 is a reply to message #141098] |
Fri, 02 July 2004 09:07 |
Eclipse User |
|
|
|
Originally posted by: michel.hassenforder.uha.fr
Hello,
I had used the previous stable pluggin (2.1.2) or 2.1.3 and I found
also the delegatingLayout.
I am also trying to do the same thing as Daniel. For the moment I have
a great problem:
I have a polyline decorated with a label and I hope to be able to move
the decoration using the mouse. I have installed a LayoutEditPolicy for
General Layout. I have just created a class witch implements all
get...Command() for all requests.
For the moment, the framework translates the move into a reparent
(something like an Orphan/Add) request. I think it is due to the bound
used to describe the polyline. Perhaps, the polyline bound does not
include the label (which is a child of the polyline), and so the drag
tool think that I am moving the figure from a container (polyline ?) to
another container (diagram). But it is not clear for me.
So I am very interested how to make such an interaction.
bye
Richard Spackmann a écrit :
> Daniel,
>
> I use the XYLayoutEditPolicy and I can both move and resize my figures.
>
> I'm not familiar with the DelegatingLayout/DelegatingLayoutEditPolicy - its
> not in my javadoc api's for GEF - is that a GEF3.0 thing? (I use 2.3)
>
> Spack
>
> "Daniel" <hello@yahoo.com> wrote in message news:cc0ivt$u89$1@eclipse.org...
>
>>Hi
>> I don't know how to move and resize my figure when I use
>>DelegatingLayout.
>> Will I writer a DelegatingLayoutEditPolicy as my editpolicy?
>> How should I do?
>> thanks in advance.
>> daniel
>>
>>
>
>
>
|
|
|
Re: Move figure when using DelegatingLayout [message #141539 is a reply to message #141283] |
Mon, 05 July 2004 14:14 |
Eclipse User |
|
|
|
Originally posted by: michel.hassenforder.uha.fr
Michel Hassenforder a écrit :
> Hello,
> I had used the previous stable pluggin (2.1.2) or 2.1.3 and I found
> also the delegatingLayout.
>
> I am also trying to do the same thing as Daniel. For the moment I
> have a great problem:
> I have a polyline decorated with a label and I hope to be able to
> move the decoration using the mouse. I have installed a LayoutEditPolicy
> for General Layout. I have just created a class witch implements all
> get...Command() for all requests.
> For the moment, the framework translates the move into a reparent
> (something like an Orphan/Add) request. I think it is due to the bound
> used to describe the polyline. Perhaps, the polyline bound does not
> include the label (which is a child of the polyline), and so the drag
> tool think that I am moving the figure from a container (polyline ?) to
> another container (diagram). But it is not clear for me.
Wrong it is not the bound, it is correct. I have look into the framework
and I found that the figure in the connection layer is excluded from the
findObject process.
So, the tracker find only the "background" figure which is the diagram
container.
As, the selected figure is in the connection layer and the target of the
request is the diagram, the framework translates the move into reparent
(orphan/add). How to avoid such a behavior ?
thanks in advance
> So I am very interested how to make such an interaction.
>
> bye
>
> Richard Spackmann a écrit :
>
>> Daniel,
>>
>> I use the XYLayoutEditPolicy and I can both move and resize my figures.
>>
>> I'm not familiar with the DelegatingLayout/DelegatingLayoutEditPolicy
>> - its
>> not in my javadoc api's for GEF - is that a GEF3.0 thing? (I use 2.3)
>>
>> Spack
>>
>> "Daniel" <hello@yahoo.com> wrote in message
>> news:cc0ivt$u89$1@eclipse.org...
>>
>>> Hi
>>> I don't know how to move and resize my figure when I use
>>> DelegatingLayout.
>>> Will I writer a DelegatingLayoutEditPolicy as my editpolicy?
>>> How should I do?
>>> thanks in advance.
>>> daniel
>>>
>>>
>>
>>
>>
|
|
|
Powered by
FUDForum. Page generated in 0.02927 seconds