Installing your own tool
From WandoraWiki
(Difference between revisions)
(→Placing the tool class file) |
(→Placing the tool class file) |
||
Line 30: | Line 30: | ||
com/gripstudios/applications/fng/tools | com/gripstudios/applications/fng/tools | ||
− | You have to place your tool class into one of these packages or you have to add new path element for your | + | You have to place your tool class into one of these packages or you have to add new path element for your tool. If your tool class package is for example '''org.myproject.tools''' add element |
<path15>org/myprojects/tools</path15> | <path15>org/myprojects/tools</path15> | ||
to options. Here we assume that options already contains 14 path settings. | to options. Here we assume that options already contains 14 path settings. |
Revision as of 16:45, 2 March 2007
To install your own tool
- Place your tool class file into Wandora's tool directory.
- Restart Wandora.
- Open Tool manager.
- Create new tool.
- Locate your tool class and give a name for your tool.
- Accept new tool and close tool manager.
Now your tool is available at Tools menu and ready to be executed.
Placing the tool class file
Tool manager scans through given folders for class files. If scanned class file implements tool interface the class is accepted as a Wandora tool. Folder list is given in Wandora options file with path elements. By default the tool manager seeks tool classes in:
com/gripstudios/applications/wandora/admin/tools com/gripstudios/applications/wandora/admin/tools/exporters com/gripstudios/applications/wandora/admin/tools/extractors com/gripstudios/applications/wandora/admin/tools/importers com/gripstudios/applications/wandora/admin/tools/layers com/gripstudios/applications/wandora/admin/tools/subjects com/gripstudios/applications/wandora/admin/tools/selections com/gripstudios/applications/wandora/admin/tools/associations com/gripstudios/applications/wandora/admin/tools/generators com/gripstudios/applications/wandora/admin/tools/navigate com/gripstudios/applications/wandora/admin/tools/project com/gripstudios/applications/wandora/admin/tools/subjects com/gripstudios/applications/wandora/admin/tools/topicnames com/gripstudios/applications/fng/tools
You have to place your tool class into one of these packages or you have to add new path element for your tool. If your tool class package is for example org.myproject.tools add element
<path15>org/myprojects/tools</path15>
to options. Here we assume that options already contains 14 path settings.