use of org.kie.workbench.common.screens.library.client.screens.project.branch.delete.DeleteBranchPopUpScreen in project kie-wb-common by kiegroup.
the class ProjectScreen method deleteBranch.
public void deleteBranch() {
projectController.canDeleteBranch(workspaceProject).then(userCanDeleteBranch -> {
if (userCanDeleteBranch) {
final DeleteBranchPopUpScreen popUp = deleteBranchPopUpScreen.get();
popUp.show(this.libraryPlaces.getActiveWorkspace().getBranch());
}
return promises.resolve();
});
}
Aggregations