diff --git a/build.gradle.kts b/build.gradle.kts index d894b19..4014338 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -4,7 +4,7 @@ plugins { qupathExtension { name = "qupath-extension-align" - version = "0.5.0-SNAPSHOT" + version = "0.5.0" group = "io.github.qupath" description = "QuPath extension for interactive image alignment" automaticModule = "qupath.extension.align" diff --git a/src/main/java/qupath/ext/align/AlignExtension.java b/src/main/java/qupath/ext/align/AlignExtension.java index 1fdd6ba..cd689ee 100644 --- a/src/main/java/qupath/ext/align/AlignExtension.java +++ b/src/main/java/qupath/ext/align/AlignExtension.java @@ -39,13 +39,15 @@ public class AlignExtension implements QuPathExtension, GitHubProject { public static class ExperimentalCommands { - @ActionConfig(value = "alignAction", bundle = "qupath/ext/align/strings") @ActionMenu("Menu.Analyze>Alignment") public final Action actionInteractiveAlignment; private ExperimentalCommands(QuPathGUI qupath) { var interactiveAlignment = new InteractiveImageAlignmentCommand(qupath); actionInteractiveAlignment = qupath.createProjectAction(project -> interactiveAlignment.run()); + actionInteractiveAlignment.setText("Interactive image alignment"); + actionInteractiveAlignment.setLongText("Experimental command to interactively align images using an Affine transform. \n" + + "This is currently not terribly useful in itself, but may be helpful as part of more complex scripting workflows"); } } diff --git a/src/main/resources/qupath/ext/align/strings.properties b/src/main/resources/qupath/ext/align/strings.properties deleted file mode 100644 index 39d8643..0000000 --- a/src/main/resources/qupath/ext/align/strings.properties +++ /dev/null @@ -1,3 +0,0 @@ -alignAction = Interactive image alignment -alignAction.description = Experimental command to interactively align images using an Affine transform. \ - This is currently not terribly useful in itself, but may be helpful as part of more complex scripting workflows