Create a Java project with a custom implementation of ro.sync.ecss.extensions.api.AuthorOperation which performs your
custom operation and updates the Author mode 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 edit the document type (you need write access to the
OXYGEN_INSTALLATION_DIR).
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.