Installing your own tool
From WandoraWiki
		(Difference between revisions)
		
		
 (→Placing the tool Java class file)  | 
			|||
| (6 intermediate revisions by one user not shown) | |||
| Line 1: | Line 1: | ||
To install your own tool  | To install your own tool  | ||
| − | * Place your tool class file into Wandora's tool directory.  | + | * Place your tool Java class file into Wandora's tool directory, by default '''org/wandora/application/tools'''.  | 
* Open Wandora.  | * Open Wandora.  | ||
* Open [[Tool manager]].  | * Open [[Tool manager]].  | ||
* Select '''generic''' tool set.  | * Select '''generic''' tool set.  | ||
| − | * Add tool   | + | * Click '''Add tool''' and select your tool in tool selector.  | 
* Close Tool manager.  | * Close Tool manager.  | ||
Now your tool is available at '''Tools''' menu and ready to be executed.  | Now your tool is available at '''Tools''' menu and ready to be executed.  | ||
| − | ==Placing the tool class file==  | + | ==Placing the tool Java class file==  | 
| − | Tool manager scans through given   | + | Tool manager scans through given paths for class files. If scanned class file implements [http://www.wandora.org/wandora/docs/api/org/wandora/application/WandoraTool.html tool interface] the class is accepted as a Wandora tool. [[Tool manager]] seeks tool classes in class paths specified in the Tool manager's '''Paths''' tab. By default the [[Tool manager]] seeks tool classes in package '''org/wandora/application/tools'''.  | 
If you add new path to [[Tool manager]] make sure the path is also Java's class path. To change class path's of Wandora you need to edit '''bin/SetClasspath.bat''' and '''bin/SetClasspath.sh'''.  | If you add new path to [[Tool manager]] make sure the path is also Java's class path. To change class path's of Wandora you need to edit '''bin/SetClasspath.bat''' and '''bin/SetClasspath.sh'''.  | ||
| − | + | == See also ==  | |
| + | |||
| + | * [[Tool manager]]  | ||
| + | * [[:Category:Tools|Available tools]]  | ||
| + | * [[Writing your own tool]]  | ||
| + | * [[Tool locks]]  | ||
| + | * [[Configuring tools]]  | ||
| + | * [[Additional tool help]]  | ||
Latest revision as of 13:45, 10 August 2013
To install your own tool
- Place your tool Java class file into Wandora's tool directory, by default org/wandora/application/tools.
 - Open Wandora.
 - Open Tool manager.
 - Select generic tool set.
 - Click Add tool and select your tool in tool selector.
 - Close Tool manager.
 
Now your tool is available at Tools menu and ready to be executed.
[edit] Placing the tool Java class file
Tool manager scans through given paths for class files. If scanned class file implements tool interface the class is accepted as a Wandora tool. Tool manager seeks tool classes in class paths specified in the Tool manager's Paths tab. By default the Tool manager seeks tool classes in package org/wandora/application/tools.
If you add new path to Tool manager make sure the path is also Java's class path. To change class path's of Wandora you need to edit bin/SetClasspath.bat and bin/SetClasspath.sh.