From fa3a2dbd1d482db3e925c402105c054912337569 Mon Sep 17 00:00:00 2001 From: Stephan Preibisch Date: Thu, 16 Nov 2023 10:11:51 -0500 Subject: [PATCH] start fixing Messages in BigStitcher (TODO: checkbox "do not show BDV") --- .../queryXML/GenericLoadParseQueryXML.java | 2 +- .../mvrecon/fiji/plugin/util/GUIHelper.java | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main/java/net/preibisch/mvrecon/fiji/plugin/queryXML/GenericLoadParseQueryXML.java b/src/main/java/net/preibisch/mvrecon/fiji/plugin/queryXML/GenericLoadParseQueryXML.java index 1df5ec501..69eda5c41 100644 --- a/src/main/java/net/preibisch/mvrecon/fiji/plugin/queryXML/GenericLoadParseQueryXML.java +++ b/src/main/java/net/preibisch/mvrecon/fiji/plugin/queryXML/GenericLoadParseQueryXML.java @@ -316,7 +316,7 @@ public boolean queryXML( this.gd = gd; gd.addMessage( "" ); - GUIHelper.addPreibischLabWebsite( gd ); + GUIHelper.addCredits( gd ); gd.showDialog(); diff --git a/src/main/java/net/preibisch/mvrecon/fiji/plugin/util/GUIHelper.java b/src/main/java/net/preibisch/mvrecon/fiji/plugin/util/GUIHelper.java index 25c404609..55727aa52 100644 --- a/src/main/java/net/preibisch/mvrecon/fiji/plugin/util/GUIHelper.java +++ b/src/main/java/net/preibisch/mvrecon/fiji/plugin/util/GUIHelper.java @@ -73,13 +73,13 @@ public class GUIHelper public static Font staticfont = new Font( Font.MONOSPACED, Font.PLAIN, 12 ); - final public static String myURL = "http://preibischlab.mdc-berlin.de/"; - final public static String paperURL = "http://www.nature.com/nmeth/journal/v7/n6/full/nmeth0610-418.html"; - final public static String messagePaper = "Please note that the SPIM Registration is based on a publication.\n" + + final public static String myURL = "https://www.janelia.org/open-science/overview/open-science-software-initiative-ossi"; + final public static String paperURL = "https://www.nature.com/articles/s41592-019-0501-0"; + final public static String messagePaper = "Please note that BigStitcher is based on a publication.\n" + "If you use it successfully for your research please be so kind to cite our work:\n" + - "Preibisch et al., Nature Methods (2010), 7(6):418-419\n"; + "Nature Methods 16: 870–874 (2019)\n"; - final public static String messageWebsite = "This plugin is written and maintained by the Preibisch Lab (click for webpage)\n"; + final public static String messageWebsite = "This plugin was written by the Preibisch Lab is now supported by the HHMI Janelia Open Science Software initative\n"; public static void addNatMethBeadsPaper( final GenericDialog gd ) { addNatMethBeadsPaper( gd, messagePaper ); } public static void addNatMethBeadsPaper( final GenericDialog gd, final String msg ) { addHyperLink( gd, msg, paperURL ); } @@ -94,11 +94,11 @@ public static final void addHyperLink( final GenericDialog gd, final String msg, GUIHelper.addHyperLinkListener( text, url ); } - public static final void addPreibischLabWebsite( final GenericDialog gd ) + public static final void addCredits( final GenericDialog gd ) { - gd.addMessage( "This software is developed by the Preibisch Lab in collaboration with the ImgLib2 and Fiji team\nhttp://preibischlab.mdc-berlin.de/", new Font( Font.SANS_SERIF, Font.BOLD, 12 ) ); + gd.addMessage( "This software was developed by the Preibisch Lab (MDC Berlin) and is now supported by the\nHHMI Janelia Open Science Software initative in collaboration with the ImgLib2 and Fiji team", new Font( Font.SANS_SERIF, Font.BOLD, 12 ) ); MultiLineLabel text = (MultiLineLabel) gd.getMessage(); - GUIHelper.addHyperLinkListener( text, "http://preibischlab.github.io/preibisch-labsite" ); + GUIHelper.addHyperLinkListener( text, "https://www.janelia.org/open-science/overview/open-science-software-initiative-ossi" ); } public static void displayRegistrationNames( final GenericDialog gd, final HashMap< String, Integer > names )