Option Page Plugin ExtensionEdit online
This type of plugin extension allows you to add custom Preferences pages.
The extension must implement the ro.sync.exml.plugin.option.OptionPagePluginExtension
class. The provided callbacks allow you to create a custom Swing component that will be
added to the page and to react to various calls to persistently save the page settings using
the OptionsStorage API.
All preferences pages that are contributed by a plugin are listed in the Preferences dialog box in the Plugins category. As long as the added preferences page has the same name as its plugin, it will be promoted to the first level of the hierarchy within the Plugins category.
The plugin.xml configuration file can specify one or more such
extensions using constructs like
this:
<extension type="OptionPage" class="my.pack.CustomOptionPagePluginExtension"/>