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

Method showStatus

ij/src/main/java/ij/macro/Functions.java:3001–3020  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2999 }
3000
3001 private void showStatus () {
3002 interp.getLeftParen();
3003 String s = getString();
3004 String options = null;
3005 if (interp.nextToken()==',') {
3006 interp.getComma();
3007 options = getString();
3008 }
3009 interp.getRightParen();
3010 boolean withSign = s.startsWith("!");
3011 if (withSign)
3012 s = s.substring(1);
3013 IJ.protectStatusBar(false);
3014 if (options!=null)
3015 IJ.showStatus(s, options);
3016 else
3017 IJ.showStatus(s);
3018 IJ.protectStatusBar(withSign);
3019 interp.statusUpdated = true;
3020 }
3021
3022 void showProgress() {
3023 ImageJ ij = IJ.getInstance();

Callers 1

doFunctionMethod · 0.95

Calls 9

getStringMethod · 0.95
protectStatusBarMethod · 0.95
showStatusMethod · 0.95
getLeftParenMethod · 0.80
getCommaMethod · 0.80
getRightParenMethod · 0.80
startsWithMethod · 0.80
substringMethod · 0.80
nextTokenMethod · 0.45

Tested by

no test coverage detected