Class UnoidlConfiguration
java.lang.Object
org.eclipse.jface.text.source.SourceViewerConfiguration
org.libreoffice.ide.eclipse.core.editors.idl.UnoidlConfiguration
public class UnoidlConfiguration
extends org.eclipse.jface.text.source.SourceViewerConfiguration
Provides the UNO-IDL editor configuration. In order to fully understand the editor mechanisms, please report to
Eclipse plugin developer's guide. Most of the scanners and rules used by this class are defined in the
org.libreoffice.ide.eclipse.core.editors.syntax package.
-
Constructor Summary
ConstructorsConstructorDescriptionUnoidlConfiguration(ColorProvider colorManager) Default constructor using a color manager. -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.jface.text.source.IAnnotationHovergetAnnotationHover(org.eclipse.jface.text.source.ISourceViewer pSourceViewer) protected UnoidlScannerString[]getConfiguredContentTypes(org.eclipse.jface.text.source.ISourceViewer pSourceViewer) protected UnoidlDocScannerorg.eclipse.jface.text.ITextDoubleClickStrategygetDoubleClickStrategy(org.eclipse.jface.text.source.ISourceViewer sourceViewer, String contentType) org.eclipse.jface.text.source.IAnnotationHovergetOverviewRulerAnnotationHover(org.eclipse.jface.text.source.ISourceViewer pSourceViewer) protected UnoidlPreprocessorScannerorg.eclipse.jface.text.presentation.IPresentationReconcilergetPresentationReconciler(org.eclipse.jface.text.source.ISourceViewer pSourceViewer) Methods inherited from class org.eclipse.jface.text.source.SourceViewerConfiguration
getAutoEditStrategies, getAutoIndentStrategy, getCodeMiningProviders, getConfiguredDocumentPartitioning, getConfiguredTextHoverStateMasks, getContentAssistant, getContentFormatter, getDefaultPrefixes, getHyperlinkDetectors, getHyperlinkPresenter, getHyperlinkStateMask, getIndentPrefixes, getIndentPrefixesForTab, getInformationControlCreator, getInformationPresenter, getLineSpacing, getQuickAssistAssistant, getReconciler, getTabWidth, getTextHover, getTextHover, getUndoManager
-
Constructor Details
-
UnoidlConfiguration
Default constructor using a color manager.- Parameters:
colorManager- the color manager to colorize the syntax elements
-
-
Method Details
-
getDoubleClickStrategy
public org.eclipse.jface.text.ITextDoubleClickStrategy getDoubleClickStrategy(org.eclipse.jface.text.source.ISourceViewer sourceViewer, String contentType) - Overrides:
getDoubleClickStrategyin classorg.eclipse.jface.text.source.SourceViewerConfiguration
-
getAnnotationHover
public org.eclipse.jface.text.source.IAnnotationHover getAnnotationHover(org.eclipse.jface.text.source.ISourceViewer pSourceViewer) - Overrides:
getAnnotationHoverin classorg.eclipse.jface.text.source.SourceViewerConfiguration
-
getOverviewRulerAnnotationHover
public org.eclipse.jface.text.source.IAnnotationHover getOverviewRulerAnnotationHover(org.eclipse.jface.text.source.ISourceViewer pSourceViewer) - Overrides:
getOverviewRulerAnnotationHoverin classorg.eclipse.jface.text.source.SourceViewerConfiguration
-
getConfiguredContentTypes
public String[] getConfiguredContentTypes(org.eclipse.jface.text.source.ISourceViewer pSourceViewer) - Overrides:
getConfiguredContentTypesin classorg.eclipse.jface.text.source.SourceViewerConfiguration
-
getPresentationReconciler
public org.eclipse.jface.text.presentation.IPresentationReconciler getPresentationReconciler(org.eclipse.jface.text.source.ISourceViewer pSourceViewer) - Overrides:
getPresentationReconcilerin classorg.eclipse.jface.text.source.SourceViewerConfiguration
-
getCodeScanner
- Returns:
- the code scanner if it's not already created
-
getDocScanner
- Returns:
- the comments scanner if it's not already created
-
getPreprocScanner
- Returns:
- the preprocessor instruction scanner if it's not already created.
-