});
//setProperty(IProgressConstants.ACTION_PROPERTY, action);
} catch (Exception e) {
IAction action = new ShowExceptionAction(e, "Error Checking Updates");
setProperty(IProgressConstants.ACTION_PROPERTY, action);
if (!isSystem())
setProperty(IProgressConstants.KEEP_PROPERTY, Boolean.TRUE);
if( ! isSystem() ) {
InstaSearchPlugin.log(e);
return new Status(IStatus.ERROR, InstaSearchPlugin.getPluginId(), 0, action.getText(), e);
}
}
int returnCode = isUpdateAvailable() ? UPDATE_AVAILABLE_CODE : NO_UPDATE_AVAILABLE_CODE;
return new Status(IStatus.OK, InstaSearchPlugin.getPluginId(), returnCode, "Done", null);