Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Niewrzal2016-07-05 14:13:14 +0000
committerGerrit Code Review @ Eclipse.org2017-03-15 08:41:05 +0000
commitff5d75f7a7d4870c26db8b6cc7c37bb59157118d (patch)
tree5f64004c95314f64cca36a4f615dbcf98ceb6575
parent5f91b58cb548f4a14cd849d26f68183a8ca5edd7 (diff)
downloadorg.eclipse.epp.packages-ff5d75f7a7d4870c26db8b6cc7c37bb59157118d.tar.gz
org.eclipse.epp.packages-ff5d75f7a7d4870c26db8b6cc7c37bb59157118d.tar.xz
org.eclipse.epp.packages-ff5d75f7a7d4870c26db8b6cc7c37bb59157118d.zip
Bug 497296 - Add 'Capabilities' preference page
Change-Id: If50d1268f73dc2547bea6c7153f929cc45932a54 Signed-off-by: Michal Niewrzal <michal.n@zend.com>
-rw-r--r--packages/org.eclipse.epp.package.php/META-INF/MANIFEST.MF3
-rw-r--r--packages/org.eclipse.epp.package.php/plugin.properties7
-rw-r--r--packages/org.eclipse.epp.package.php/plugin.xml17
3 files changed, 26 insertions, 1 deletions
diff --git a/packages/org.eclipse.epp.package.php/META-INF/MANIFEST.MF b/packages/org.eclipse.epp.package.php/META-INF/MANIFEST.MF
index 128abb1b..5032887c 100644
--- a/packages/org.eclipse.epp.package.php/META-INF/MANIFEST.MF
+++ b/packages/org.eclipse.epp.package.php/META-INF/MANIFEST.MF
@@ -6,6 +6,7 @@ Bundle-Version: 4.7.0.qualifier
Bundle-Vendor: Eclipse Packaging Project
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Require-Bundle: org.eclipse.platform,
- org.eclipse.equinox.app
+ org.eclipse.equinox.app,
+ org.eclipse.ui.workbench
Eclipse-BundleShape: dir
Bundle-Localization: plugin
diff --git a/packages/org.eclipse.epp.package.php/plugin.properties b/packages/org.eclipse.epp.package.php/plugin.properties
index 95e4e9d4..438bc0ae 100644
--- a/packages/org.eclipse.epp.package.php/plugin.properties
+++ b/packages/org.eclipse.epp.package.php/plugin.properties
@@ -26,3 +26,10 @@ ql.openExistingFile.label = Open an existing file
ql.setupQuestionnaire.label = Review IDE configuration settings
ql.mpc.description = Enhance your IDE with additional plugins
ql.mpc.label = Launch the Eclipse Marketplace
+
+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 --git a/packages/org.eclipse.epp.package.php/plugin.xml b/packages/org.eclipse.epp.package.php/plugin.xml
index e7badba0..a2d2c0cf 100644
--- a/packages/org.eclipse.epp.package.php/plugin.xml
+++ b/packages/org.eclipse.epp.package.php/plugin.xml
@@ -131,4 +131,21 @@
icon="platform:/plugin/org.eclipse.epp.mpc.ui/intro/css/marketplace.png">
</command>
</extension>
+
+ <extension
+ point="org.eclipse.ui.preferencePages">
+ <page
+ category="org.eclipse.ui.preferencePages.Workbench"
+ name="%PreferencePages.Capabilities"
+ id="org.eclipse.sdk.capabilities">
+ <class class="org.eclipse.ui.activities.ActivityCategoryPreferencePage">
+ <parameter name="allowAdvanced" value="true"/>
+ <parameter name="captionMessage" value="%PreferencePages.Capabilities.captionMessage" />
+ <parameter name="activityName" value="%PreferencePages.Capabilities.activityName" />
+ <parameter name="categoryName" value="%PreferencePages.Capabilities.categoryName" />
+ <parameter name="activityPromptButton" value="%PreferencePages.Capabilities.activityPromptButton"/>
+ <parameter name="activityPromptButtonTooltip" value="%PreferencePages.Capabilities.activityPromptButtonTooltip"/>
+ </class>
+ </page>
+ </extension>
</plugin>

Back to the top