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

Method runMacro

ij/src/main/java/ij/plugin/Startup.java:73–80  ·  view source on GitHub ↗
(String macro)

Source from the content-addressed store, hash-verified

71 }
72
73 private boolean runMacro(String macro) {
74 Interpreter interp = new Interpreter();
75 interp.run(macro, null);
76 if (interp.wasError())
77 return false;
78 else
79 return true;
80 }
81
82 public void itemStateChanged(ItemEvent e) {
83 Choice choice = (Choice)e.getSource();

Callers 1

runMethod · 0.95

Calls 2

runMethod · 0.95
wasErrorMethod · 0.95

Tested by

no test coverage detected