use of de.catma.project.event.ProjectReadyEvent in project catma by forTEXT.
the class ProjectView method reloadAll.
/* Event handler */
/**
* reloads all data in this view
*/
@Override
public void reloadAll() {
boolean membersEditAllowed = projectManager.isAuthorizedOnProject(RBACPermission.PROJECT_MEMBERS_EDIT, projectReference.getProjectId());
miInvite.setVisible(membersEditAllowed);
teamPanel.setVisible(membersEditAllowed);
initData();
eventBus.post(new ProjectReadyEvent(project));
try {
rbacEnforcer.enforceConstraints(project.getRoleOnProject());
} catch (IOException e) {
errorHandler.showAndLogError("Error trying to fetch role", e);
}
}
Aggregations