public class XtextSourceViewerConfiguration
extends org.eclipse.ui.editors.text.TextSourceViewerConfiguration
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
XTEXT_TEMPLATE_POS_CATEGORY
Position category for Xtext templates.
|
Constructor and Description |
---|
XtextSourceViewerConfiguration() |
Modifier and Type | Method and Description |
---|---|
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) |
java.lang.String[] |
getConfiguredContentTypes(org.eclipse.jface.text.source.ISourceViewer sourceViewer) |
org.eclipse.jface.text.contentassist.IContentAssistant |
getContentAssistant(org.eclipse.jface.text.source.ISourceViewer sourceViewer) |
org.eclipse.jface.text.formatter.IContentFormatter |
getContentFormatter(org.eclipse.jface.text.source.ISourceViewer sourceViewer) |
java.lang.String[] |
getDefaultPrefixes(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
java.lang.String contentType) |
protected java.lang.String |
getDocumentPartitioning(org.eclipse.jface.text.source.ISourceViewer sourceViewer) |
org.eclipse.jface.text.ITextDoubleClickStrategy |
getDoubleClickStrategy(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
java.lang.String contentType) |
org.eclipse.ui.IEditorPart |
getEditor() |
org.eclipse.jface.text.hyperlink.IHyperlinkDetector[] |
getHyperlinkDetectors(org.eclipse.jface.text.source.ISourceViewer sourceViewer) |
org.eclipse.jface.text.hyperlink.IHyperlinkPresenter |
getHyperlinkPresenter(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.presentation.IPresentationReconciler |
getPresentationReconciler(org.eclipse.jface.text.source.ISourceViewer sourceViewer) |
com.google.inject.Provider<XtextPresentationReconciler> |
getPresentationReconcilerProvider() |
org.eclipse.jface.text.quickassist.IQuickAssistAssistant |
getQuickAssistAssistant(org.eclipse.jface.text.source.ISourceViewer sourceViewer) |
org.eclipse.jface.text.reconciler.IReconciler |
getReconciler(org.eclipse.jface.text.source.ISourceViewer sourceViewer) |
ISingleLineCommentHelper |
getSingleLineCommentHelper() |
org.eclipse.jface.text.ITextHover |
getTextHover(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
java.lang.String contentType) |
void |
setEditor(org.eclipse.ui.IEditorPart editor) |
void |
setPresentationReconcilerProvider(com.google.inject.Provider<XtextPresentationReconciler> presentationReconcilerProvider) |
void |
setSingleLineCommentHelper(ISingleLineCommentHelper singleLineCommentHelper) |
computeStateMask, findLocalizedModifier, getConfiguredTextHoverStateMasks, getHyperlinkDetectorTargets, getHyperlinkStateMask, getIndentPrefixes, getOverviewRulerAnnotationHover, getRegisteredHyperlinkDetectors, getTabWidth, getUndoManager, isShowInOverviewRuler, isShowInVerticalRuler, isShownInText
public static final java.lang.String XTEXT_TEMPLATE_POS_CATEGORY
IDocument.addPositionCategory(String)
,
Constant Field Valuespublic org.eclipse.ui.IEditorPart getEditor()
public void setEditor(org.eclipse.ui.IEditorPart editor)
public org.eclipse.jface.text.source.IAnnotationHover getAnnotationHover(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
getAnnotationHover
in class org.eclipse.ui.editors.text.TextSourceViewerConfiguration
public org.eclipse.jface.text.ITextHover getTextHover(org.eclipse.jface.text.source.ISourceViewer sourceViewer, java.lang.String contentType)
getTextHover
in class org.eclipse.ui.editors.text.TextSourceViewerConfiguration
public org.eclipse.jface.text.contentassist.IContentAssistant getContentAssistant(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
getContentAssistant
in class org.eclipse.jface.text.source.SourceViewerConfiguration
public org.eclipse.jface.text.reconciler.IReconciler getReconciler(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
getReconciler
in class org.eclipse.ui.editors.text.TextSourceViewerConfiguration
public org.eclipse.jface.text.presentation.IPresentationReconciler getPresentationReconciler(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
getPresentationReconciler
in class org.eclipse.jface.text.source.SourceViewerConfiguration
public java.lang.String[] getConfiguredContentTypes(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
getConfiguredContentTypes
in class org.eclipse.jface.text.source.SourceViewerConfiguration
protected java.lang.String getDocumentPartitioning(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
public org.eclipse.jface.text.hyperlink.IHyperlinkDetector[] getHyperlinkDetectors(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
getHyperlinkDetectors
in class org.eclipse.ui.editors.text.TextSourceViewerConfiguration
public org.eclipse.jface.text.hyperlink.IHyperlinkPresenter getHyperlinkPresenter(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
getHyperlinkPresenter
in class org.eclipse.ui.editors.text.TextSourceViewerConfiguration
public org.eclipse.jface.text.quickassist.IQuickAssistAssistant getQuickAssistAssistant(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
getQuickAssistAssistant
in class org.eclipse.ui.editors.text.TextSourceViewerConfiguration
public org.eclipse.jface.text.formatter.IContentFormatter getContentFormatter(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
getContentFormatter
in class org.eclipse.jface.text.source.SourceViewerConfiguration
public java.lang.String[] getDefaultPrefixes(org.eclipse.jface.text.source.ISourceViewer sourceViewer, java.lang.String contentType)
getDefaultPrefixes
in class org.eclipse.jface.text.source.SourceViewerConfiguration
public void setSingleLineCommentHelper(ISingleLineCommentHelper singleLineCommentHelper)
public ISingleLineCommentHelper getSingleLineCommentHelper()
public void setPresentationReconcilerProvider(com.google.inject.Provider<XtextPresentationReconciler> presentationReconcilerProvider)
public com.google.inject.Provider<XtextPresentationReconciler> getPresentationReconcilerProvider()
public org.eclipse.jface.text.IAutoEditStrategy[] getAutoEditStrategies(org.eclipse.jface.text.source.ISourceViewer sourceViewer, java.lang.String contentType)
getAutoEditStrategies
in class org.eclipse.jface.text.source.SourceViewerConfiguration
public org.eclipse.jface.text.ITextDoubleClickStrategy getDoubleClickStrategy(org.eclipse.jface.text.source.ISourceViewer sourceViewer, java.lang.String contentType)
getDoubleClickStrategy
in class org.eclipse.jface.text.source.SourceViewerConfiguration
public org.eclipse.jface.text.information.IInformationPresenter getInformationPresenter(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
getInformationPresenter
in class org.eclipse.jface.text.source.SourceViewerConfiguration