public class PovrayEditorConfiguration
extends SourceViewerConfiguration
Modifier and Type | Field and Description |
---|---|
protected PovrayPreferences |
prefs |
protected PovrayStringScanner |
stringScanner |
protected static Token |
tokenDefault |
Constructor and Description |
---|
PovrayEditorConfiguration(PovrayEditor editor)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
IAnnotationHover |
getAnnotationHover(ISourceViewer sourceViewer) |
IContentAssistant |
getContentAssistant(ISourceViewer sourceViewer) |
ITextDoubleClickStrategy |
getDoubleClickStrategy(ISourceViewer sourceViewer,
java.lang.String contentType) |
IInformationControlCreator |
getInformationControlCreator(ISourceViewer sourceViewer) |
IInformationPresenter |
getInformationPresenter(ISourceViewer sourceViewer) |
static IInformationControlCreator |
getInformationPresenterControlCreator() |
IPresentationReconciler |
getPresentationReconciler(ISourceViewer sourceViewer) |
IReconciler |
getReconciler(ISourceViewer sourceViewer) |
RuleBasedScanner |
getStringScanner() |
ITextHover |
getTextHover(ISourceViewer sourceViewer,
java.lang.String contentType)
Returns the hover used by text hovering.
This is not the one used by the code folding to show the folded code! |
void |
updatePreferenceSettings()
Tells the code assistant as well as the scanner to update their configuration from
the preference store.
|
protected PovrayStringScanner stringScanner
protected PovrayPreferences prefs
protected static Token tokenDefault
public PovrayEditorConfiguration(PovrayEditor editor)
editor
- The instance of the Povray editor.public void updatePreferenceSettings()
public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer)
public ITextDoubleClickStrategy getDoubleClickStrategy(ISourceViewer sourceViewer, java.lang.String contentType)
public RuleBasedScanner getStringScanner()
public IPresentationReconciler getPresentationReconciler(ISourceViewer sourceViewer)
public IContentAssistant getContentAssistant(ISourceViewer sourceViewer)
public IReconciler getReconciler(ISourceViewer sourceViewer)
public ITextHover getTextHover(ISourceViewer sourceViewer, java.lang.String contentType)
org.eclipse.jface.text.source.SourceViewerConfiguration#getTextHover(org.eclipse.jface.text.source.ISourceViewer, java.lang.String)
public IInformationControlCreator getInformationControlCreator(ISourceViewer sourceViewer)
public IInformationPresenter getInformationPresenter(ISourceViewer sourceViewer)
public static IInformationControlCreator getInformationPresenterControlCreator()