Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] Coding an Eclipse plugin with HTML, JS (and Eclipse Browser)

Ok, after playing a little with the browser widget I can say that it is possible to inject EASE into the browser. It takes some effort to allow to load EASE modules, but it is doable. Return types from the script engine into the Java world seem so be somewhat limited. I guess same counts for method call parameters. It seems that only basic types can be exchanged between JS and Java. Further the code is running in the UI thread, which may not be nice for long running scripts. For UI callbacks it would be sufficient I guess.

Christian

On 30.03.2017 16:46, Christian Pontesegger wrote:
No, did not try that. Depends on which JS engines are used in the browser widgets on the different platforms. However if these engines support to access the running JRE we could imjplement EASE support quite easily. Would be really nice to mix EASE code in an HTML rendered browser widget. Any more information on the browser JS engines available?

Christian


On 30.03.2017 08:48, Mickael Istria wrote:
@Christian: is this something you already tried? Basically, the idea is to imagine you're provided a Browser widget, is it possible to add EASE JS libs in its JS context?




Back to the top