use of edu.stanford.bmir.protege.web.shared.sharing.SetProjectSharingSettingsResult in project webprotege by protegeproject.
the class SharingSettingsPresenter method applyChangesAndGoToNextPlace.
private void applyChangesAndGoToNextPlace() {
nextPlace.ifPresent(placeController::goTo);
ProjectSharingSettings settings = new ProjectSharingSettings(projectId, view.getLinkSharingPermission(), view.getSharingSettings());
dispatchServiceManager.execute(new SetProjectSharingSettingsAction(settings), new DispatchServiceCallbackWithProgressDisplay<SetProjectSharingSettingsResult>() {
@Override
public void handleSuccess(SetProjectSharingSettingsResult result) {
permissionManager.firePermissionsChanged();
}
@Override
public String getProgressDisplayTitle() {
return "Updating sharing settings";
}
@Override
public String getProgressDisplayMessage() {
return "Please wait";
}
});
}
Aggregations