Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Maetzel2003-03-19 15:03:14 +0000
committerKai Maetzel2003-03-19 15:03:14 +0000
commit337e280e0de68e4a90cfc58a66a9a76db6b9505a (patch)
tree8b679c4a1ce4acbd9169aef5827a9ce2d2dcbf32 /org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui
parent9aebfbd29046a238e8ad8729815d3a0240eb23fd (diff)
downloadeclipse.platform.text-337e280e0de68e4a90cfc58a66a9a76db6b9505a.tar.gz
eclipse.platform.text-337e280e0de68e4a90cfc58a66a9a76db6b9505a.tar.xz
eclipse.platform.text-337e280e0de68e4a90cfc58a66a9a76db6b9505a.zip
for doc purposes
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/JavaEditor.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/JavaEditor.java b/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/JavaEditor.java
index c33db7919..7b59f2abf 100644
--- a/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/JavaEditor.java
+++ b/org.eclipse.ui.examples.javaeditor/Eclipse Java Editor Example/org/eclipse/ui/examples/javaeditor/JavaEditor.java
@@ -16,14 +16,16 @@ import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.action.MenuManager;
+
import org.eclipse.jface.text.source.ISourceViewer;
+
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.editors.text.TextEditor;
-import org.eclipse.ui.texteditor.DefaultRangeIndicator;
import org.eclipse.ui.texteditor.ITextEditorActionDefinitionIds;
import org.eclipse.ui.texteditor.TextOperationAction;
import org.eclipse.ui.views.contentoutline.IContentOutlinePage;
+
/**
* Java specific text editor.
*/
@@ -137,11 +139,9 @@ public class JavaEditor extends TextEditor {
* Method declared on AbstractTextEditor
*/
protected void initializeEditor() {
-
+ super.initializeEditor();
JavaEditorEnvironment.connect(this);
-
setSourceViewerConfiguration(new JavaSourceViewerConfiguration());
- setRangeIndicator(new DefaultRangeIndicator());
setEditorContextMenuId("#JavaEditorContext"); //$NON-NLS-1$
setRulerContextMenuId("#JavaRulerContext"); //$NON-NLS-1$
}

Back to the top