Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Oberhuber2013-05-23 13:18:00 -0400
committerMartin Oberhuber2013-05-23 13:18:00 -0400
commite63580e679e9b570c6e95d1b8ddb1cd51969eb91 (patch)
tree1b25363b5476264d1e05c4cd38d489b048e85de0
parent80b8f23a150ad9262a649a9070cdd420e8c26fcf (diff)
downloadorg.eclipse.epp.packages-e63580e679e9b570c6e95d1b8ddb1cd51969eb91.tar.gz
org.eclipse.epp.packages-e63580e679e9b570c6e95d1b8ddb1cd51969eb91.tar.xz
org.eclipse.epp.packages-e63580e679e9b570c6e95d1b8ddb1cd51969eb91.zip
Bug 405520 - Add Capability to hide EGit if desired
Just like the existing SDK's Capability for CVS, add a sample Capability / Activity definition to hide EGit if desired. Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
-rw-r--r--packages/org.eclipse.epp.package.classic/plugin.properties2
-rw-r--r--packages/org.eclipse.epp.package.classic/plugin.xml29
2 files changed, 31 insertions, 0 deletions
diff --git a/packages/org.eclipse.epp.package.classic/plugin.properties b/packages/org.eclipse.epp.package.classic/plugin.properties
index f27bf375..aca49685 100644
--- a/packages/org.eclipse.epp.package.classic/plugin.properties
+++ b/packages/org.eclipse.epp.package.classic/plugin.properties
@@ -33,6 +33,8 @@ activity.team.cvs=CVS Support
activity.team.cvs.desc=Use the Concurrent Versions System (CVS) to manage resources.
activity.team=Core Team Support
activity.team.desc=Share projects using configuration management systems.
+activity.team.egit=Egit Support
+activity.team.egit.desc=Use the Egit plugin to manage git resources.
activity.cat.development=Development
activity.cat.development.desc=Use the Eclipse SDK to develop applications.
diff --git a/packages/org.eclipse.epp.package.classic/plugin.xml b/packages/org.eclipse.epp.package.classic/plugin.xml
index 58695474..c7dae930 100644
--- a/packages/org.eclipse.epp.package.classic/plugin.xml
+++ b/packages/org.eclipse.epp.package.classic/plugin.xml
@@ -265,6 +265,35 @@
<defaultEnablement
id="org.eclipse.antDevelopment">
</defaultEnablement>
+
+ <!-- A Capability definition to hide Egit support in an Eclipse product. -->
+ <!-- The recommended workflow to enable Egit support in a product is: -->
+ <!-- Open Perspective : Show All : Git Repository Exploring (enable) -->
+ <activity
+ name="%activity.team.egit"
+ description="%activity.team.egit.desc"
+ id="org.eclipse.team.egit">
+ </activity>
+ <!-- Only bind org.* due to bug 405237: team.main must remain unbound -->
+ <activityPatternBinding
+ activityId="org.eclipse.team.egit"
+ pattern="org\.eclipse\.egit\.ui/org.*">
+ </activityPatternBinding>
+ <activityPatternBinding
+ activityId="org.eclipse.team.egit"
+ pattern="org\.eclipse\.egit\.core/.*GitProvider">
+ </activityPatternBinding>
+ <categoryActivityBinding
+ activityId="org.eclipse.team.egit"
+ categoryId="org.eclipse.categories.teamCategory">
+ </categoryActivityBinding>
+ <activityRequirementBinding
+ activityId="org.eclipse.team.egit"
+ requiredActivityId="org.eclipse.team">
+ </activityRequirementBinding>
+ <defaultEnablement
+ id="org.eclipse.team.egit">
+ </defaultEnablement>
</extension>
<extension

Back to the top