Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » When does RWT implement the function of wrapping AWT?(to merge worldwind into RAP)
When does RWT implement the function of wrapping AWT? [message #543804] Wed, 30 June 2010 15:43 Go to next message
gadmyth  is currently offline gadmyth Friend
Messages: 3
Registered: June 2010
Junior Member
In SWT, the class org.eclipse.swt.SWT has the field EMBEDDED, but the RWT's function org.eclipse.swt.SWT does not have the field EMBEDDED. RWT is also lack of the pacakge org.eclipse.swt.awt.

So, when I merge the software WorldWind into RAP, for lack of the field EMBEDDED, I have no way to do it.

Could someone tell me when the RAP implement the function of wrapping AWT?
Re: When does RWT implement the function of wrapping AWT? [message #544002 is a reply to message #543804] Thu, 01 July 2010 09:55 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi,

we once took the time to evaluate approaches to providing the SWT-AWT
bridge.
The biggest problem is that this would require a re-implementation of
the AWT/Swing API with RWT technology. And there are more challenges
such as a different threading model. The huge amount of work this
feature would require makes me almost sure that this is impossible for
the RAP team.

If someone else decides to work on this feature or to sponsor the
development, we'd be glad to offer our help.

Regards, Ralf

gadmyth wrote:
> In SWT, the class org.eclipse.swt.SWT has the field EMBEDDED, but the
> RWT's function org.eclipse.swt.SWT does not have the field EMBEDDED. RWT
> is also lack of the pacakge org.eclipse.swt.awt.
>
> So, when I merge the software WorldWind into RAP, for lack of the field
> EMBEDDED, I have no way to do it.
>
> Could someone tell me when the RAP implement the function of wrapping AWT?
Re: When does RWT implement the function of wrapping AWT? [message #544058 is a reply to message #544002] Thu, 01 July 2010 13:35 Go to previous message
gadmyth  is currently offline gadmyth Friend
Messages: 3
Registered: June 2010
Junior Member
thank you very much!

I tried to use swingwt to add worldwind into RAP. But still not working. For worldwind is based on java rt.jar, the swingwt.jar reimplemented almost the classes in rt.jar, so I renamed the swingwt's package name the same as the rt.jar. But in swingwt.jar, there's few method, and would throw NoSuchMethodException.

Oh, it's really a hard work, I think.
Previous Topic:TableViewer refresh slow
Next Topic:Compiler error: The import org.eclipse.ui.views.properties cannot be resolved
Goto Forum:
  


Current Time: Tue Dec 07 14:53:26 GMT 2021

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

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

Back to the top