Bring to Front [message #143774] |
Wed, 21 July 2004 12:09  |
Eclipse User |
|
|
|
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 17:30  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.03429 seconds