(String arg)
| 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); |
nothing calls this directly
no test coverage detected