# HG changeset patch # User dadubrow # Date 1274297694 18000 # Node ID 512ef0799e331229a9e0b688cfe235b578498dfb # Parent 218d4006b03bf5ede57b2242d8e3ca6461c02b3c add capabilities pref + p2 restart poilicy change diff -r 218d4006b03b -r 512ef0799e33 core/com.nokia.carbide.cpp/plugin.properties --- a/core/com.nokia.carbide.cpp/plugin.properties Wed May 19 10:09:01 2010 -0500 +++ b/core/com.nokia.carbide.cpp/plugin.properties Wed May 19 14:34:54 2010 -0500 @@ -16,4 +16,12 @@ theme.name.carbide = Carbide carbcPreference.common=carbide symbian cpp cplusplus -carbcPreference.diagnostics=diagnostic logs \ No newline at end of file +carbcPreference.diagnostics=diagnostic logs + +PreferencePages.Capabilities = Capabilities +PreferencePages.Capabilities.activityName = &Capabilities +PreferencePages.Capabilities.categoryName = &Capabilities +PreferencePages.Capabilities.activityPromptButton = &Prompt when enabling capabilities +PreferencePages.Capabilities.activityPromptButtonTooltip = Prompt when a feature is first used that requires enablement of capabilities +PreferencePages.Capabilities.captionMessage = Capabilities allow you to enable or disable various product components. These capabilities are grouped according to a set of predefined categories. + diff -r 218d4006b03b -r 512ef0799e33 core/com.nokia.carbide.cpp/plugin.xml --- a/core/com.nokia.carbide.cpp/plugin.xml Wed May 19 10:09:01 2010 -0500 +++ b/core/com.nokia.carbide.cpp/plugin.xml Wed May 19 14:34:54 2010 -0500 @@ -570,4 +570,20 @@ + + + + + + + + + + + + diff -r 218d4006b03b -r 512ef0799e33 core/com.nokia.carbide.cpp/src/com/nokia/carbide/cpp/ProductPlugin.java --- a/core/com.nokia.carbide.cpp/src/com/nokia/carbide/cpp/ProductPlugin.java Wed May 19 10:09:01 2010 -0500 +++ b/core/com.nokia.carbide.cpp/src/com/nokia/carbide/cpp/ProductPlugin.java Wed May 19 14:34:54 2010 -0500 @@ -16,6 +16,10 @@ */ package com.nokia.carbide.cpp; +import java.util.Collections; +import java.util.Hashtable; +import java.util.Map; + import org.eclipse.ui.plugin.*; import org.eclipse.equinox.p2.ui.Policy; import org.eclipse.jface.resource.ImageDescriptor; @@ -46,7 +50,8 @@ super.start(context); Policy policy = new Policy(); policy.setRestartPolicy(Policy.RESTART_POLICY_PROMPT); - policyRegistration = context.registerService(Policy.class.getName(), policy, null); + Map map = Collections.singletonMap("service.ranking", 100); + policyRegistration = context.registerService(Policy.class.getName(), policy, new Hashtable(map)); } /**