EclipseCommonPlugin.handleError(BuilderPlugin.getDefault(), coreException);
}
if (validDeviceRepository == false) {
// project does not have an MCS nature or the device repository has
// become corrupt so launch wizard to add MCS nature to the project
MCSProjectAssignmentWizard wizard =
new MCSProjectAssignmentWizard(project);
// Instantiates the wizard container with the wizard and opens it
Shell shell = iEditorSite.getShell();
WizardDialog dialog = new WizardDialog(shell, wizard);
dialog.create();
int action = dialog.open();