Login  Register

run-once plugin?

Posted by GeraldT on Jun 03, 2010; 2:31pm
URL: http://imagej.273.s1.nabble.com/Get-continuous-pixel-coordinates-from-a-line-ROI-tp3688036p3688040.html

Hi everybody,

I have written a plugin to do some dental measurements on X-rays. The plugin is uses the PlugInFrame interface
and opens a menu in a new frame. It starts every time if called from the compile and run-command. I have installed the plugin with shortcut F5 and a command. After starting ImageJ I can run the plugin once by pressing F5 or using the Plugins-menu, but after the plugin is stopped it won't start again until ImageJ is restarted. I cannot find the reason for this behavior.
The program is ended by the close() command. Can anybody help me?

I will release the plugin to public domain later if it proves useful, but still the code is to messy to publish it.

Mvh


Gerald R. Torgersen
IT-seksjonen,
Det odontologiske fakultet / Faculty of Dentistry
Universitetet i Oslo / University of Oslo