Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2007-01-11 20:28:27 +0000
committerMichael Valenta2007-01-11 20:28:27 +0000
commit47d4c4c8d8acf8c35c834c5efa9207555db82fe8 (patch)
treeef6e6a685c7ac1dd64bca40541e706bfd8f558ab
parentc5f1063bfd6c8650f1460d116c70ffc7ba62bbcf (diff)
downloadeclipse.platform.team-47d4c4c8d8acf8c35c834c5efa9207555db82fe8.tar.gz
eclipse.platform.team-47d4c4c8d8acf8c35c834c5efa9207555db82fe8.tar.xz
eclipse.platform.team-47d4c4c8d8acf8c35c834c5efa9207555db82fe8.zip
Bug 156002 Unwanted "Team > Share Project..." menu item
-rw-r--r--bundles/org.eclipse.team.ui/plugin.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/bundles/org.eclipse.team.ui/plugin.xml b/bundles/org.eclipse.team.ui/plugin.xml
index 9582bb595..16ecc32d8 100644
--- a/bundles/org.eclipse.team.ui/plugin.xml
+++ b/bundles/org.eclipse.team.ui/plugin.xml
@@ -107,6 +107,13 @@
enablesFor="1"
id="nonbound.org.eclipse.team.ui.ConfigureProject">
</action>
+ <enablement>
+ <not>
+ <adapt type="org.eclipse.core.resources.mapping.ResourceMapping">
+ <test property="org.eclipse.core.resources.projectPersistentProperty" args="org.eclipse.team.core.repository" />
+ </adapt>
+ </not>
+ </enablement>
</objectContribution>
<objectContribution
objectClass="org.eclipse.core.resources.IFile"

Back to the top