use of org.palladiosimulator.editors.sirius.ui.wizard.project.NewPalladioProjectWizard in project Palladio-Editors-Sirius by PalladioSimulator.
the class PalladioProjectCreation method execute.
@Override
public Object execute(ExecutionEvent event) throws ExecutionException {
Shell activeShell = HandlerUtil.getActiveShell(event);
NewPalladioProjectWizard wizard = new NewPalladioProjectWizard();
IWorkbench workbench = PlatformUI.getWorkbench();
IStructuredSelection selection = (IStructuredSelection) workbench.getActiveWorkbenchWindow().getSelectionService().getSelection();
wizard.init(workbench, selection);
WizardDialog dialog = new WizardDialog(activeShell, wizard);
dialog.open();
return null;
}
Aggregations