Permalink
Browse files

Use explicit bundle name in UIText to aid IDE integration

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>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
  • Loading branch information...
1 parent c029ead commit 6a62090521c200962f5363556423a2bf5510da35 @torarnv torarnv committed with spearce Feb 22, 2009
Showing with 1 addition and 2 deletions.
  1. +1 −2 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);
}
}

0 comments on commit 6a62090

Please sign in to comment.