Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » How to draw a SWT composite in a GEF container shape and diagram
How to draw a SWT composite in a GEF container shape and diagram [message #635966] Thu, 28 October 2010 18:47 Go to next message
VincentL is currently offline VincentLFriend
Messages: 88
Registered: July 2009
Member
Hi,

I would like to display an swt composite on a GEF container shape. Is is possible?


I have a complex widget that was done in Swing and I would like to use the AWT/SWING/SWT
Bridge to display this widget inside a container shape of a EMF diagram.

My idea is to use the EMF framework to move and resize my Swing widget.

However, the AWT/SWT Bridge requires a SWT composite to integrate its jframe inside swt.

How could I achieve this? Is there any example?

Thanks

Regards,

Vincent L.
Re: How to draw a SWT composite in a GEF container shape and diagram [message #636003 is a reply to message #635966] Thu, 28 October 2010 21:46 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Vincent,

I don't see that this is an EMF question. It sounds like you should
use the SWT or GEF newsgroup.



Vincent L. wrote:
> Hi,
>
> I would like to display an swt composite on a GEF container shape. Is
> is possible?
>
>
> I have a complex widget that was done in Swing and I would like to use
> the AWT/SWING/SWT
> Bridge to display this widget inside a container shape of a EMF diagram.
>
> My idea is to use the EMF framework to move and resize my Swing widget.
>
> However, the AWT/SWT Bridge requires a SWT composite to integrate its
> jframe inside swt.
>
> How could I achieve this? Is there any example?
>
> Thanks
>
> Regards,
>
> Vincent L.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: How to draw a SWT composite in a GEF container shape and diagram [message #636131 is a reply to message #636003] Fri, 29 October 2010 12:35 Go to previous message
VincentL is currently offline VincentLFriend
Messages: 88
Registered: July 2009
Member
Sorry Ed,

It's my mistake...

Vincent
Previous Topic:Zip & encrypt resource
Next Topic:How to Extend Ecore Model with Extension XML Schema
Goto Forum:
  


Current Time: Thu Apr 25 07:16:37 GMT 2024

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

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

Back to the top