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

Method selectWindow

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

Source from the content-addressed store, hash-verified

821 }
822
823 private void selectWindow() {
824 String title = getStringArg();
825 if (resultsPending && "Results".equals(title)) {
826 ResultsTable rt = ResultsTable.getResultsTable();
827 if (rt!=null && rt.size()>0)
828 rt.show("Results");
829 }
830 IJ.selectWindow(title);
831 resetImage();
832 }
833
834 void setForegroundColor() {
835 boolean isImage = WindowManager.getCurrentImage()!=null;

Callers 1

doFunctionMethod · 0.95

Calls 7

getStringArgMethod · 0.95
getResultsTableMethod · 0.95
sizeMethod · 0.95
showMethod · 0.95
selectWindowMethod · 0.95
resetImageMethod · 0.95
equalsMethod · 0.45

Tested by

no test coverage detected