@Override
public void execute(IAction action) {
try {
// instantiates the wizard container with the wizard and opens it
UpgradeWizard upgradeWizard = new UpgradeWizard(project);
upgradeWizard.init(getWorkbenchWindow().getWorkbench(), (IStructuredSelection) selection);
WizardDialog dialog = new WizardDialog(getShell(), upgradeWizard);
dialog.create();
UIUtils.placeDialogInCenter(getWorkbenchWindow().getShell(), dialog.getShell());
Utils.openDialog(getProject(), dialog);
} catch (Exception e) {