Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Z-order of figures
Z-order of figures [message #237764] Wed, 08 August 2007 13:20 Go to next message
Eclipse UserFriend
Originally posted by: johan.piculell.ericsson.com

Hi.
Is there a convenient way of modifying the z-order of the figures in a
layer without messing with order returned from getChildren() or
manipulating the order of all children in my diagram.

/Johan
Re: Z-order of figures [message #237853 is a reply to message #237764] Mon, 13 August 2007 16:22 Go to previous messageGo to next message
Anthony Hunter is currently offline Anthony HunterFriend
Messages: 446
Registered: July 2009
Senior Member
Hi Johan,

In GMF we do just that. We have bring to front and move to back which simply
changes order returned from getChildren(). What exactly is your issue? Is
manipulating the order of the children in your model difficult?

Cheers...
Anthony

"Johan Piculell" <johan.piculell@ericsson.com> wrote in message
news:7df6b8200406b03efe4d2f8d342fea2a$1@www.eclipse.org...
> Hi. Is there a convenient way of modifying the z-order of the figures in a
> layer without messing with order returned from getChildren() or
> manipulating the order of all children in my diagram.
>
> /Johan
>
Re: Z-order of figures [message #237902 is a reply to message #237853] Tue, 14 August 2007 19:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: piculell.telia.com

Anthony, I implemented this as well, I just found it strange that there
was no api for doing this so I thought that I missed something.
Anyway, will stick to this solution then.

thanks
/Johan

Anthony Hunter wrote:
> Hi Johan,
>
> In GMF we do just that. We have bring to front and move to back which simply
> changes order returned from getChildren(). What exactly is your issue? Is
> manipulating the order of the children in your model difficult?
>
> Cheers...
> Anthony
>
> "Johan Piculell" <johan.piculell@ericsson.com> wrote in message
> news:7df6b8200406b03efe4d2f8d342fea2a$1@www.eclipse.org...
>> Hi. Is there a convenient way of modifying the z-order of the figures in a
>> layer without messing with order returned from getChildren() or
>> manipulating the order of all children in my diagram.
>>
>> /Johan
>>
>
>
Re: Z-order of figures [message #237918 is a reply to message #237902] Wed, 15 August 2007 13:40 Go to previous message
Eclipse UserFriend
Originally posted by: mgauthier.trisotech.com

What if we want to paint a figure, let's call it BACK, but not paint it's
children right away but paint other figures that are over BACK but not
part of BACK and then paint BACK's children?
Previous Topic:Adding control in an editor
Next Topic:oval gradient filling
Goto Forum:
  


Current Time: Sat Apr 27 03:35:42 GMT 2024

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

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

Back to the top