From 9b134760a3d79b6c79078ccfcf68d0561f7ca664 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Ko=C5=BEusznik?= <jan@kozusznik.cz> Date: Thu, 12 Jul 2018 14:53:17 +0200 Subject: [PATCH] feature: change name of plugin Name plugin as SPIM Workflow Manager for HPC --- .../haas_spim_benchmark/commands/ManageSPIMBenchmark.java | 5 +++-- .../cz/it4i/fiji/haas_spim_benchmark/core/Constants.java | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/haas-spim-benchmark/src/main/java/cz/it4i/fiji/haas_spim_benchmark/commands/ManageSPIMBenchmark.java b/haas-spim-benchmark/src/main/java/cz/it4i/fiji/haas_spim_benchmark/commands/ManageSPIMBenchmark.java index 4f5adb6b..ea4b543a 100644 --- a/haas-spim-benchmark/src/main/java/cz/it4i/fiji/haas_spim_benchmark/commands/ManageSPIMBenchmark.java +++ b/haas-spim-benchmark/src/main/java/cz/it4i/fiji/haas_spim_benchmark/commands/ManageSPIMBenchmark.java @@ -10,6 +10,8 @@ import java.nio.file.Paths; import javax.swing.WindowConstants; +import net.imagej.ImageJ; + import org.scijava.Context; import org.scijava.command.Command; import org.scijava.plugin.Parameter; @@ -23,7 +25,6 @@ import org.slf4j.LoggerFactory; import cz.it4i.fiji.haas_spim_benchmark.core.Constants; import cz.it4i.fiji.haas_spim_benchmark.ui.BenchmarkSPIMWindow; -import net.imagej.ImageJ; /** * @@ -73,7 +74,7 @@ public class ManageSPIMBenchmark implements Command { final BenchmarkSPIMWindow dialog = new BenchmarkSPIMWindow(null, new BenchmarkSPIMParametersImpl(userName, password, Constants.PHONE, email, workingDirPath)); dialog.executeAdjustment(() -> { - dialog.setTitle(Constants.MENU_ITEM_NAME + " " + Constants.SUBMENU_ITEM_NAME); + dialog.setTitle(Constants.SUBMENU_ITEM_NAME); dialog.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE); dialog.addWindowListener(new WindowAdapter() { @Override diff --git a/haas-spim-benchmark/src/main/java/cz/it4i/fiji/haas_spim_benchmark/core/Constants.java b/haas-spim-benchmark/src/main/java/cz/it4i/fiji/haas_spim_benchmark/core/Constants.java index 970e5234..753798b5 100644 --- a/haas-spim-benchmark/src/main/java/cz/it4i/fiji/haas_spim_benchmark/core/Constants.java +++ b/haas-spim-benchmark/src/main/java/cz/it4i/fiji/haas_spim_benchmark/core/Constants.java @@ -6,7 +6,7 @@ import java.util.Map; public interface Constants { String MENU_ITEM_NAME = "Multiview Reconstruction"; - String SUBMENU_ITEM_NAME = "Remote Workflow Manager"; + String SUBMENU_ITEM_NAME = "SPIM Workflow Manager for HPC"; String PHONE = "123456789"; int HAAS_UPDATE_TIMEOUT = 30000; -- GitLab