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

[EGIT PATCH 3/4] Use explicit bundle name in UIText to aid IDE integration

From
Robin Rosenberg <robin.rosenberg@dewire.com>
Date
Apr 8, 2009, 15:51 UTC
Message-ID
<1239205891-28236-3-git-send-email-robin.rosenberg@dewire.com>
In-Reply-To
<1239205891-28236-2-git-send-email-robin.rosenberg@dewire.com>

When the bundle name is specified as a raw string Eclipse will pick up the location of the uitext.properties file and display the actual string value when hovering over UIText declarations. It also allows direct navigation to the uitext.properties string from a declaration.

Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
---
 .../src/org/spearce/egit/core/CoreText.java        |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/org.spearce.egit.core/src/org/spearce/egit/core/CoreText.java b/org.spearce.egit.core/src/org/spearce/egit/core/CoreText.java
index d81a008..46a7ef6 100644
--- a/org.spearce.egit.core/src/org/spearce/egit/core/CoreText.java
+++ b/org.spearce.egit.core/src/org/spearce/egit/core/CoreText.java
@@ -106,7 +106,6 @@
 	public static String PushOperation_taskNameNormalRun;
 
 	static {
-		final Class c = CoreText.class;
-		initializeMessages(c.getPackage().getName() + ".coretext", c);
+		initializeMessages("org.spearce.egit.core.coretext", CoreText.class);
 	}
 }
-- 
1.6.2.2.446.gfbdc0
Previous: Robin RosenbergNext: Robin Rosenberg
Message 3 of 4 in “Add actual test for success to ConnectOperationTest”
  1. 1/4 Add actual test for success to ConnectOperationTestRobin Rosenberg, Apr 8, 2009
  2. 2/4 Add a method to RepositoryMapping to get the directory for not-yet-mapped projectsRobin Rosenberg, Apr 8, 2009
  3. 3/4 Use explicit bundle name in UIText to aid IDE integrationRobin Rosenberg, Apr 8, 2009
  4. 4/4 Multi-project connect to Git providerRobin Rosenberg, Apr 8, 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.