@Override
public void onSuccess(List<Attribute> result) {
// If the project has no attributes, we need to broadcast it.
if (result.size() == 0) {
eventBus.fireEvent(
new ProjectHasNoElementsEvent(project, AccElementType.ATTRIBUTE));
}
view.setProjectAttributes(result);
}
});