Hi.
We're looking into having an oXygen plug-in developed which would make it possible to upload local files to eXist-db directly from oXygen. (I'm not talking about opening eXist files in oXygen, but rather about using the local filesystem under version control in oXygen and then occasionally deploying files to eXist).
At this point, I'm not looking for complex mirroring of files and hierarchies (especially since our local folder hierarchies do not necessarily correspond to the hierarchies in eXist-db), but a very simple one-on-one thing: a button in oXygen which on click will talk to eXist, deploy the current oXygen file to eXist-db (based on configuration values), trigger a reindex in eXist and notify the user that everything went ok.
The plugin should be configurable and allow for multiple deployments (e.g. deploy to local server and then remote, or staging server and production server etc.)
Any advice on how best to implement this with the oXygen SDK? We'd like to reuse as much as possible the functionalities that already exist.
All best,
Toma
--
Belgrade Center for Digital Humanities
http://humanistika.org
Hi everybody,
I am happy to announce that version 18.1 of oXygen XML Editor is now
available for download on our website.
The entire set of new features can be found here:
https://www.oxygenxml.com/whatisnew18.1.html
The Author SDK Maven repository has also been updated:
https://www.oxygenxml.com/oxygen_sdk.html
As always we added lots of Java API to Oxygen. I will enumerate below
some of the API changes, the complete list can be found here:
https://www.oxygenxml.com/whatisnew18.1.html#18.1API
- Control Titles Computation in the DITA Maps Manager.
The "WSDITAMapEditorPage.addNodeRendererCustomizer" API allows you to
let Oxygen compute topic titles in the DITA Maps Manager view but to
also allow the API developer to display additional information in the
topic title (for example looking at metadata inside the topic).
- Retrieve an Icon to be Displayed for a File Type.
Starting with version 17.1 we've been improving Oxygen to be Retina
aware, both on Mac OSX and on Windows. If your plugin is not retina
aware, the icons it contributes for toolbar buttons may appear scaled
out or fuzzy when using Retina screens.
The API method "ImageUtilitiesSpecificProvider.loadIcon(URL)" allows you
to have for your plugin two sets of images (non-retina and retina).
When running on a retina or HiDPI display, the application will try to
load a corresponding image for the current display. This topic explains
how the application tries to load an image based on the initial given
image location and on the display type:
https://www.oxygenxml.com/doc/versions/18/ug-author/topics/using-retina-hid…
- Listener for Replace All in Files Operations.
If you have a CMS integration plugin for the standalone Oxygen, you may
want to be notified before and after Oxygen starts a "Replace All"
operation on the entire set of DITA Map resources. The
"PluginWorkspace.addBatchOperationsListener()" allows CMS integration
plugins to automatically check out topics before they are modified by
the Oxygen "Find/Replace in Files" tool.
- Internationalization Support for Plugins
If a plugin has an i18n folder with a specific translation.xml
configuration file containing translations in various languages, the
StandalonePluginWorkspace.getResourceBundle() API method provides access
to translations of messages in the current language set in the application.
- Create Editing Component to Use in Your Own Custom Container.
The StandalonePluginWorkspace.createEditorComponentProvider() API method
allows you to create a small editing component with various edit modes
(Text, Grid, Author) that you can use in your own custom dialog boxes to
edit XML content. For example if you want to create your own action to
insert links and you want your custom dialog to show a preview of the
target file, this API now allows you to create the Author preview area
for your custom dialog.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com