@@ -0,0 +1,1620 @@
+package net.restlesscoder.sandbox.imagej;%0A/*%0A * To the extent possible under law, the ImageJ developers have waived%0A * all copyright and related or neighboring rights to this tutorial code.%0A *%0A * See the CC0 1.0 Universal license for details:%0A *     http://creativecommons.org/publicdomain/zero/1.0/%0A */%0A%0Aimport net.imagej.ImageJ;%0A%0Aimport org.scijava.ItemIO;%0Aimport org.scijava.command.Command;%0Aimport org.scijava.plugin.Parameter;%0Aimport org.scijava.plugin.Plugin;%0Aimport org.scijava.widget.ChoiceWidget;%0A%0A/**%0A * Demonstration of multiple choice parameters.%0A * %0A * @author Curtis Rueden%0A */%0A@Plugin(type = Command.class,%0A%09menuPath = %22Plugins%3EImageJ Tutorials%3EMultiple Choice%22)%0Apublic class MultipleChoice implements Command %7B%0A%0A%09@Parameter(label = %22Favorite word%22,%0A%09%09choices = %7B %22The%22, %22quick%22, %22brown%22, %22fox%22,%0A%09%09%09%22jumps%22, %22over%22, %22the%22, %22lazy%22, %22dog%22 %7D)%0A%09private String word;%0A%0A%09@Parameter(label = %22Green eggs and ham%22,%0A%09%09style = ChoiceWidget.RADIO_BUTTON_HORIZONTAL_STYLE,%0A%09%09choices = %7B %22Yes%22, %22No%22, %22Maybe%22 %7D)%0A%09private String eggsHam;%0A%0A%09@Parameter(label = %22Rating%22,%0A%09%09style = ChoiceWidget.RADIO_BUTTON_VERTICAL_STYLE,%0A%09%09choices = %7B%0A%09%09%09%22Loved%22,%0A%09%09%09%22Really liked%22,%0A%09%09%09%22Liked%22,%0A%09%09%09%22Disliked%22,%0A%09%09%09%22Really disliked%22%0A%09%09%7D)%0A%09private String rating;%0A%0A%09@Parameter(type = ItemIO.OUTPUT)%0A%09private String info;%0A%0A%09@Override%0A%09public void run() %7B%0A%09%09info = %22%22 + //%0A%09%09%09%22word = %22 + word + %22%5Cn%22 + //%0A%09%09%09%22eggsHam = %22 + eggsHam + %22%5Cn%22 + //%0A%09%09%09%22rating = %22 + rating;%0A%09%7D%0A%0A%09public static void main(final String... args) throws Exception %7B%0A%09%09final ImageJ ij = new ImageJ();%0A%09%09ij.launch(args);%0A%09%09ij.command().run(MultipleChoice.class, true);%0A%09%7D%0A%0A%7D

Add demo of multiple-choice SciJava parameters