Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Display a Figure in front of the others
Display a Figure in front of the others [message #238499] Sat, 15 September 2007 10:21 Go to next message
Eclipse UserFriend
Originally posted by: malnatij.lu.unisi.ch

I have a lot of Figure instances, they are overlapping and I would like to have the possibility to call something like myFigure.setToFront(), but there is nothing like that in the Figure API.. any idea or suggestion? (I've posted this in the SWT section but no one can help me, maybe there is something similar in GEF and I can dig into its implementation code)

the only way, so far, is to delete the Figure and recreate it, so that it will be placed on top of the others, but it's an horrible solution and it doesn't scale.

thanks
Re: Display a Figure in front of the others [message #238509 is a reply to message #238499] Sun, 16 September 2007 15:25 Go to previous messageGo to next message
René is currently offline RenéFriend
Messages: 45
Registered: July 2009
Member
Hi Jappo,

In my you have to change the order of the childrens in your diagram. The
childfigures will displayed in the order they added to the child-list.
There a existing some other posts to this problem in this newsgroup.

news://news.eclipse.org:119/7df6b8200406b03efe4d2f8d342fea2a $1@www.eclipse.org
http://dev.eclipse.org/newslists/news.eclipse.tools.gef/msg1 9256.html

best regards
Rene

Jappo wrote:
> I have a lot of Figure instances, they are overlapping and I would like to have the possibility to call something like myFigure.setToFront(), but there is nothing like that in the Figure API.. any idea or suggestion? (I've posted this in the SWT section but no one can help me, maybe there is something similar in GEF and I can dig into its implementation code)
>
> the only way, so far, is to delete the Figure and recreate it, so that it will be placed on top of the others, but it's an horrible solution and it doesn't scale.
>
> thanks
Re: Display a Figure in front of the others [message #238514 is a reply to message #238509] Mon, 17 September 2007 09:28 Go to previous message
Eclipse UserFriend
Originally posted by: malnatij.lu.unisi.ch

cool, so It looks like I can dig into GMF code to see what they are doing.. I hope it's not too messy :D

thanks for your help
Previous Topic:Ruler and graph centering questions
Next Topic:Exporting as Image
Goto Forum:
  


Current Time: Fri Apr 26 06:41:52 GMT 2024

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

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

Back to the top