// Asking for confirmation
DeleteServerDialog dsd = new DeleteServerDialog( view.getSite().getShell(), server );
if ( dsd.open() == DeleteServerDialog.OK )
{
// Creating and scheduling the job to delete the server
StudioLdapServerJob job = new StudioLdapServerJob( new DeleteLdapServerRunnable( server ) );
job.schedule();
}
}
}