Re: Extensibility [message #257 is a reply to message #254] |
Thu, 30 March 2017 21:52 |
thomas
Messages: 715 Registered: June 2014
|
Senior Member |
|
|
Hi Andriy,
I already planned a plugin interface since some time, but because of other priorities didn't find the time yet. Nevertheless, if you would be willing to do some programming, there would be a few options:
- take the DataWarrior source code, add a custom menu item to the database menu, which opens a login dialog to your system and then, similar to the COD-database dialog, opens an own dialog with query options. The query could be sent through a REST or JDBC based connection and retrieves a result table with isomeric SMILES and data or opens an SD-File from a predefined location or network stream. Disadvantage: with every new DataWarrior version you would have to combine DataWarrior source with your custom source and recompile.
- you may create an independent application to define query features and prepare the result, e.g. as a Web application. Instead of retrieving the result the user receives a result URL like //http:someServer/?queryID=12435. The user launches DataWarrior, selects "Database->Retrieve Data From Custom URL..." and retrieves the result. If it includes structures as isomeric SMILES, then they are automatically recognized and shown.
- third option: contribute to a Plugin-API specification and implementation, which would then give you a maximum of flexibility. Even this would be an overseeable effort.
Best wishes, Thomas
|
|
|