Class OQLTextViewerConfiguration
java.lang.Object
org.eclipse.jface.text.source.SourceViewerConfiguration
org.eclipse.mat.ui.snapshot.panes.oql.OQLTextViewerConfiguration
Configuration provider to assign content assist to the SourceViewer.
-
Constructor Summary
ConstructorDescriptionOQLTextViewerConfiguration
(ISnapshot snapshot, Color comment, Color keyword) Associates snapshot at this object. -
Method Summary
Modifier and TypeMethodDescriptionString[]
getConfiguredContentTypes
(ISourceViewer sourceViewer) getContentAssistant
(ISourceViewer sourceViewer) Instantiates content assist for every content typegetPresentationReconciler
(ISourceViewer sourceViewer) Provides syntax highlighting.Methods inherited from class org.eclipse.jface.text.source.SourceViewerConfiguration
getAnnotationHover, getAutoEditStrategies, getAutoIndentStrategy, getCodeMiningProviders, getConfiguredDocumentPartitioning, getConfiguredTextHoverStateMasks, getContentFormatter, getDefaultPrefixes, getDoubleClickStrategy, getHyperlinkDetectors, getHyperlinkPresenter, getHyperlinkStateMask, getIndentPrefixes, getInformationControlCreator, getInformationPresenter, getLineSpacing, getOverviewRulerAnnotationHover, getQuickAssistAssistant, getReconciler, getTabWidth, getTextHover, getTextHover, getUndoManager
-
Constructor Details
-
OQLTextViewerConfiguration
Associates snapshot at this object.- Parameters:
snapshot
-
-
-
Method Details
-
getConfiguredContentTypes
- Overrides:
getConfiguredContentTypes
in classSourceViewerConfiguration
- Returns:
- the list of managed content types.
-
getContentAssistant
Instantiates content assist for every content type- Overrides:
getContentAssistant
in classSourceViewerConfiguration
-
getPresentationReconciler
Provides syntax highlighting.- Overrides:
getPresentationReconciler
in classSourceViewerConfiguration
-