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

Method getFileName

ij/src/main/java/ij/io/SaveDialog.java:272–279  ·  view source on GitHub ↗

Returns the selected file name.

()

Source from the content-addressed store, hash-verified

270
271 /** Returns the selected file name. */
272 public String getFileName() {
273 if (name!=null) {
274 if (IJ.recording() && dir!=null)
275 Recorder.recordPath(title, dir+name);
276 OpenDialog.setLastName(name);
277 }
278 return name;
279 }
280
281 public static String getPath(ImagePlus imp, String extension) {
282 String title = imp!=null?imp.getTitle():"Untitled";

Callers 15

writeMethod · 0.95
openFileMethod · 0.95
runMethod · 0.95
saveImageMethod · 0.95
saveFolderMethod · 0.95
saveMPTableMethod · 0.95
runMethod · 0.95
runMethod · 0.95
saveMethod · 0.95
writeImageMethod · 0.95
runMethod · 0.95

Calls 3

recordingMethod · 0.95
recordPathMethod · 0.95
setLastNameMethod · 0.95

Tested by

no test coverage detected