|
|
Re: Applet as substitute for SWT/AWT Bridged component? [message #53067 is a reply to message #52384] |
Thu, 18 October 2007 07:42  |
Eclipse User |
|
|
|
Originally posted by: fappel.innoopract.com
Hi,
I think such a workaround is possible -in principle. For information about
creating custom widgets you may have a look at
http://help.eclipse.org/help33/topic/org.eclipse.rap.help/he lp/html/advanced/custom-widget.html.
But note that differnt to the RCP approach there would be a need to
encapsulate the communication between the applet and the server side. I mean
if you're using an AWT button (for example) that triggers some action
directly in your RCP application then you have encapsulate such a
functionality and relay the triggered event of the button back to the
server. But as I already mentionend - in principle this should be possible.
Ciao
Frank
"Peter Henzler" <phe@scodi.ch> schrieb im Newsbeitrag
news:d7f6856ee602c9a70aeee4a7f8f25dab$1@www.eclipse.org...
> Is there a way to embed a Swing component as a java applet in a RAP
> application?
> I have an existing GUI-Component based on Swing.
> In Eclipse RCP I can embed it in a Composite with the SWT/AWT bridge.
> But when I would use RAP with the same code the SWT/AWT implementation is
> missing.
> As the RAP side is browser based, I am wondering if it would be possible
> to build a custom RAP widget. The swing component could be embedded in a
> applet and that RAP component could be in charge to make that applet
> appear in the browser.
> Does anybody know if such a workaround would be possible?
>
|
|
|
Powered by
FUDForum. Page generated in 0.02048 seconds