boolean (VFileEvent event) { if (event instanceof VFileContentChangeEvent) return !event.isFromSave(); if (event instanceof VFilePropertyChangeEvent) { return VirtualFile.PROP_NAME.equals(((VFilePropertyChangeEvent)event).getPropertyName()) && !((VFilePropertyChangeEvent)event).getFile().isDirectory(); } return event instanceof VFileMoveEvent || event instanceof VFileDeleteEvent; }