Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Bringing figures to top
Bringing figures to top [message #190113] Tue, 02 August 2005 06:10 Go to next message
Ravi Ranjan is currently offline Ravi RanjanFriend
Messages: 5
Registered: July 2009
Junior Member
If i have 2 figures overlapping and if i select one on the lower level,
how do i bring that figure to top and the top figure to bottom.
Re: Bringing figures to top [message #190133 is a reply to message #190113] Tue, 02 August 2005 14:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sunil_kamath.nohotspammail.com

"Ravi Ranjan" <ravs53@gmail.com> wrote in message
news:766826b799cd920744410381112b42f2$1@www.eclipse.org...
> If i have 2 figures overlapping and if i select one on the lower level,
> how do i bring that figure to top and the top figure to bottom.
>
1. Save the selection
2. Remove both of the figures from the diagram.
3. Add the original top figure to the diagram.
4. Add the original bottom figure to the diagram- this will now draw it
above the original top figure.
5. Restore the selection.

---
Sunil
Re: Bringing figures to top [message #190305 is a reply to message #190113] Wed, 03 August 2005 08:30 Go to previous message
Eclipse UserFriend
Originally posted by: terrence.hiswings.com

"Ravi Ranjan" <ravs53@gmail.com> wrote in message
news:766826b799cd920744410381112b42f2$1@www.eclipse.org...
> If i have 2 figures overlapping and if i select one on the lower level,
> how do i bring that figure to top and the top figure to bottom.
>

1) Get the siblings using getParent().getChildren().
2) Then remove from the list, the figure to bring to the top.
3) Then add the figure back into the list.
Previous Topic:The CTRL+Z/CTRL+Y problem in GEF TreeViewer
Next Topic:How to make PolylineConnection line look smoother
Goto Forum:
  


Current Time: Mon Sep 23 08:08:26 GMT 2024

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

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

Back to the top