}
});
}
private void updateSharingSettingsOnServer(final ProjectSharingSettings sharingSettings) {
SharingSettingsServiceAsync service = SharingSettingsServiceManager.getService();
service.updateSharingSettings(sharingSettings, new AsyncCallback<Void>() {
public void onFailure(Throwable caught) {
}
public void onSuccess(Void result) {
EventBusManager.getManager().postEvent(new PermissionsChangedEvent(sharingSettings.getProjectId()));