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

Method setLastDirectory

ij/src/main/java/ij/io/OpenDialog.java:289–291  ·  view source on GitHub ↗

Sets the path to the directory containing the last file opened by the user.

(String dir)

Source from the content-addressed store, hash-verified

287
288 /** Sets the path to the directory containing the last file opened by the user. */
289 public static void setLastDirectory(String dir) {
290 lastDir = dir;
291 }
292
293 /** Returns the name of the last file opened by the user
294 using a file open or file save dialog, or using drag and drop.

Callers 8

loadLutMethod · 0.95
openMethod · 0.95
runMacroFileMethod · 0.95
setDirAndNameMethod · 0.95
setDirAndNameMethod · 0.95
openFileMethod · 0.95
getDirectoryMethod · 0.95
openImageMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected