public void onFail(FailureReason reason) {
Log.error(getClass(), "Failed to retrieve file metadata for workspace.");
StatusMessage fatal = new StatusMessage(
appContext.getStatusManager(), MessageType.FATAL,
"There was a problem refreshing changes within the file tree :(.");
fatal.addAction(StatusMessage.RELOAD_ACTION);
fatal.setDismissable(true);
fatal.fire();
}
});
}