From 265c609783037b3944bf6dd00887eae6748010d0 Mon Sep 17 00:00:00 2001 From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch> Date: Tue, 27 Mar 2018 22:41:49 +0200 Subject: [PATCH] Use "MESSAGE" strings for displaying text on interactive dialog --- .../resources/scripts/Plugins/NoiSee/NoiSee_Bead_Analysis.ijm | 3 ++- .../scripts/Plugins/NoiSee/NoiSee_Fluorescein_Analysis.ijm | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/resources/scripts/Plugins/NoiSee/NoiSee_Bead_Analysis.ijm b/src/main/resources/scripts/Plugins/NoiSee/NoiSee_Bead_Analysis.ijm index cbc97af..aced5c5 100644 --- a/src/main/resources/scripts/Plugins/NoiSee/NoiSee_Bead_Analysis.ijm +++ b/src/main/resources/scripts/Plugins/NoiSee/NoiSee_Bead_Analysis.ijm @@ -1,4 +1,4 @@ -// @String(label="NoiSee - Beads SNR analysis", choices={"Note: all currently open images will be closed!"}, style="listBox", description="Hit 'Cancel' otherwise!") warn_msg +// #@ String (visibility=MESSAGE, label="NoiSee -", value="Beads SNR analysis", persist=false) msg_title // @File(label="Beads time-series image",description="2D time-lapse acquisition of fluorescent beads") beadsimage // @Integer(label="Beads diameter (in pixels)",description="approximate bead diameter (in pixels)",value=15) beads_diameter // @Integer(label="Find Maxima noise tolerance",description="typical values: [PMT=50] [HyD (photon counting)=10] [Camera=500]",value=50) beads_noisetolerance @@ -8,6 +8,7 @@ // @Boolean(label="Keep ROI images open",description="ROI visualizations will only be added to PDF otherwise",value="false") keep_roiimages // @Integer(label="Log level",description="higher number means more messages",min=0,max=2,style="scroll bar") LOGLEVEL // @Boolean(label="Save log messages",description="save contents of the 'Log' window in a text file",value="false") save_log +// #@ String (visibility=MESSAGE, label="Note:", value="all currently open images will be closed", persist=false) msg_note_close //////////// NoiSee Beads Analysis /////////////////////////////////////////////////////// diff --git a/src/main/resources/scripts/Plugins/NoiSee/NoiSee_Fluorescein_Analysis.ijm b/src/main/resources/scripts/Plugins/NoiSee/NoiSee_Fluorescein_Analysis.ijm index d5c5df4..e45ea13 100644 --- a/src/main/resources/scripts/Plugins/NoiSee/NoiSee_Fluorescein_Analysis.ijm +++ b/src/main/resources/scripts/Plugins/NoiSee/NoiSee_Fluorescein_Analysis.ijm @@ -1,9 +1,10 @@ -// @String(label="NoiSee - Fluorescein SNR analysis", choices={"Note: all currently open images will be closed!"}, style="listBox", description="Hit 'Cancel' otherwise!") warn_msg +// #@ String (visibility=MESSAGE, label="NoiSee -", value="Fluorescein SNR analysis", persist=false) msg_title // @File(label="Dark image",description="dark field image") darkimage // @File(label="Fluorescein image",description="fluorescein image") fluoimage // @Boolean(label="Save results as PDF",description="generate a PDF with images and plots",value="true") save_pdf // @Integer(label="Log level",description="higher number means more messages",min=0,max=2,style="scroll bar") LOGLEVEL // @Boolean(label="Save log messages",description="save contents of the 'Log' window in a text file",value="false") save_log +// #@ String (visibility=MESSAGE, label="Note:", value="all currently open images will be closed", persist=false) msg_note_close //////////// NoiSee Fluorescein Analysis /////////////////////////////////////////////////////// -- GitLab