Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » New CDT Wizard does not close(Invoking an existing CDT new project wizard works but it doesn't close after finish.)
New CDT Wizard does not close [message #1790747] Fri, 15 June 2018 13:22
Bjarne Johannsen is currently offline Bjarne JohannsenFriend
Messages: 2
Registered: June 2018
Junior Member
Hello,

I'm trying to open the new c++ project wizard programmaticly.
After finding our the wizard ID (org.eclipse.cdt.ui.wizards.NewCWizard1) I tried to open it and it worked!

IWizardDescriptor descriptor = PlatformUI.getWorkbench().getNewWizardRegistry().findWizard("org.eclipse.cdt.ui.wizards.NewCWizard1");

IWizard wizard = descriptor.createWizard();
WizardDialog wd = new  WizardDialog(Display.getDefault().getActiveShell(), wizard);
wd.setTitle(wizard.getWindowTitle());
wd.open();


The Project is being created as it should but the wizard isn't closing no matter how often I click finish. I only can abort it but than the new project gets deleted.

My code doesn't get further the wd.open it stucks there.
I would be really happy if someone could help me finding the mistake.

Thank you!

Previous Topic:'Install the Job' has encountered a problem [Export Wizard]
Next Topic:TreeViewer controls in custom ContentOutlinePage
Goto Forum:
  


Current Time: Fri Apr 26 12:20:19 GMT 2024

Powered by FUDForum. Page generated in 0.03664 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top