Re: ImageJ toolbar
Posted by
Josh Doe-2 on
URL: http://imagej.273.s1.nabble.com/ImageJ-toolbar-tp3700580p3700581.html
Try using the toolID macro (
http://rsb.info.nih.gov/ij/developer/macro/functions.html#T)
Josh D
On 1/17/07, Jeffrey B. Woodward <
[hidden email]> wrote:
>
> From a plugin, what is the best way to inspect the state and potentially
> modify the active tool (Rectangular selections, Elliptical selections,
> ..., Magnifying glass, etc) on the ImageJ toolbar? I have a plugin in
> which I attach a mouse listener to the canvas looking for mouse clicked
> events; however, it really only makes sense to take action if the "Point
> Selections" tool is active.
>
> Many thanks in advanced,
>
> -Woody
>