Page 1 of 1

Plugin API Questions

Posted: Sun Mar 26, 2006 5:36 pm
by mtang
Hi,

I'm developing a pair of plugins for Oxygen for our department to automatically fetch and save XML files to a SQL Server. My first question is, is there a way for a plugin to programmatically create a new document/tab? Right now, the user has to manually create a document, and the plugin just dumps the xml into it.

Also, I've been having an issue with the JVM not releasing system libraries between plugin calls. What is the proper way to call/dispose of a plugin and its GUI components, and how does Oxygen handle the plugins themselves? I.e. threading, etc?

Thanks!

~ Mason

Posted: Mon Mar 27, 2006 12:36 pm
by sorin_ristache
Hello,

Implement the plugin as a custom protocol plugin. After installing the plugin type the URL of the XML file in the File -> Open dialog and <oXygen/> opens the file using your plugin.

Regards,
Sorin