new SimpleRequestCallback<ConsoleProcess>() {
@Override
public void onResponseReceived(ConsoleProcess proc)
{
final ConsoleProgressDialog dialog =
new ConsoleProgressDialog(proc, server_);
dialog.showModal();
proc.addProcessExitHandler(
new ProcessExitEvent.Handler()
{
@Override
public void onProcessExit(ProcessExitEvent event)
{
ifDependenciesSatisifed(dependencies, silentUpdate, new Command(){
@Override
public void execute()
{
dialog.hide();
onSuccess.execute();
}
});
}
});