/*
* Add a listener to the reporter for a cancel event and cancel the update
* check instance if the event is detected
*/
updateReporter.addListener(new IProgressReporterListener() {
public int report(IProgressReport progressReport) {
if (progressReport.getReportType() == REPORT_TYPE_DONE
|| progressReport.getReportType() == REPORT_TYPE_ERROR) {
return RETVAL_OK_TO_DISPOSE;