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

Method run

ij/src/main/java/ij/plugin/Grid.java:38–46  ·  view source on GitHub ↗
(String arg)

Source from the content-addressed store, hash-verified

36 private Checkbox centerCheckbox, randomCheckbox;
37
38 public void run(String arg) {
39 imp = IJ.getImage();
40 Overlay overlay = imp.getOverlay();
41 int index = overlay!=null?overlay.getIndex(GRID):-1;
42 if (index>=0)
43 gridOnEntry = overlay.get(index);
44 if (showDialog() && !isMacro)
45 saveSettings();
46 }
47
48 // http://stackoverflow.com/questions/30654203/how-to-create-a-circle-using-generalpath-and-apache-poi
49 private void drawCircles(double size) {

Callers

nothing calls this directly

Calls 6

getImageMethod · 0.95
getIndexMethod · 0.95
getMethod · 0.95
showDialogMethod · 0.95
saveSettingsMethod · 0.95
getOverlayMethod · 0.45

Tested by

no test coverage detected