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

Method run

ij/src/main/java/ij/plugin/Startup.java:30–40  ·  view source on GitHub ↗
(String arg)

Source from the content-addressed store, hash-verified

28 private int originalLength;
29
30 public void run(String arg) {
31 macro = getStartupMacro();
32 String macro2 = macro;
33 if (!showDialog())
34 return;
35 if (!macro.equals(macro2)) {
36 if (!runMacro(macro))
37 return;
38 saveStartupMacro(macro);
39 }
40 }
41
42 public String getStartupMacro() {
43 String macro = IJ.openAsString(IJ.getDirectory("macros")+NAME);

Callers

nothing calls this directly

Calls 5

getStartupMacroMethod · 0.95
showDialogMethod · 0.95
runMacroMethod · 0.95
saveStartupMacroMethod · 0.95
equalsMethod · 0.45

Tested by

no test coverage detected