To bundle Workspace Access plugins, that are developed for standalone application with the
Author Component, follow these steps:
- The bundle-plugins module must contain the additional plugin
directories in the dropins subdirectory. The content must also
contain a plugin.dtd file.
Note:
Copy the
plugin.dtd file from an
[OXYGEN_DIR]\plugins folder.
- In the class which instantiates the AuthorComponentFactory, for
example the ro.sync.ecss.samples.AuthorComponentSample class, call the
methods AuthorComponentFactory.getPluginToolbarCustomizers(),
AuthorComponentFactory.getPluginViewCustomizers() and
AuthorComponentFactory.getMenubarCustomizers(), obtain the
customizers which have been added by the plugins and call them to obtain the custom swing
components that they contribute. There is a commented-out example for this in the
AuthorComponentSample.reconfigureActionsToolbar() method for adding
the toolbar from the Acrolinx plugin.
Important: As the Author Component is just a subset of the entire application, there
is no guarantee that all the functionality of the plugin works.