daily merge RCL_2_4
authorfturovic <frank.turovich@nokia.com>
Wed, 05 May 2010 14:09:44 -0500
branchRCL_2_4
changeset 1335 62317dab6db8
parent 1334 4d3a35655205 (current diff)
parent 1333 c995dc6dd227 (diff)
child 1336 ec4b428f90e5
daily merge
--- a/project/com.nokia.carbide.cpp.project.ui/src/com/nokia/carbide/cpp/internal/project/ui/ProjectUIPlugin.java	Wed May 05 14:09:03 2010 -0500
+++ b/project/com.nokia.carbide.cpp.project.ui/src/com/nokia/carbide/cpp/internal/project/ui/ProjectUIPlugin.java	Wed May 05 14:09:44 2010 -0500
@@ -49,6 +49,7 @@
 import com.nokia.carbide.cpp.internal.project.ui.dialogs.UpdateProjectFilesQuery;
 import com.nokia.carbide.cpp.internal.project.ui.preferences.PreferenceConstants;
 import com.nokia.cpp.internal.api.utils.core.Logging;
+import com.nokia.cpp.internal.api.utils.ui.WorkbenchUtils;
 
 /**
  * The activator class controls the plug-in life cycle
@@ -214,7 +215,7 @@
 							}
 							else if ((promptSetting.equals(MessageDialogWithToggle.PROMPT))) {
 								MessageDialogWithToggle toggleDialog = MessageDialogWithToggle.openYesNoQuestion(
-										null,
+										WorkbenchUtils.getActiveShell(),
 										Messages.getString("PerspectiveSwitchDialog_Title"),
 										Messages.getString("PerspectiveSwitchDialog_Query"),
 										Messages.getString("PerspectiveSwitchDialog_RememberDecisionText"),
--- a/qt/com.nokia.carbide.cpp.qt.ui/META-INF/MANIFEST.MF	Wed May 05 14:09:03 2010 -0500
+++ b/qt/com.nokia.carbide.cpp.qt.ui/META-INF/MANIFEST.MF	Wed May 05 14:09:44 2010 -0500
@@ -22,7 +22,8 @@
  com.nokia.carbide.cdt.builder,
  org.eclipse.cdt.core,
  org.eclipse.ui.ide,
- com.trolltech.qtcppproject;bundle-version="1.5.0"
+ com.trolltech.qtcppproject;bundle-version="1.5.0",
+ com.nokia.cpp.utils.ui
 Bundle-RequiredExecutionEnvironment: J2SE-1.5
 Bundle-ActivationPolicy: lazy
 Import-Package: com.trolltech.qtcppproject,
--- a/qt/com.nokia.carbide.cpp.qt.ui/src/com/nokia/carbide/cpp/internal/qt/ui/QtUIPlugin.java	Wed May 05 14:09:03 2010 -0500
+++ b/qt/com.nokia.carbide.cpp.qt.ui/src/com/nokia/carbide/cpp/internal/qt/ui/QtUIPlugin.java	Wed May 05 14:09:44 2010 -0500
@@ -47,6 +47,7 @@
 import com.nokia.carbide.cpp.internal.qt.core.QtSDKUtils;
 import com.nokia.carbide.cpp.internal.qt.ui.wizard.Messages;
 import com.nokia.carbide.cpp.sdk.core.ISymbianBuildContext;
+import com.nokia.cpp.internal.api.utils.ui.WorkbenchUtils;
 
 public class QtUIPlugin extends AbstractUIPlugin implements ICarbideConfigurationChangedListener, ISDKManagerLoadedHook {
 
@@ -156,7 +157,7 @@
 							}
 							else if ((promptSetting.equals(MessageDialogWithToggle.PROMPT))) {
 								MessageDialogWithToggle toggleDialog = MessageDialogWithToggle.openYesNoQuestion(
-										null,
+										WorkbenchUtils.getActiveShell(),
 										Messages.PerspectiveSwitchDialog_Title,
 										Messages.PerspectiveSwitchDialog_Query,
 										Messages.PerspectiveSwitchDialog_RememberDecisionText,