Page 1 of 1

want to set additional.frameworks.directories using plugin or vmoptions on starting of xml editor

Posted: Thu Apr 16, 2020 10:22 am
by vishwavaranasi
Hello team ,

and we want the below preferences
additional.frameworks.directories
dita.ot.directory

to be set to custom values , and these values to be configured using plugin or vmoptions ?

i was referring to the sample plugin here https://github.com/oxygenxml/wsaccess-j ... se-options , this looks like with javascript , does we can implement the same using java ?

please help us here?

Thanks,
vishwa

Re: want to set additional.frameworks.directories using plugin or vmoptions on starting of xml editor

Posted: Thu Apr 16, 2020 10:37 am
by Radu
Hi,

Sure, from a workspace access Java plugin extension you can also import options when Oxygen starts:;

Code: Select all

  /**
   * @see ro.sync.exml.plugin.workspace.WorkspaceAccessPluginExtension#applicationStarted(ro.sync.exml.workspace.api.standalone.StandalonePluginWorkspace)
   */
  @Override
  public void applicationStarted(final StandalonePluginWorkspace pluginWorkspaceAccess) {
    pluginWorkspaceAccess.importGlobalOptions(optionsFile);
    ....
    
https://www.oxygenxml.com/doc/versions/ ... lugin.html

Regards,
Radu