I have a wizard called "ui.wizard.new.project" which will be launched by the command service framework programmatically like below. However, how do I pass parameters to the "ui.wizard.new.project" wizard under this framework?
IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
ICommandService commandService = (ICommandService) window.getService(ICommandService.class);
IHandlerService handlerService = (IHandlerService)window.getService(IHandlerService.class);
org.eclipse.core.commands.Command newProjectCmd = commandService.getCommand("org.eclipse.ui.newWizard");
IParameter param = newProjectCmd.getParameter("newWizardId");
Parameterization parm = new Parameterization(param, "ui.wizard.new.project");
ParameterizedCommand parmCommand = new ParameterizedCommand(newProjectCmd, new Parameterization[] { parm });
handlerService.executeCommand(parmCommand, null);
Thanks.