MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / run

Method run

ij/src/main/java/ij/plugin/SimpleCommands.java:26–68  ·  view source on GitHub ↗
(String arg)

Source from the content-addressed store, hash-verified

24 private static int choiceIndex = 0;
25
26 public void run(String arg) {
27 if (arg.equals("search"))
28 search();
29 else if (arg.equals("import"))
30 Opener.openResultsTable("");
31 else if (arg.equals("table"))
32 Opener.openTable("");
33 else if (arg.equals("rename"))
34 rename();
35 else if (arg.equals("reset"))
36 reset();
37 else if (arg.equals("about"))
38 aboutPluginsHelp();
39 else if (arg.equals("install"))
40 installation();
41 else if (arg.equals("set"))
42 setSliceLabel();
43 else if (arg.equals("remove"))
44 removeStackLabels();
45 else if (arg.equals("itor"))
46 imageToResults();
47 else if (arg.equals("rtoi"))
48 resultsToImage();
49 else if (arg.equals("display"))
50 IJ.runMacroFile("ij.jar:ShowAllLuts", null);
51 else if (arg.equals("missing"))
52 showMissingPluginsMessage();
53 else if (arg.equals("fonts"))
54 showFonts();
55 else if (arg.equals("opencp"))
56 openControlPanel();
57 else if (arg.equals("magic"))
58 installMagicMontageTools();
59 else if (arg.equals("interactive"))
60 openInteractiveModeEditor();
61 else if (arg.startsWith("showdir"))
62 showDirectory(arg.replace("showdir", ""));
63 else if (arg.equals("measure"))
64 measureStack();
65 else if (arg.equals("invert"))
66 IJ.runMacroFile("ij.jar:InvertAllLuts", null);
67
68 }
69
70 private synchronized void showFonts() {
71 Thread t = new Thread(new Runnable() {

Callers

nothing calls this directly

Calls 15

searchMethod · 0.95
openResultsTableMethod · 0.95
openTableMethod · 0.95
renameMethod · 0.95
resetMethod · 0.95
aboutPluginsHelpMethod · 0.95
installationMethod · 0.95
setSliceLabelMethod · 0.95
removeStackLabelsMethod · 0.95
imageToResultsMethod · 0.95
resultsToImageMethod · 0.95
runMacroFileMethod · 0.95

Tested by

no test coverage detected