Page 1 of 1

Support Scripting Languages for plugins

Posted: Tue Aug 16, 2016 3:46 pm
by newt
We (LexisNexis) are beginning to use oXygen more and more. However, we are only currently using it for the XML architects and engineers within the company. Our editors are all working in Arbortext Epic. The primary reason for this is that it has a high level embedded language for customisation. The requirement that any reasonably complex extension to oXygen (such as a dialog box) requires a Java developer limits the usability of oXygen.

Were oXygen to support plugin development in a higher level language (perhaps Lua or Javascript) we think that the use of oXygen in corporate environments like ours would definitely be higher. Perhaps something like the approach taken with ScriptCraft (minecraft mod development in Javascript via Rhine) could be done.

thanks

nic gibson (lead content architect @ lexisnexis)

Re: Support Scripting Languages for plugins

Posted: Tue Aug 16, 2016 3:55 pm
by Radu
Dear Nic,

Starting with Oxygen 17.1 (current version is 18.0) we added support for Javascript-based Oxygen plugins using the Rhino Javascript engine:

https://www.oxygenxml.com/doc/versions/ ... in-js.html

There is also a repository of samples here:

https://github.com/oxygenxml/wsaccess-j ... le-plugins

And we also have support to implement Author visual editing actions using a special JSOperation:

https://www.oxygenxml.com/doc/versions/ ... tions.html

Regards,
Radu

Re: Support Scripting Languages for plugins

Posted: Wed Aug 17, 2016 5:00 pm
by newt
Well, that's embarrassing :D

I'll remember to read the release notes more carefully in future!

nic