Class VqlSourceViewerConfiguration

java.lang.Object
org.eclipse.jface.text.source.SourceViewerConfiguration
be.kuleuven.cs.distrinet.sparta.analysis.vql.VqlSourceViewerConfiguration

public class VqlSourceViewerConfiguration extends org.eclipse.jface.text.source.SourceViewerConfiguration
Wires the VqlTokenScanner into a SourceViewer so that VQL text is syntax-colored. A single default partition is used (the scanner is purely lexical), which is sufficient for highlight-only editing.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.jface.text.presentation.IPresentationReconciler
    getPresentationReconciler(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
     

    Methods inherited from class org.eclipse.jface.text.source.SourceViewerConfiguration

    getAnnotationHover, getAutoEditStrategies, getAutoIndentStrategy, getCodeMiningProviders, getConfiguredContentTypes, getConfiguredDocumentPartitioning, getConfiguredTextHoverStateMasks, getContentAssistant, getContentFormatter, getDefaultPrefixes, getDoubleClickStrategy, getHyperlinkDetectors, getHyperlinkPresenter, getHyperlinkStateMask, getIndentPrefixes, getIndentPrefixesForTab, getInformationControlCreator, getInformationPresenter, getLineSpacing, 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
  • Constructor Details

    • VqlSourceViewerConfiguration

      public VqlSourceViewerConfiguration(VqlColorManager colorManager)
  • Method Details

    • getPresentationReconciler

      public org.eclipse.jface.text.presentation.IPresentationReconciler getPresentationReconciler(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
      Overrides:
      getPresentationReconciler in class org.eclipse.jface.text.source.SourceViewerConfiguration