Class XMLConfiguration

java.lang.Object
org.eclipse.jface.text.source.SourceViewerConfiguration
org.apache.uima.taeconfigurator.editors.xml.XMLConfiguration

public class XMLConfiguration extends org.eclipse.jface.text.source.SourceViewerConfiguration
The Class XMLConfiguration.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Instantiates a new XML configuration.
  • Method Summary

    Modifier and Type
    Method
    Description
    getConfiguredContentTypes(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
     
    org.eclipse.jface.text.ITextDoubleClickStrategy
    getDoubleClickStrategy(org.eclipse.jface.text.source.ISourceViewer sourceViewer, String contentType)
     
    getIndentPrefixes(org.eclipse.jface.text.source.ISourceViewer sourceViewer, String contentType)
     
    org.eclipse.jface.text.presentation.IPresentationReconciler
    getPresentationReconciler(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
     
    int
    getTabWidth(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
     
    protected XMLScanner
    Gets the XML scanner.
    protected XMLTagScanner
    Gets the XML tag scanner.

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

    getAnnotationHover, getAutoEditStrategies, getAutoIndentStrategy, getCodeMiningProviders, getConfiguredDocumentPartitioning, getConfiguredTextHoverStateMasks, getContentAssistant, getContentFormatter, getDefaultPrefixes, getHyperlinkDetectors, getHyperlinkPresenter, getHyperlinkStateMask, getIndentPrefixesForTab, getInformationControlCreator, getInformationPresenter, getOverviewRulerAnnotationHover, getQuickAssistAssistant, getReconciler, getTextHover, getTextHover, getUndoManager

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • XMLConfiguration

      public XMLConfiguration(ColorManager colorManager)
      Instantiates a new XML configuration.
      Parameters:
      colorManager - the color manager
  • Method Details

    • getConfiguredContentTypes

      public String[] getConfiguredContentTypes(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
      Overrides:
      getConfiguredContentTypes in class org.eclipse.jface.text.source.SourceViewerConfiguration
    • getDoubleClickStrategy

      public org.eclipse.jface.text.ITextDoubleClickStrategy getDoubleClickStrategy(org.eclipse.jface.text.source.ISourceViewer sourceViewer, String contentType)
      Overrides:
      getDoubleClickStrategy in class org.eclipse.jface.text.source.SourceViewerConfiguration
    • getXMLScanner

      protected XMLScanner getXMLScanner()
      Gets the XML scanner.
      Returns:
      the XML scanner
    • getXMLTagScanner

      protected XMLTagScanner getXMLTagScanner()
      Gets the XML tag scanner.
      Returns:
      the XML tag scanner
    • 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
    • getTabWidth

      public int getTabWidth(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
      Overrides:
      getTabWidth in class org.eclipse.jface.text.source.SourceViewerConfiguration
    • getIndentPrefixes

      public String[] getIndentPrefixes(org.eclipse.jface.text.source.ISourceViewer sourceViewer, String contentType)
      Overrides:
      getIndentPrefixes in class org.eclipse.jface.text.source.SourceViewerConfiguration