|
Re: FreeFormLayer#setOpaque(true) prevents multiple selection? [message #196324 is a reply to message #196217] |
Sat, 17 September 2005 16:26 |
Eclipse User |
|
|
|
Originally posted by: none.unknown.com
Override Layer#containsPoint() to act as though the layer's transparent.
However, you won't be able to see any layers underneath the opaque layer.
"Alberto Ricart" <aricart@tibco.com> wrote in message
news:dgfig8$rof$1@news.eclipse.org...
> Hello,
>
> I have run into an issue where on my top level figure, calling
> setOpaque(true) so that the bgcolor displays, prevents multiple
> selection from working:
>
> protected IFigure createFigure()
> {
> IFigure retVal = new FreeformLayer();
> // setting this prevents multiple selection from working
> retVal.setOpaque(true);
> retVal.setBorder(new MarginBorder(3));
> retVal.setLayoutManager(new FreeformLayout());
>
> return retVal;
> }
>
> Is there a workaround for this?
>
> Thanks,
>
>
> /a
|
|
|
Re: FreeFormLayer#setOpaque(true) prevents multiple selection? [message #196364 is a reply to message #196217] |
Mon, 19 September 2005 04:18 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
By multiple selection, do you mean the Marquee selection? The root editpart
returns the marquee drag tracker when asked for a tracker. Probably your
contents editpart is being asked now that it is opaque.
see getDragTracker(...)
"Alberto Ricart" <aricart@tibco.com> wrote in message
news:dgfig8$rof$1@news.eclipse.org...
> Hello,
>
> I have run into an issue where on my top level figure, calling
> setOpaque(true) so that the bgcolor displays, prevents multiple selection
> from working:
>
> protected IFigure createFigure()
> {
> IFigure retVal = new FreeformLayer();
> // setting this prevents multiple selection from working
> retVal.setOpaque(true);
> retVal.setBorder(new MarginBorder(3));
> retVal.setLayoutManager(new FreeformLayout());
>
> return retVal;
> }
>
> Is there a workaround for this?
>
> Thanks,
>
>
> /a
|
|
|
Powered by
FUDForum. Page generated in 0.02175 seconds