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

Method evaluateMacro

ij/src/main/java/ij/plugin/frame/Editor.java:624–629  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

622 }
623
624 void evaluateMacro() {
625 String title = getTitle();
626 if (title.endsWith(".js")||title.endsWith(".bsh")||title.endsWith(".py"))
627 setWindowTitle(title.substring(0,title.length()-3)+".ijm");
628 runMacro(false);
629 }
630
631 void evaluateJavaScript() {
632 if (!getTitle().endsWith(".js"))

Callers 1

actionPerformedMethod · 0.95

Calls 5

setWindowTitleMethod · 0.95
runMacroMethod · 0.95
substringMethod · 0.80
getTitleMethod · 0.65
lengthMethod · 0.65

Tested by

no test coverage detected