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

Method run

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

Source from the content-addressed store, hash-verified

25 String firstTok;
26
27 public void run(String arg) {
28 if (showDialog()) {
29 IJ.showStatus("Opening: " + path);
30 ImageProcessor ip = open(path);
31 if (ip!=null)
32 new ImagePlus(name, ip).show();
33 if (IJ.recording() && Recorder.scriptMode()) {
34 String path2 = Recorder.fixPath(path);
35 Recorder.recordCall("imp = IJ.openImage(\""+path2+"\");");
36 }
37 }
38 }
39
40 boolean showDialog() {
41 OpenDialog od = new OpenDialog("Open Text Image...", null);

Callers

nothing calls this directly

Calls 8

showDialogMethod · 0.95
showStatusMethod · 0.95
openMethod · 0.95
recordingMethod · 0.95
scriptModeMethod · 0.95
fixPathMethod · 0.95
recordCallMethod · 0.95
showMethod · 0.45

Tested by

no test coverage detected