Create a Java project with a custom implementation of
ro.sync.ecss.extensions.api.AuthorOperation which performs your custom
operation and updates the Author page using our API like:
AuthorAccess.getDocumentController().insertXMLFragment.
Pack the operation class inside a Java jar library.
Copy the jar library to the
OXYGEN_INSTALL_DIR/frameworks/framework_dir directory.
Go to Oxygen Preferences
> Document Type Association page and set the user role to Developer (you need write
access to the OXYGEN_INSTALLATION_DIR). Edit the document type.
In the Classpath tab, add a new entry like:
${frameworks}/docbook/customAction.jar.
In the Author tab, add a new action which uses your custom operation.
Mount the action to the toolbars or menus.
Share the modifications with your colleagues. The files which should be shared are your
customAction.jar library and the .framework
configuration file from the
OXYGEN_INSTALL_DIR/frameworks/framework_dir directory.