threads / patch / 17945

patchUse explicit bundle name in UIText to aid IDE integration

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

## tl;dr

One message between Feb 22, 2009 and Feb 22, 2009. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Tor Arne Vestbø· Feb 22, 2009, 10:20 UTC · lore

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(-)
Show changes to org.spearce.egit.ui/src/org/spearce/egit/ui/UIText.java +1 −2
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

← back to recent threads