Move the Line Figure's Z-order to bottom [message #161194] |
Fri, 10 December 2004 06:40 |
Eclipse User |
|
|
|
Originally posted by: jsk_lam.hotmail.com
Hi,
Could someone please help on how to change the z-order of the line figure?
What I need to do is to connect 2 image figures together at the center point
of the image figure and I want the line figure to be drawn under the figure
instead on the front, such that the line will not block the image figure.
Thanks
slam
|
|
|
Re: Move the Line Figure's Z-order to bottom [message #161208 is a reply to message #161194] |
Fri, 10 December 2004 09:16 |
Eclipse User |
|
|
|
Originally posted by: eostroukhov.hotmail.com
Are you working with plain draw2d or with GEF?
If you are working with GEF then if the line is connection, the easiest way
would be to swap connection and main layers - so the connection layer is
under the main layer. If the line is an edit part on its own than change the
order in the parent edit part getModelChildren method.
"slam" <jsk_lam@hotmail.com> wrote in message
news:cpbgd4$ekk$1@www.eclipse.org...
> Hi,
>
> Could someone please help on how to change the z-order of the line figure?
>
> What I need to do is to connect 2 image figures together at the center
> point
> of the image figure and I want the line figure to be drawn under the
> figure
> instead on the front, such that the line will not block the image figure.
>
> Thanks
> slam
>
>
|
|
|
Re: Move the Line Figure's Z-order to bottom [message #161242 is a reply to message #161208] |
Fri, 10 December 2004 14:55 |
Eclipse User |
|
|
|
Originally posted by: jsk_lam.hotmail.com
Mine is a GEF model. That is exactly what I need to know how to swap the
ConnectionLayer and the MainLayer. Thanks.
"Eugene Ostroukhov" <eostroukhov@hotmail.com> wrote in message
news:cpbphe$9k5$1@www.eclipse.org...
> Are you working with plain draw2d or with GEF?
> If you are working with GEF then if the line is connection, the easiest
way
> would be to swap connection and main layers - so the connection layer is
> under the main layer. If the line is an edit part on its own than change
the
> order in the parent edit part getModelChildren method.
>
>
> "slam" <jsk_lam@hotmail.com> wrote in message
> news:cpbgd4$ekk$1@www.eclipse.org...
> > Hi,
> >
> > Could someone please help on how to change the z-order of the line
figure?
> >
> > What I need to do is to connect 2 image figures together at the center
> > point
> > of the image figure and I want the line figure to be drawn under the
> > figure
> > instead on the front, such that the line will not block the image
figure.
> >
> > Thanks
> > slam
> >
> >
>
>
|
|
|
|
Re: Move the Line Figure's Z-order to bottom [message #162335 is a reply to message #161242] |
Tue, 21 December 2004 06:03 |
Eclipse User |
|
|
|
Originally posted by: zhanglq.primeton.com
Yes! I got the same problem!
Anybody help me swpe the ConnectionLayer under the MainLayer.
thanks!!
slam wrote:
> Mine is a GEF model. That is exactly what I need to know how to swap the
> ConnectionLayer and the MainLayer. Thanks.
>
> "Eugene Ostroukhov" <eostroukhov@hotmail.com> wrote in message
> news:cpbphe$9k5$1@www.eclipse.org...
>
>>Are you working with plain draw2d or with GEF?
>>If you are working with GEF then if the line is connection, the easiest
>
> way
>
>>would be to swap connection and main layers - so the connection layer is
>>under the main layer. If the line is an edit part on its own than change
>
> the
>
>>order in the parent edit part getModelChildren method.
>>
>>
>>"slam" <jsk_lam@hotmail.com> wrote in message
>>news:cpbgd4$ekk$1@www.eclipse.org...
>>
>>>Hi,
>>>
>>>Could someone please help on how to change the z-order of the line
>
> figure?
>
>>>What I need to do is to connect 2 image figures together at the center
>>>point
>>>of the image figure and I want the line figure to be drawn under the
>>>figure
>>>instead on the front, such that the line will not block the image
>
> figure.
>
>>>Thanks
>>>slam
>>>
>>>
>>
>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03066 seconds