Author Extension - List open files?
Oxygen general issues.
-
- Posts: 3
- Joined: Thu Oct 07, 2010 8:08 pm
Author Extension - List open files?
I'm trying to create and extension in java to post DITA files from Oxygen up to a data base via a web service. Is there a way I can get a list of the documents that are open in Oxygen? What about in the DITA Map Manager?
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Author Extension - List open files?
Hi,
For the Oxygen standalone edition we have a set of sample plugins available here (+ JavaDoc and PDF documentation):
http://www.oxygenxml.com/developer.html#Plugins
An Oxygen plugin is usually installed by copying it to the "OXYGEN_INSTALL_DIR/plugins" directory.
The type of sample plugin you should look into is the Workspace Access plugin.
In this type of plugin you get access to a StandalonePluginWorkspace which contains methods like:
This type of plugin also allows you to add your own actions to the toolbar and main menu.
Regards,
Radu
For the Oxygen standalone edition we have a set of sample plugins available here (+ JavaDoc and PDF documentation):
http://www.oxygenxml.com/developer.html#Plugins
An Oxygen plugin is usually installed by copying it to the "OXYGEN_INSTALL_DIR/plugins" directory.
The type of sample plugin you should look into is the Workspace Access plugin.
In this type of plugin you get access to a StandalonePluginWorkspace which contains methods like:
Code: Select all
/**
* Get all the editor locations.
*
* @param editingArea One of the constants in this class:
* <br>
* {@link #MAIN_EDITING_AREA} - for the editors in the main Oxygen workspace area.
* <br>
* {@link #DITA_MAPS_EDITING_AREA} - for the editors in the DITA Maps Manager view workspace area.
* <br>
* @return All the editor locations or empty array if no editor is opened
*/
URL[] getAllEditorLocations(int editingArea);
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service