Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorangelozerr2018-02-20 14:09:40 -0500
committerMickael Istria2018-02-21 11:36:30 -0500
commitd9ab254b705aa2b86247b7fbbe657f8fba9147a7 (patch)
treea2effac50c707ad3ddc9f6d4465765a133c0cf7d /org.eclipse.ui.workbench.texteditor
parent64e89a8bde646e80ac219573267de2aaef01aa85 (diff)
downloadeclipse.platform.text-d9ab254b705aa2b86247b7fbbe657f8fba9147a7.tar.gz
eclipse.platform.text-d9ab254b705aa2b86247b7fbbe657f8fba9147a7.tar.xz
eclipse.platform.text-d9ab254b705aa2b86247b7fbbe657f8fba9147a7.zip
Bug 531421 - [CodeMining] Adapt the source viewer CodeMining API toI20180221-2000
support CodeMining preferences Change-Id: I1ba0624c29d08f5a64d5a02df76af2040e311f68 Signed-off-by: angelozerr <angelo.zerr@gmail.com>
Diffstat (limited to 'org.eclipse.ui.workbench.texteditor')
-rw-r--r--org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractTextEditor.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractTextEditor.java b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractTextEditor.java
index e57e427a8..bed6088bf 100644
--- a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractTextEditor.java
+++ b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractTextEditor.java
@@ -4038,9 +4038,10 @@ public abstract class AbstractTextEditor extends EditorPart implements ITextEdit
/**
* Install codemining providers.
+ *
* @since 3.10
*/
- private void installCodeMinigProviders() {
+ protected void installCodeMinigProviders() {
ICodeMiningProvider[] providers = TextEditorPlugin.getDefault().getCodeMiningProviderRegistry()
.getProviders(this.getSourceViewer(), this);
((ISourceViewerExtension5) fSourceViewer).setCodeMiningProviders(providers);

Back to the top