if ( view.confirmDeleteRepository( repository ) ) {
repositoryService.call( new RemoteCallback<Void>() {
@Override
public void callback( Void aVoid ) {
repositoryRemovedEvent.fire( new RepositoryRemovedEvent( repository ) );
}
} ).removeRepository( repository.getAlias() );
}
}