()
| 205 | } |
| 206 | |
| 207 | public void eventOk() { |
| 208 | File f = ((FileItem) getFocusedObject()).file; |
| 209 | if (!f.isDirectory()) { |
| 210 | if (browserListener == null) { |
| 211 | showFile(); |
| 212 | return; |
| 213 | } |
| 214 | destroyView(); |
| 215 | browserListener.BrowserFilePathNotify(f.getPath()); |
| 216 | return; |
| 217 | } |
| 218 | if (!chDir(f.getPath())) { |
| 219 | destroyView(); |
| 220 | return; |
| 221 | } |
| 222 | |
| 223 | redraw(); |
| 224 | } |
| 225 | |
| 226 | public void eventLongOk() { |
| 227 | showMenu(); |
no test coverage detected