When does RWT implement the function of wrapping AWT? [message #543804] |
Wed, 30 June 2010 15:43  |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.02512 seconds