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();
if (action == WizardDialog.CANCEL) {
String errorMessage = EditorMessages.getString(RESOURCE_PREFIX +
"projectAssignmentWizardCancelled.reason");
throw new PartInitException(errorMessage);