1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Move Qt Project wizard over to new template NewWizard.

The template framework now assumes that NewWizard is the root class
of the main wizards.

Change-Id: I9d91d90d77919787b880d61896eba95212aebca1
This commit is contained in:
Doug Schaefer 2016-08-08 15:21:37 -04:00 committed by Gerrit Code Review @ Eclipse.org
parent c297330c9c
commit 9c02bc6b8d

View file

@ -7,29 +7,14 @@
*******************************************************************************/
package org.eclipse.cdt.internal.qt.ui.wizards;
import org.eclipse.tools.templates.ui.TemplateSelectionPage;
import org.eclipse.ui.wizards.newresource.BasicNewResourceWizard;
import org.eclipse.tools.templates.ui.NewWizard;
public class NewQtProjectWizard extends BasicNewResourceWizard {
public class NewQtProjectWizard extends NewWizard {
private static final String QT_TAG_ID = "org.eclipse.cdt.qt.ui.tag"; //$NON-NLS-1$
private TemplateSelectionPage templateSelectionPage;
public NewQtProjectWizard() {
setForcePreviousAndNextButtons(true);
super(QT_TAG_ID);
}
@Override
public void addPages() {
templateSelectionPage = new TemplateSelectionPage("templateSelection", QT_TAG_ID); //$NON-NLS-1$
templateSelectionPage.setTitle("Template for New Qt Project");
this.addPage(templateSelectionPage);
}
@Override
public boolean performFinish() {
return true;
}
}