Skip to content
Snippets Groups Projects
Commit 9b134760 authored by Jan Kožusznik's avatar Jan Kožusznik
Browse files

feature: change name of plugin

Name plugin as SPIM Workflow Manager for HPC
parent 21a723ef
Branches
No related tags found
No related merge requests found
...@@ -10,6 +10,8 @@ import java.nio.file.Paths; ...@@ -10,6 +10,8 @@ import java.nio.file.Paths;
import javax.swing.WindowConstants; import javax.swing.WindowConstants;
import net.imagej.ImageJ;
import org.scijava.Context; import org.scijava.Context;
import org.scijava.command.Command; import org.scijava.command.Command;
import org.scijava.plugin.Parameter; import org.scijava.plugin.Parameter;
...@@ -23,7 +25,6 @@ import org.slf4j.LoggerFactory; ...@@ -23,7 +25,6 @@ import org.slf4j.LoggerFactory;
import cz.it4i.fiji.haas_spim_benchmark.core.Constants; import cz.it4i.fiji.haas_spim_benchmark.core.Constants;
import cz.it4i.fiji.haas_spim_benchmark.ui.BenchmarkSPIMWindow; import cz.it4i.fiji.haas_spim_benchmark.ui.BenchmarkSPIMWindow;
import net.imagej.ImageJ;
/** /**
* *
...@@ -73,7 +74,7 @@ public class ManageSPIMBenchmark implements Command { ...@@ -73,7 +74,7 @@ public class ManageSPIMBenchmark implements Command {
final BenchmarkSPIMWindow dialog = new BenchmarkSPIMWindow(null, final BenchmarkSPIMWindow dialog = new BenchmarkSPIMWindow(null,
new BenchmarkSPIMParametersImpl(userName, password, Constants.PHONE, email, workingDirPath)); new BenchmarkSPIMParametersImpl(userName, password, Constants.PHONE, email, workingDirPath));
dialog.executeAdjustment(() -> { 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.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
dialog.addWindowListener(new WindowAdapter() { dialog.addWindowListener(new WindowAdapter() {
@Override @Override
......
...@@ -6,7 +6,7 @@ import java.util.Map; ...@@ -6,7 +6,7 @@ import java.util.Map;
public interface Constants { public interface Constants {
String MENU_ITEM_NAME = "Multiview Reconstruction"; 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"; String PHONE = "123456789";
int HAAS_UPDATE_TIMEOUT = 30000; int HAAS_UPDATE_TIMEOUT = 30000;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment