org.eclipse.xtext.ui.views
Class ReadOnlySourceViewerConfiguration
java.lang.Object
org.eclipse.jface.text.source.SourceViewerConfiguration
org.eclipse.ui.editors.text.TextSourceViewerConfiguration
org.eclipse.xtext.ui.editor.XtextSourceViewerConfiguration
org.eclipse.xtext.ui.views.ReadOnlySourceViewerConfiguration
public class ReadOnlySourceViewerConfiguration
- extends XtextSourceViewerConfiguration
- Since:
- 2.3
- Author:
- Michael Clay - Initial contribution and API
Fields inherited from class org.eclipse.ui.editors.text.TextSourceViewerConfiguration |
fPreferenceStore |
Method Summary |
org.eclipse.jface.text.source.IAnnotationHover |
getAnnotationHover(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
|
org.eclipse.jface.text.IAutoEditStrategy[] |
getAutoEditStrategies(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
java.lang.String contentType)
|
int[] |
getConfiguredTextHoverStateMasks(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
java.lang.String contentType)
|
org.eclipse.jface.text.formatter.IContentFormatter |
getContentFormatter(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
|
org.eclipse.jface.text.hyperlink.IHyperlinkDetector[] |
getHyperlinkDetectors(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
|
org.eclipse.jface.text.IInformationControlCreator |
getInformationControlCreator(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
|
org.eclipse.jface.text.information.IInformationPresenter |
getInformationPresenter(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
|
org.eclipse.jface.text.source.IAnnotationHover |
getOverviewRulerAnnotationHover(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
|
org.eclipse.jface.text.ITextHover |
getTextHover(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
java.lang.String contentType)
|
org.eclipse.jface.text.ITextHover |
getTextHover(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
java.lang.String contentType,
int stateMask)
|
Methods inherited from class org.eclipse.xtext.ui.editor.XtextSourceViewerConfiguration |
getConfiguredContentTypes, getContentAssistant, getDefaultPrefixes, getDocumentPartitioning, getDoubleClickStrategy, getPresentationReconciler, getPresentationReconcilerProvider, getQuickAssistAssistant, getReconciler, getSingleLineCommentHelper, setPresentationReconcilerProvider, setSingleLineCommentHelper |
Methods inherited from class org.eclipse.ui.editors.text.TextSourceViewerConfiguration |
computeStateMask, findLocalizedModifier, getHyperlinkDetectorTargets, getHyperlinkPresenter, getHyperlinkStateMask, getIndentPrefixes, getRegisteredHyperlinkDetectors, getTabWidth, getUndoManager, isShowInOverviewRuler, isShowInVerticalRuler, isShownInText |
Methods inherited from class org.eclipse.jface.text.source.SourceViewerConfiguration |
getAutoIndentStrategy, getConfiguredDocumentPartitioning, getIndentPrefixesForTab |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReadOnlySourceViewerConfiguration
public ReadOnlySourceViewerConfiguration()
getAutoEditStrategies
public org.eclipse.jface.text.IAutoEditStrategy[] getAutoEditStrategies(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
java.lang.String contentType)
- Overrides:
getAutoEditStrategies
in class XtextSourceViewerConfiguration
getAnnotationHover
public org.eclipse.jface.text.source.IAnnotationHover getAnnotationHover(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
- Overrides:
getAnnotationHover
in class XtextSourceViewerConfiguration
getOverviewRulerAnnotationHover
public org.eclipse.jface.text.source.IAnnotationHover getOverviewRulerAnnotationHover(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
- Overrides:
getOverviewRulerAnnotationHover
in class org.eclipse.ui.editors.text.TextSourceViewerConfiguration
getConfiguredTextHoverStateMasks
public int[] getConfiguredTextHoverStateMasks(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
java.lang.String contentType)
- Overrides:
getConfiguredTextHoverStateMasks
in class org.eclipse.ui.editors.text.TextSourceViewerConfiguration
getTextHover
public org.eclipse.jface.text.ITextHover getTextHover(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
java.lang.String contentType,
int stateMask)
- Overrides:
getTextHover
in class org.eclipse.jface.text.source.SourceViewerConfiguration
getTextHover
public org.eclipse.jface.text.ITextHover getTextHover(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
java.lang.String contentType)
- Overrides:
getTextHover
in class XtextSourceViewerConfiguration
getContentFormatter
public org.eclipse.jface.text.formatter.IContentFormatter getContentFormatter(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
- Overrides:
getContentFormatter
in class XtextSourceViewerConfiguration
getInformationControlCreator
public org.eclipse.jface.text.IInformationControlCreator getInformationControlCreator(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
- Overrides:
getInformationControlCreator
in class org.eclipse.jface.text.source.SourceViewerConfiguration
getInformationPresenter
public org.eclipse.jface.text.information.IInformationPresenter getInformationPresenter(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
- Overrides:
getInformationPresenter
in class org.eclipse.jface.text.source.SourceViewerConfiguration
getHyperlinkDetectors
public org.eclipse.jface.text.hyperlink.IHyperlinkDetector[] getHyperlinkDetectors(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
- Overrides:
getHyperlinkDetectors
in class XtextSourceViewerConfiguration