From version 4.6.0 DataWarrior has a plugin interface built in, which allows to add custom developed database plugins to a DataWarrior installation. Plugins may be developed by any person knowing the Java programming language without any knowledge of the DataWarrior source code. If a plugin is added to the DataWarrior installation, then DataWarrior will have a new menu item that, if invoked, causes to retrieve data from some database or other data source and to show that data in a new DataWarrior window. Before the data is retrieved, a plugin may show a dialog to let a user specify some database query conditions. This dialog may include a structure editor to allow for sub-structure or similarity searches. When chemical structures are returned from the database along with alphanumerical data then they are automatically converted into DataWarrior structures if they are in SMILES, MDL-molfile, or idcode (compact canonical OpenChemLib representation) format.
Developing DataWarrior plugins is easy. It requires basic Java development skills, an installed JDK (Java development kit) and the DataWarrior Plugin-SDK, which can be downloaded here:
The SDK contains a readme.txt file explaining the plugin concept and the steps needed to successfully develop and build a plugin. It also contains example Java code, a build script and the Java interface files needed to communicate to the DataWarrior application.