Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2003-02-11 12:04:24 +0000
committerDani Megert2003-02-11 12:04:24 +0000
commit6c15cdfa59e6cf41132f0b8f10f5f1b2f15a0151 (patch)
tree3f4927406ac4125c252bf12ac97b8ef1dba5e65c /org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui
parent306af102788674e7069c94e85c996aa61183b68c (diff)
downloadeclipse.platform.text-6c15cdfa59e6cf41132f0b8f10f5f1b2f15a0151.tar.gz
eclipse.platform.text-6c15cdfa59e6cf41132f0b8f10f5f1b2f15a0151.tar.xz
eclipse.platform.text-6c15cdfa59e6cf41132f0b8f10f5f1b2f15a0151.zip
Externalized stringsv20030211
Diffstat (limited to 'org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui')
-rw-r--r--org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/JavaEditorMessages.properties4
-rw-r--r--org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/JavaTextHover.java2
-rw-r--r--org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/java/JavaPartitionScanner.java2
3 files changed, 5 insertions, 3 deletions
diff --git a/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/JavaEditorMessages.properties b/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/JavaEditorMessages.properties
index 89a655da8..3dec98f4e 100644
--- a/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/JavaEditorMessages.properties
+++ b/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/JavaEditorMessages.properties
@@ -1,6 +1,6 @@
#############################################################
#
-# (c) Copyright IBM Corp. 2000, 2001.
+# (c) Copyright IBM Corp. 2000, 2003.
# All Rights Reserved.
#
#############################################################
@@ -31,3 +31,5 @@ CompletionProcessor.ContextInfo.display.pattern=proposal {0} at position {1}
CompletionProcessor.ContextInfo.value.pattern=proposal {0} valid from {1} to {2}
CompletionProcessor.Proposal.ContextInfo.pattern={0} valid 5 characters around insertion point
CompletionProcessor.Proposal.hoverinfo.pattern=Java keyword: {0}
+
+JavaTextHover.emptySelection=empty selection
diff --git a/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/JavaTextHover.java b/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/JavaTextHover.java
index 6549dfc88..b92fa866c 100644
--- a/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/JavaTextHover.java
+++ b/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/JavaTextHover.java
@@ -24,7 +24,7 @@ public class JavaTextHover implements ITextHover {
} catch (BadLocationException x) {
}
}
- return "empty selection";
+ return JavaEditorMessages.getString("JavaTextHover.emptySelection"); //$NON-NLS-1$
}
/* (non-Javadoc)
diff --git a/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/java/JavaPartitionScanner.java b/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/java/JavaPartitionScanner.java
index 078f407e4..ab2346ebd 100644
--- a/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/java/JavaPartitionScanner.java
+++ b/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/java/JavaPartitionScanner.java
@@ -49,7 +49,7 @@ public class JavaPartitionScanner extends RuleBasedPartitionScanner {
public WordPredicateRule(IToken successToken) {
super(new EmptyCommentDetector());
fSuccessToken= successToken;
- addWord("/**/", fSuccessToken);
+ addWord("/**/", fSuccessToken); //$NON-NLS-1$
}
/*

Back to the top