Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » heavyweight/lightweight (Randy, please help...)
heavyweight/lightweight (Randy, please help...) [message #192527] Fri, 19 August 2005 09:58 Go to next message
Eclipse UserFriend
Originally posted by: dan.nicolici.nexource.ro

This is a multi-part message in MIME format.

------=_NextPart_000_000B_01C5A4BD.B7FCCF20
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I added a SWT widget on an FigureCanvas in the editor. The widget shows =
on top of the IFigure (also drawn in the FigureCanvas). So far I =
understand that the SWT widget is heavyweight and will be drawn on top =
of the IFigure.
Now, the question is: Can I trick somehow the ConnectionEditParts's =
figures (that are drawn on my previously mentioned IFigure) to be drawn =
on top of the widget?
------=_NextPart_000_000B_01C5A4BD.B7FCCF20
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I added a SWT widget on an FigureCanvas =
in the=20
editor. The widget shows on top of the IFigure (also drawn in the =
FigureCanvas).=20
So far I understand that the SWT widget is heavyweight and will be drawn =
on top=20
of the IFigure.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Now, the question is: Can I trick =
somehow the=20
Co</FONT><FONT face=3DArial size=3D2>nnectionEditParts's figures (that =
are drawn on=20
my previously mentioned IFigure) to be drawn on top of the=20
widget?</FONT></DIV></BODY></HTML>

------=_NextPart_000_000B_01C5A4BD.B7FCCF20--
Re: heavyweight/lightweight (Randy, please help...) [message #192537 is a reply to message #192527] Fri, 19 August 2005 13:53 Go to previous message
Eclipse UserFriend
Originally posted by: sunil_kamath.nohotspammail.com

"Dan Nicolici" <dan.nicolici@nexource.ro> wrote in message
news:de4agi$no7$1@news.eclipse.org...
> I added a SWT widget on an FigureCanvas in the editor. The widget shows on
> top of the IFigure
> (also drawn in the FigureCanvas). So far I understand that the SWT widget
> is heavyweight and will be
> drawn on top of the IFigure.
> Now, the question is: Can I trick somehow the ConnectionEditParts's
> figures (that are drawn on
> my previously mentioned IFigure) to be drawn on top of the widget?

You cannot draw on top of a widget.
If you need to capture SWT widget images, look at how VE does it.
Better still, go check in the VE newsgroup for advice on widget image
capture- they are the experts.
---
Sunil
Previous Topic:Figure.setBackgroundColor() and GEF 3.1
Next Topic:Deleting outline tree view elements?
Goto Forum:
  


Current Time: Fri Jan 17 09:23:24 GMT 2025

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

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

Back to the top