File: CommandListener.java

package info (click to toggle)
imagej 1.46a-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,248 kB
  • sloc: java: 89,778; sh: 311; xml: 51; makefile: 6
file content (16 lines) | stat: -rw-r--r-- 589 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package ij;

	/** Plugins that implement this interface are notified when ImageJ
		is about to run a menu command. There is an example plugin at
		http://imagej.nih.gov/ij/plugins/download/misc/Command_Listener.java
	*/
	public interface CommandListener {

	/*	The method is called when ImageJ is about to run a menu command, 
		where 'command' is the name of the command. Return this string 
		and ImageJ will run the command, return a different command name
		and ImageJ will run that command, or return null to not run a command.
	*/
	public String commandExecuting(String command);

}