/** Fired when a new folder is created. This action can only be * listened to in folders containing the created folder up to the root of * file system. * * @param fe the event describing context where action has taken place */ public void fileFolderCreated(FileEvent fe) { /*One of underlaing layers notifies that new folder was created. And this folder may have any other childern anywhere deep in hierarchy and then must be updated and refreshed deep down*/ updateAll(); }
/** Fired when a file is renamed. * @param fe the event describing context where action has taken place * and the original name and extension. */ public void fileRenamed(FileRenameEvent fe) { updateAll(); }
/** Fired when a file is deleted. * @param fe the event describing context where action has taken place */ public void fileDeleted(FileEvent fe) { if (fe.getFile().isFolder()) { updateAll(); } else { refreshAfterEvent(fe); } }
/** Fired when a file is renamed. * @param fe the event describing context where action has taken place * and the original name and extension. */ public void fileRenamed(FileRenameEvent fe) { updateAll (); }
/** Fired when a file is renamed. * @param fe the event describing context where action has taken place * and the original name and extension. */ public void fileRenamed(FileRenameEvent fe) { updateAll (); }
/** Fired when a new folder is created. This action can only be * listened to in folders containing the created folder up to the root of * file system. * * @param fe the event describing context where action has taken place */ public void fileFolderCreated(FileEvent fe) { /*One of underlaing layers notifies that new folder was created. And this folder may have any other childern anywhere deep in hierarchy and then must be updated and refreshed deep down*/ updateAll (); }
/** Fired when a new folder is created. This action can only be * listened to in folders containing the created folder up to the root of * file system. * * @param fe the event describing context where action has taken place */ public void fileFolderCreated(FileEvent fe) { /*One of underlaing layers notifies that new folder was created. And this folder may have any other childern anywhere deep in hierarchy and then must be updated and refreshed deep down*/ updateAll (); }
/** Fired when a file is deleted. * @param fe the event describing context where action has taken place */ public void fileDeleted(FileEvent fe) { if (fe.getFile().isFolder()) updateAll (); else refreshAfterEvent (fe); }
/** Fired when a file is deleted. * @param fe the event describing context where action has taken place */ public void fileDeleted(FileEvent fe) { if (fe.getFile().isFolder()) updateAll (); else refreshAfterEvent (fe); }