Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Bring to Front
Bring to Front [message #143774] Wed, 21 July 2004 16:09 Go to next message
Eclipse UserFriend
Originally posted by: gayatri.us.ibm.com

Hi,
I have a case where there are several edit parts that have overlapping
figures on the canvas. Each of these figures is a transparent figure.
Now I need to bring one of these edit part figures to front and make
only that edit part as selectable. I made only this editpart return tru
to isSelectable() call, and in the refresh visuals, if the edit part is
selectable, then I make it show in color. Otherwise, the other edit
parts are shown in a dull gary color. The problem is, if this edit
part's figure is burried under other figures, the visual looks
confusing. I would ideally want this edit part's figure to show in
color, without any overlap with other editparts' figures. If I make the
figure as opaque, that blocks out the figures that are under this
figure. however, the figures on top are still showing and overlapping.

Is there a way to bring the figure of the selected edit part "to top"?

thanks,
gayatri
Re: Bring to Front [message #143835 is a reply to message #143774] Wed, 21 July 2004 21:30 Go to previous message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
This has been discussed quite a bit on this newsgroup. Just search for it.

"grenga" <gayatri@us.ibm.com> wrote in message
news:cdm4c3$31r$1@eclipse.org...
> Hi,
> I have a case where there are several edit parts that have overlapping
> figures on the canvas. Each of these figures is a transparent figure.
> Now I need to bring one of these edit part figures to front and make
> only that edit part as selectable. I made only this editpart return tru
> to isSelectable() call, and in the refresh visuals, if the edit part is
> selectable, then I make it show in color. Otherwise, the other edit
> parts are shown in a dull gary color. The problem is, if this edit
> part's figure is burried under other figures, the visual looks
> confusing. I would ideally want this edit part's figure to show in
> color, without any overlap with other editparts' figures. If I make the
> figure as opaque, that blocks out the figures that are under this
> figure. however, the figures on top are still showing and overlapping.
>
> Is there a way to bring the figure of the selected edit part "to top"?
>
> thanks,
> gayatri
>
Previous Topic:html table edit policy
Next Topic:State switch
Goto Forum:
  


Current Time: Thu Sep 19 05:04:55 GMT 2024

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

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

Back to the top