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

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

From
Tor Arne Vestbø <torarnv@gmail.com>
Date
Feb 22, 2009, 10:20 UTC
Message-ID
<1235298043-18813-1-git-send-email-torarnv@gmail.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: Tor Arne Vestbø <torarnv@gmail.com>
---
 .../src/org/spearce/egit/ui/UIText.java            |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/org.spearce.egit.ui/src/org/spearce/egit/ui/UIText.java b/org.spearce.egit.ui/src/org/spearce/egit/ui/UIText.java
index bd64ca1..0740f09 100644
--- a/org.spearce.egit.ui/src/org/spearce/egit/ui/UIText.java
+++ b/org.spearce.egit.ui/src/org/spearce/egit/ui/UIText.java
@@ -1022,7 +1022,6 @@
 	public static String DecoratorPreferencesPage_iconsShowAssumeValid;
 
 	static {
-		initializeMessages(UIText.class.getPackage().getName() + ".uitext",
-				UIText.class);
+		initializeMessages("org.spearce.egit.ui.uitext", UIText.class);
 	}
 }
-- 
1.6.1.2.309.g2ea3
Message 1 of 1 in “Use explicit bundle name in UIText to aid IDE integration”
  1. Use explicit bundle name in UIText to aid IDE integrationTor Arne Vestbø, Feb 22, 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.