if (user.isHost()) {
Utils.runSafeSWTSync(log, new Runnable() {
public void run() {
activityCreated(new PermissionActivity(getLocalUser(),
user, newPermission));
setPermission(user, newPermission);
}
});
} else {
StartHandle startHandle = stopManager.stop(user,
Messages.SarosSession_performing_permission_change, progress);
Utils.runSafeSWTSync(log, new Runnable() {
public void run() {
activityCreated(new PermissionActivity(getLocalUser(),
user, newPermission));
setPermission(user, newPermission);
}
});