[OT] insert swing or swt widgets in gef editor [message #123253] |
Mon, 17 April 2006 15:42  |
Eclipse User |
|
|
|
Hi.
First of all excuse me for my bad english. I think this is not a VE
question, but I don't know where else to ask. I also have tried to ask
this in the GEF newsgroup but they didn't reply.
I know that the Visual Editor was developed using GEF (graphic eclipse
framework). Well, I'm developing a visual editor using GEF and I need to
add swing or swt widgets to the editor. But as I know, GEF only let me add
IFigures. I would like to know how you add swing and swt components in VE
using GEF. I looked in VE source code, but I couldn't find the gef edit
parts corresponding to any swing/swt widget.
Well, hope you understand. Thanks in advance.
Sebastián Gurin
|
|
|
|
|
|
|
|
|
|
Re: [OT] insert swing or swt widgets in gef editor [message #612699 is a reply to message #123266] |
Wed, 19 April 2006 09:44  |
Eclipse User |
|
|
|
On Mon, 17 Apr 2006 16:07:56 -0400
Rich Kulp <richkulp@us.NO_SPAM.ibm.com> wrote:
> The VE doesn't add Swing/SWT to GEF. It uses IFigures and gets a
> snapshot image of the Swing/SWT component and gives it to an IFigure
> that takes an Image.
>
First of all, thanks Rich for the info. I would like more information about how to take these "snapshots". Basically I would like to take snapshots to swing widgets. I'm investigating the java.awt.Component's createImage() methods, but I really don't know how to use them. I know this is an OT, but I would apprecciate if somebody tell me what is the Visual Editor plugin class responsible for taking these "snapshots" to the swing components.
Well, thanks in advance.
> --
> Thanks,
> Rich Kulp
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05214 seconds