Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Move the Line Figure's Z-order to bottom
Move the Line Figure's Z-order to bottom [message #161194] Fri, 10 December 2004 06:40 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 #161410 is a reply to message #161242] Mon, 13 December 2004 16:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Why do you want the connections on the bottom?
Re: Move the Line Figure's Z-order to bottom [message #162335 is a reply to message #161242] Tue, 21 December 2004 06:03 Go to previous message
Eclipse UserFriend
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
>>>
>>>
>>
>>
>
>
Previous Topic:Selection and Delete actions don't work in FormEditor
Next Topic:PropertyView driven from selections in Editor
Goto Forum:
  


Current Time: Mon Sep 23 21:45:14 GMT 2024

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

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

Back to the top