make template wizard pages use progress monitor
authortimkelly
Wed, 01 Sep 2010 16:53:52 -0500
changeset 1938 1c523a0cc057
parent 1937 da2bb50d7f7c
child 1939 7b07262fa83f
make template wizard pages use progress monitor
core/com.nokia.carbide.templatewizard/src/com/nokia/carbide/internal/api/templatewizard/ui/TemplatePagesNode.java
project/com.nokia.carbide.cpp.project.ui/src/com/nokia/carbide/cpp/internal/project/ui/wizards/NewSymbianOSCppProjectWizard.java
qt/com.nokia.carbide.cpp.qt.ui/src/com/nokia/carbide/cpp/internal/qt/ui/wizard/NewQtCppProjectWizard.java
--- a/core/com.nokia.carbide.templatewizard/src/com/nokia/carbide/internal/api/templatewizard/ui/TemplatePagesNode.java	Wed Sep 01 16:18:35 2010 -0500
+++ b/core/com.nokia.carbide.templatewizard/src/com/nokia/carbide/internal/api/templatewizard/ui/TemplatePagesNode.java	Wed Sep 01 16:53:52 2010 -0500
@@ -58,6 +58,7 @@
 			Image defaultPageImage = parentWizard.getDefaultPageImage();
 			ImageDescriptor imageDescriptor = ImageDescriptor.createFromImage(defaultPageImage);
 			setDefaultPageImageDescriptor(imageDescriptor);
+			setNeedsProgressMonitor(true);
 			
 			ILoadedTemplateUI selectedLoadedTemplateUI = parentWizard.getSelectedTemplateUI();
 			selectedLoadedTemplateUI.initExtraPagesProvider(parentWizard, 
--- a/project/com.nokia.carbide.cpp.project.ui/src/com/nokia/carbide/cpp/internal/project/ui/wizards/NewSymbianOSCppProjectWizard.java	Wed Sep 01 16:18:35 2010 -0500
+++ b/project/com.nokia.carbide.cpp.project.ui/src/com/nokia/carbide/cpp/internal/project/ui/wizards/NewSymbianOSCppProjectWizard.java	Wed Sep 01 16:53:52 2010 -0500
@@ -52,7 +52,6 @@
 
 	public NewSymbianOSCppProjectWizard() {
 		super();
-		setNeedsProgressMonitor(true);
 		setFilterCheckboxLabel(Messages.getString("NewSymbianOSCppProjectWizard.FilterCheckboxLabel")); //$NON-NLS-1$
 		setTemplateFilter(new TemplateSDKsFilter());
 		setWindowTitle(Messages.getString("NewSymbianOSCppProjectWizard.WindowTitle")); //$NON-NLS-1$
@@ -94,7 +93,6 @@
 	@Override
 	public void init(IWorkbench workbench, IStructuredSelection currentSelection) {
 		super.init(workbench, currentSelection);
-		setNeedsProgressMonitor(true);
 	}
 
 	@Override
--- a/qt/com.nokia.carbide.cpp.qt.ui/src/com/nokia/carbide/cpp/internal/qt/ui/wizard/NewQtCppProjectWizard.java	Wed Sep 01 16:18:35 2010 -0500
+++ b/qt/com.nokia.carbide.cpp.qt.ui/src/com/nokia/carbide/cpp/internal/qt/ui/wizard/NewQtCppProjectWizard.java	Wed Sep 01 16:53:52 2010 -0500
@@ -33,7 +33,6 @@
 	public NewQtCppProjectWizard() {
 		super();
 		setWindowTitle(Messages.NewQtCppProjectWizard_title);
-		setNeedsProgressMonitor(true);
 	}
 
     @Override