Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to add SWT widget inside a Figure?
How to add SWT widget inside a Figure? [message #181313] Sat, 14 May 2005 14:15 Go to next message
Eclipse UserFriend
Originally posted by: psidle.cinci.rr.com

Hi,

What is an easy way to place a SWT widget inside a Figure? The
Figure.add(IFigure) method takes only IFigure. The IFigure interface is
not meant to be implemented. Parent of SWT widget is a composite. How can
I bridge the gap between draw2d Figure and SWT widget ? The
LightWeightSystem can be used to embed a Figure inside a SWT canvas but
not the other way round ? Any ideas ?

Thanks for any information
-- Philomena Sidle --
Re: How to add SWT widget inside a Figure? [message #181401 is a reply to message #181313] Mon, 16 May 2005 03:32 Go to previous message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
"Philomena Sidle" <psidle@cinci.rr.com> wrote in message
news:16cecaf8a5ef4ae8dd56379d9f23a9bc$1@www.eclipse.org...
> Hi,
>
> What is an easy way to place a SWT widget inside a Figure? The

You can't.

> Figure.add(IFigure) method takes only IFigure. The IFigure interface is
> not meant to be implemented. Parent of SWT widget is a composite. How can
> I bridge the gap between draw2d Figure and SWT widget ? The
> LightWeightSystem can be used to embed a Figure inside a SWT canvas but
> not the other way round ? Any ideas ?
>
> Thanks for any information
> -- Philomena Sidle --
>
Previous Topic:Find Parent Figure
Next Topic:is it possible to do multi-selection?
Goto Forum:
  


Current Time: Fri Sep 20 07:20:40 GMT 2024

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

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

Back to the top