git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[EGIT PATCH 2/4] Cleanup ui plugin.xml, replace deprecated elements and attributes

From
Robin Rosenberg <robin.rosenberg@dewire.com>
Date
Jan 25, 2009, 18:52 UTC
Message-ID
<1232909538-3279-2-git-send-email-robin.rosenberg@dewire.com>
In-Reply-To
<1232909538-3279-1-git-send-email-robin.rosenberg@dewire.com>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
---
 org.spearce.egit.ui/plugin.xml |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/org.spearce.egit.ui/plugin.xml b/org.spearce.egit.ui/plugin.xml
index 0b18f15..e5c81e5 100644
--- a/org.spearce.egit.ui/plugin.xml
+++ b/org.spearce.egit.ui/plugin.xml
@@ -196,11 +196,16 @@
 
    <extension point="org.eclipse.ui.propertyPages">
       <page
-            objectClass="org.eclipse.core.resources.IProject"
-            adaptable="true"
             name="%Git"
             class="org.spearce.egit.ui.internal.preferences.GitProjectPropertyPage"
             id="org.spearce.egit.ui.preferences.GitProjectPropertyPage">
+	    <enabledWhen>
+		<adapt type="org.eclipse.core.resources.IProject">
+			<test
+		    property="projectPersistentProperty org.eclipse.team.core.repository" value="org.spearce.egit.core.GitProvider">
+			</test>
+		</adapt>
+	    </enabledWhen>
          <filter
                name="projectPersistentProperty"
                value="org.eclipse.team.core.repository=org.spearce.egit.core.GitProvider">
-- 
1.6.1.285.g35d8b
Previous: Robin RosenbergNext: Robin Rosenberg
Message 2 of 4 in “Cleanup ui plugin.xml, refer to interface IResource, not Resource”
  1. 1/4 Cleanup ui plugin.xml, refer to interface IResource, not ResourceRobin Rosenberg, Jan 25, 2009
  2. 2/4 Cleanup ui plugin.xml, replace deprecated elements and attributesRobin Rosenberg, Jan 25, 2009
  3. 3/4 Add the keyword "Git" to the git preferences pages.Robin Rosenberg, Jan 25, 2009
  4. 4/4 Retain Eclipse Git preferences page hierarchy without warnings in plugin.xmlRobin Rosenberg, Jan 25, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.