org.openoffice.ide.eclipse.core.editors
Class UnoidlConfiguration
java.lang.Object
org.eclipse.jface.text.source.SourceViewerConfiguration
org.openoffice.ide.eclipse.core.editors.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.openoffice.ide.eclipse.core.editors.syntax
package.
- Author:
- cbosdonnat
Methods inherited from class org.eclipse.jface.text.source.SourceViewerConfiguration |
getAnnotationHover, getAutoEditStrategies, getAutoIndentStrategy, getConfiguredDocumentPartitioning, getConfiguredTextHoverStateMasks, getContentAssistant, getContentFormatter, getDefaultPrefixes, getHyperlinkDetectors, getHyperlinkPresenter, getHyperlinkStateMask, getIndentPrefixes, getIndentPrefixesForTab, getInformationControlCreator, getInformationPresenter, getOverviewRulerAnnotationHover, getQuickAssistAssistant, getReconciler, getTabWidth, getTextHover, getTextHover, getUndoManager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnoidlConfiguration
public UnoidlConfiguration(ColorProvider pColorManager)
- Default constructor using a color manager.
- Parameters:
pColorManager
- the color manager to colorize the syntax elements
getDoubleClickStrategy
public org.eclipse.jface.text.ITextDoubleClickStrategy getDoubleClickStrategy(org.eclipse.jface.text.source.ISourceViewer pSourceViewer,
java.lang.String pContentType)
-
- Overrides:
getDoubleClickStrategy
in class org.eclipse.jface.text.source.SourceViewerConfiguration
getConfiguredContentTypes
public java.lang.String[] getConfiguredContentTypes(org.eclipse.jface.text.source.ISourceViewer pSourceViewer)
-
- Overrides:
getConfiguredContentTypes
in class org.eclipse.jface.text.source.SourceViewerConfiguration
getPresentationReconciler
public org.eclipse.jface.text.presentation.IPresentationReconciler getPresentationReconciler(org.eclipse.jface.text.source.ISourceViewer pSourceViewer)
-
- Overrides:
getPresentationReconciler
in class org.eclipse.jface.text.source.SourceViewerConfiguration
getCodeScanner
protected UnoidlScanner getCodeScanner()
- Returns:
- the code scanner if it's not already created
getDocScanner
protected UnoidlDocScanner getDocScanner()
- Returns:
- the comments scanner if it's not already created
getPreprocScanner
protected UnoidlPreprocessorScanner getPreprocScanner()
- Returns:
- the preprocessor instruction scanner if it's not already
created.