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

Method showErrors

ij/src/main/java/ij/plugin/Compiler.java:208–220  ·  view source on GitHub ↗
(String s)

Source from the content-addressed store, hash-verified

206 }
207
208 void showErrors(String s) {
209 if (errors==null || !errors.isVisible()) {
210 errors = (Editor)IJ.runPlugIn("ij.plugin.frame.Editor", "");
211 errors.setFont(new Font("Monospaced", Font.PLAIN, errors.getFontSize()));
212 }
213 if (errors!=null) {
214 ImageJ ij = IJ.getInstance();
215 if (ij!=null)
216 s = ij.getInfo()+"\n \n"+s;
217 errors.display("Errors", s);
218 }
219 IJ.showStatus("done (errors)");
220 }
221
222 // open the .java source file
223 boolean open(String path, String msg) {

Callers 1

compileMethod · 0.95

Calls 8

runPlugInMethod · 0.95
getInstanceMethod · 0.95
getInfoMethod · 0.95
showStatusMethod · 0.95
displayMethod · 0.80
setFontMethod · 0.65
getFontSizeMethod · 0.65
isVisibleMethod · 0.45

Tested by

no test coverage detected