Hi Tiago, hi Jan,
thanks for your response. That helped a lot!
Cheers,
Thorsten
Am Samstag, den 12.07.2014, 09:15 -0400 schrieb Tiago Ferreira:
> Hi Thorsten,
>
> On Jul 12, 2014, at 07:39, Thorsten Wagner <
[hidden email]> wrote:
> > The recorder will only record run("my plugin", "area=x area=y") and the
> > value x / y doesn't have any effect.
>
>
> You will have to use underscores to make them unique, e.g.:
>
> "Area_Min Enclosing Rectangle"
> "Area_Max Enclosing Rectangle"
>
> or perhaps:
>
> int min=10, max=100;
> GenericDialog gd = new GenericDialog("Unique Labels");
> gd.addMessage("Settings for Enclosing Rectangle:");
> gd.addNumericField("Min Area", min, 0);
> gd.addNumericField("Max Area", max, 0);
> gd.showDialog();
>
>
> from
http://imagej.nih.gov/ij/developer/api/ij/gui/GenericDialog.html:>
> To work with macros, the first word of each component label must be unique.
> If this is not the case, add underscores, which will be converted to spaces
> when the dialog is displayed. For example, change the checkbox labels
>
> "Show Quality" and "Show Residue" to "Show_Quality" and "Show_Residue".
>
>
> -tiago
>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html