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

Method run

ij/src/main/java/ij/macro/MacroRunner.java:90–95  ·  view source on GitHub ↗

Runs the specified macro code.

(String macro)

Source from the content-addressed store, hash-verified

88
89 /** Runs the specified macro code. */
90 public void run(String macro) {
91 this.macro = macro;
92 thread = new Thread(this, "Macro$");
93 thread.setPriority(Math.max(thread.getPriority()-2, Thread.MIN_PRIORITY));
94 thread.start();
95 }
96
97 /** Runs a tokenized macro in debug mode if 'editor' is not null. */
98 public MacroRunner(Program pgm, int address, String name, Editor editor) {

Callers 3

runShortcutMethod · 0.95
runMacroCommandMethod · 0.95
runMacroMethod · 0.95

Calls 15

setDebuggerMethod · 0.95
runMethod · 0.95
getPopupMenuMethod · 0.95
setTempCurrentImageMethod · 0.95
runMacroMethod · 0.95
abortMacroMethod · 0.95
showStatusMethod · 0.95
showProgressMethod · 0.95
getCurrentImageMethod · 0.95
unlockMethod · 0.95
errorMethod · 0.95
handleExceptionMethod · 0.95

Tested by

no test coverage detected