public void onRestore(@Observes RestoreEvent restore) { if (path == null || restore == null || restore.getPath() == null) { return; } if (path.equals(restore.getPath())) { loadContent(); notification.fire(new NotificationEvent(CommonConstants.INSTANCE.ItemRestored())); } }