
Hi Michael, So if I understand you correctly you want to save user preferences in the same place as Oxygen does. Starting with Oxygen 12.1 in the interface ro.sync.exml.workspace.api.PluginWorkspace we added the method: WSOptionsStorage getOptionsStorage(); which can be used to store (key=>value) pairs in the Oxygen preference files. Also starting from Oxygen 12.1 we have this additional method: String getPreferencesDirectory(); if you want to save additional preference files but in the same preferences directory. If you also want to be compatible with Oxygen 12.0: You can look at a system property "com.oxygenxml.ApplicationDataFolder" which should indicate to a place like: C:\Users\user_home\AppData\Roaming depending on the platform. In that folder Oxygen creates preferences directories called "com.oxygenxml" or "com.oxygenxml.author" depending on whether Oxygen XML Editor or Author is used. Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 2/14/2011 12:24 PM, Michael Anthony Smith wrote:
Does oXygen 12.x provide a way of integrating 'plugin' parameters with the application preference settings?
I am in the processes of adding user-level parameters to an oXygen workspace plugin, and would like to make use of any infrastructure that oXygen provides for hosting and setting these parameters. From reading the documentation I am expecting to have to write a custom plugin parameter settings GUI, along with its underpinning persistent storage support.
On a related note, is there a directory that plugins are supposed to store their user/project specific data in?
Regards, Anthony.