(String arg)
| 11 | private static String defaultDirectory = null; |
| 12 | |
| 13 | public void run(String arg) { |
| 14 | OpenDialog od = new OpenDialog("Open Raw...", arg); |
| 15 | String directory = od.getDirectory(); |
| 16 | String fileName = od.getFileName(); |
| 17 | if (fileName==null) |
| 18 | return; |
| 19 | ImportDialog d = new ImportDialog(fileName, directory); |
| 20 | d.openImage(); |
| 21 | } |
| 22 | |
| 23 | /** Opens the image at 'filePath' using the format specified by 'fi'. */ |
| 24 | public static ImagePlus open(String filePath, FileInfo fi) { |
nothing calls this directly
no test coverage detected