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

Method run

ij/src/main/java/ij/plugin/Raw.java:13–21  ·  view source on GitHub ↗
(String arg)

Source from the content-addressed store, hash-verified

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) {

Callers

nothing calls this directly

Calls 3

getDirectoryMethod · 0.95
getFileNameMethod · 0.95
openImageMethod · 0.95

Tested by

no test coverage detected