use of org.kie.workbench.common.screens.library.client.screens.organizationalunit.contributors.edit.EditContributorsPopUpPresenter in project kie-wb-common by kiegroup.
the class ProjectScreen method editContributors.
public void editContributors() {
if (this.canEditContributors()) {
final EditContributorsPopUpPresenter popUp = editContributorsPopUpPresenter.get();
popUp.show(this.workspaceProject.getOrganizationalUnit());
}
}
use of org.kie.workbench.common.screens.library.client.screens.organizationalunit.contributors.edit.EditContributorsPopUpPresenter in project kie-wb-common by kiegroup.
the class LibraryScreen method editContributors.
public void editContributors() {
if (userCanUpdateOrganizationalUnit()) {
final EditContributorsPopUpPresenter editContributorsPopUpPresenter = editContributorsPopUpPresenters.get();
// Can call get here because condition passed.
editContributorsPopUpPresenter.show(projectContext.getActiveOrganizationalUnit().get());
}
}
use of org.kie.workbench.common.screens.library.client.screens.organizationalunit.contributors.edit.EditContributorsPopUpPresenter in project kie-wb-common by kiegroup.
the class ContributorsListPresenter method edit.
public void edit() {
if (userCanUpdateOrganizationalUnit()) {
final EditContributorsPopUpPresenter editContributorsPopUpPresenter = editContributorsPopUpPresenters.get();
// There has to be an active OU if the condition passes, so just call get.
editContributorsPopUpPresenter.show(projectContext.getActiveOrganizationalUnit().get());
}
}
Aggregations