sota.lang.java.gui.util
Class JavaSourceViewerConfiguration

java.lang.Object
  extended by org.eclipse.jface.text.source.SourceViewerConfiguration
      extended by sota.lang.java.gui.util.JavaSourceViewerConfiguration
All Implemented Interfaces:
ISourceViewerConfiguration

public class JavaSourceViewerConfiguration
extends org.eclipse.jface.text.source.SourceViewerConfiguration
implements ISourceViewerConfiguration

Definiert die Partitionierung eines Document und ihre Scanner.


Field Summary
private static java.lang.String PARTITIONING
           
 
Constructor Summary
JavaSourceViewerConfiguration()
           
 
Method Summary
 java.lang.String[] getConfiguredContentTypes(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
           
 java.lang.String getConfiguredDocumentPartitioning()
          Liefert das DocumentPartitioning der SourceViewerConfiguration.
 org.eclipse.jface.text.presentation.IPresentationReconciler getPresentationReconciler(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
           
 int getTabWidth(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
           
 
Methods inherited from class org.eclipse.jface.text.source.SourceViewerConfiguration
getAnnotationHover, getAutoEditStrategies, getAutoIndentStrategy, getConfiguredDocumentPartitioning, getConfiguredTextHoverStateMasks, getContentAssistant, getContentFormatter, getDefaultPrefixes, getDoubleClickStrategy, getHyperlinkDetectors, getHyperlinkPresenter, getHyperlinkStateMask, getIndentPrefixes, 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
 

Field Detail

PARTITIONING

private static java.lang.String PARTITIONING
Constructor Detail

JavaSourceViewerConfiguration

public JavaSourceViewerConfiguration()
Method Detail

getConfiguredContentTypes

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

getConfiguredDocumentPartitioning

public java.lang.String getConfiguredDocumentPartitioning()
Description copied from interface: ISourceViewerConfiguration
Liefert das DocumentPartitioning der SourceViewerConfiguration.

Specified by:
getConfiguredDocumentPartitioning in interface ISourceViewerConfiguration
Returns:
das Partitioning

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