()
| 542 | } |
| 543 | |
| 544 | void compileAndRun() { |
| 545 | if (path==null) |
| 546 | saveAs(); |
| 547 | if (path!=null) { |
| 548 | save(); |
| 549 | String text = ta.getText(); |
| 550 | if (text.contains("implements PlugInFilter") && text.contains("IJ.run(")) |
| 551 | IJ.log("<<Plugins that call IJ.run() should probably implement PlugIn, not PlugInFilter.>>"); |
| 552 | IJ.runPlugIn("ij.plugin.Compiler", path); |
| 553 | } |
| 554 | } |
| 555 | |
| 556 | final void runMacro(boolean debug) { |
| 557 | if (path!=null) |