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

Method getFilePath

ij/src/main/java/ij/IJ.java:2031–2034  ·  view source on GitHub ↗

Displays an open file dialog and returns the path to the choosen file, or returns null if the dialog is canceled.

(String dialogTitle)

Source from the content-addressed store, hash-verified

2029 /** Displays an open file dialog and returns the path to the
2030 choosen file, or returns null if the dialog is canceled. */
2031 public static String getFilePath(String dialogTitle) {
2032 OpenDialog od = new OpenDialog(dialogTitle);
2033 return od.getPath();
2034 }
2035
2036 /** Displays a file open dialog box and then opens the tiff, dicom,
2037 fits, pgm, jpeg, bmp, gif, lut, roi, or text file selected by

Callers 1

revertStackMethod · 0.45

Calls 1

getPathMethod · 0.95

Tested by

no test coverage detected