[Bug 8811] Don't track feature use by ui designer wizard since editors are tracking usage
--- a/uidesigner/com.nokia.carbide.cpp.uiq.ui/src/com/nokia/carbide/cpp/uiq/ui/viewwizard/ViewWizardManager.java Tue Apr 07 08:57:43 2009 -0500
+++ b/uidesigner/com.nokia.carbide.cpp.uiq.ui/src/com/nokia/carbide/cpp/uiq/ui/viewwizard/ViewWizardManager.java Tue Apr 07 09:54:57 2009 -0500
@@ -17,9 +17,13 @@
/* START_USECASES: CU1, CU2 END_USECASES */
package com.nokia.carbide.cpp.uiq.ui.viewwizard;
+import com.nokia.carbide.cpp.uiq.ui.UIQUserInterfacePlugin;
import com.nokia.carbide.internal.api.templatewizard.ui.IWizardDataPage;
import com.nokia.carbide.internal.api.templatewizard.ui.TemplateWizard;
import com.nokia.carbide.template.engine.ITemplate;
+import com.nokia.cpp.internal.api.utils.core.Check;
+import com.nokia.cpp.internal.api.utils.core.Logging;
+import com.nokia.cpp.internal.api.utils.ui.UITaskUtils;
import com.nokia.sdt.component.*;
import com.nokia.sdt.component.adapter.CommonAttributes;
import com.nokia.sdt.component.adapter.IAttributes;
@@ -34,16 +38,11 @@
import com.nokia.sdt.editor.EditorServices;
import com.nokia.sdt.editor.IDesignerDataModelEditor;
import com.nokia.sdt.emf.dm.*;
-import com.nokia.carbide.cpp.internal.featureTracker.FeatureUseTrackerConsts;
-import com.nokia.carbide.cpp.internal.featureTracker.FeatureUseTrackerPlugin;
-import com.nokia.carbide.cpp.uiq.ui.UIQUserInterfacePlugin;
import com.nokia.sdt.sourcegen.*;
import com.nokia.sdt.symbian.dm.*;
import com.nokia.sdt.symbian.ui.UIPlugin;
import com.nokia.sdt.symbian.workspace.ISymbianProjectContext;
import com.nokia.sdt.symbian.workspace.impl.ProjectContextProvider;
-import com.nokia.cpp.internal.api.utils.core.*;
-import com.nokia.cpp.internal.api.utils.ui.UITaskUtils;
import com.nokia.sdt.workspace.*;
import org.eclipse.cdt.core.model.*;
@@ -271,7 +270,6 @@
*
*/
public ViewWizardManager() {
- FeatureUseTrackerPlugin.getFeatureUseProxy().startUsingFeature(FeatureUseTrackerConsts.CARBIDE_UI_DESIGNER);
dataModelProvider = new DesignerDataModelProvider();
ComponentSystem cs = ComponentSystem.getComponentSystem();
try {
@@ -1023,7 +1021,6 @@
disposeStoredModel(ROOT_MODEL_KEY);
}
disposeStoredModel(VIEW_MODEL_KEY);
- FeatureUseTrackerPlugin.getFeatureUseProxy().stopUsingFeature(FeatureUseTrackerConsts.CARBIDE_UI_DESIGNER);
}
public void disposeStoredModel(String modelKey) {
--- a/uidesigner/com.nokia.sdt.series60.componentlibrary/src/com/nokia/sdt/series60/viewwizard/ViewWizardManager.java Tue Apr 07 08:57:43 2009 -0500
+++ b/uidesigner/com.nokia.sdt.series60.componentlibrary/src/com/nokia/sdt/series60/viewwizard/ViewWizardManager.java Tue Apr 07 09:54:57 2009 -0500
@@ -228,7 +228,6 @@
*
*/
public ViewWizardManager() {
- FeatureUseTrackerPlugin.getFeatureUseProxy().startUsingFeature(FeatureUseTrackerConsts.CARBIDE_UI_DESIGNER);
dataModelProvider = new DesignerDataModelProvider();
ComponentSystem cs = ComponentSystem.getComponentSystem();
try {
@@ -916,7 +915,6 @@
disposeStoredModel(ROOT_MODEL_KEY);
}
disposeStoredModel(VIEW_MODEL_KEY);
- FeatureUseTrackerPlugin.getFeatureUseProxy().stopUsingFeature(FeatureUseTrackerConsts.CARBIDE_UI_DESIGNER);
}
public void disposeStoredModel(String modelKey) {