private IDesktopUpdate showProgress(int remaining) {
return sendMessage(_("{0} projects remaining to reassign", remaining));
}
private IDesktopUpdate sendMessage(final String message) {
return new IDesktopUpdate() {
@Override
public void doUpdate() {
Clients.showBusy(message, true);
}
};