Returns the selected file name.
()
| 240 | |
| 241 | /** Returns the selected file name. */ |
| 242 | public String getFileName() { |
| 243 | if (name!=null) { |
| 244 | if (IJ.recording() && recordPath && dir!=null) |
| 245 | Recorder.recordPath(title, dir+name); |
| 246 | lastName = name; |
| 247 | } |
| 248 | return name; |
| 249 | } |
| 250 | |
| 251 | /** Returns the selected file path or null if the dialog was canceled. */ |
| 252 | public String getPath() { |
no test coverage detected