userWorkspaceContext.setProjectActive(event.isProjectActive());
userWorkspaceContext.getWorkspaceContext().getWorkspaceId()
.getProjectIterationId().setProjectType(event.getProjectType());
for (TargetContentsDisplay targetContentsDisplay : displayList) {
ViewMode viewMode =
canEditTranslation() ? ViewMode.EDIT : ViewMode.VIEW;
boolean showButtons =
!userWorkspaceContext.hasReadOnlyAccess() &&
isDisplayButtons();