Plugin API Questions

Having trouble installing Oxygen? Got a bug to report? Post it all here.
mtang
Posts: 1
Joined: Sun Mar 26, 2006 5:30 pm

Plugin API Questions

Post 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
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post 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
Post Reply