Using new presenters in Eclipse RCP was: DukeScript for Eclipse

8 views
Skip to first unread message

Jaroslav Tulach

unread,
Jun 15, 2016, 11:38:53 PM6/15/16
to Eric Berryman, DukeScript


2016-06-15 15:25 GMT+02:00 <eric.b...@gmail.com>:
Should I use the new presenters?  It seems I should try to wrap the new presenters instead of using javafx webview.


I guess it depends on how well SWT can absorb native components. Probably it should be easier than in case of AWT/Swing[1]. In any case you need to modify the dukescript-presenters codebase - as far as I see there is no FXBrowsers-like wrapper and you'd need to get on hold of the native component hidden behind Fn.Presenter somehow...

I guess the work will require insight into the dukescript-presenters codebase as well as SWT which is something I don't have.
-jt

[1] For example using java.awt.Desktop and the native presenter on Linux crashes the VM as the presenter requires GTK3.0+ and AWT is written against GTK2.0.


Reply all
Reply to author
Forward
0 new messages