org.radrails.db.internal.ui.editors.sql
Class SQLEditorSourceViewerConfiguration

java.lang.Object
  extended byorg.eclipse.jface.text.source.SourceViewerConfiguration
      extended byorg.radrails.db.internal.ui.editors.sql.SQLEditorSourceViewerConfiguration

public class SQLEditorSourceViewerConfiguration
extends org.eclipse.jface.text.source.SourceViewerConfiguration

This class defines the editor add-ons; content assist, content formatter, highlighting, auto-indent strategy, double click strategy.


Constructor Summary
SQLEditorSourceViewerConfiguration()
           
 
Method Summary
 java.lang.String getConfiguredDocumentPartitioning(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
           
 org.eclipse.jface.text.contentassist.IContentAssistant getContentAssistant(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
           
 org.eclipse.jface.text.formatter.IContentFormatter getContentFormatter(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
          Configure the content formatter with a formatting strategies
 org.eclipse.jface.text.ITextDoubleClickStrategy getDoubleClickStrategy(org.eclipse.jface.text.source.ISourceViewer sourceViewer, java.lang.String contentType)
          Configure the double click strategy here.
 org.eclipse.jface.text.presentation.IPresentationReconciler getPresentationReconciler(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
          Configure a presentation reconciler for syntax highlighting
 
Methods inherited from class org.eclipse.jface.text.source.SourceViewerConfiguration
getAnnotationHover, getAutoEditStrategies, getAutoIndentStrategy, getConfiguredContentTypes, getConfiguredTextHoverStateMasks, getDefaultPrefixes, getHyperlinkDetectors, getHyperlinkPresenter, getHyperlinkStateMask, getIndentPrefixes, getInformationControlCreator, getInformationPresenter, getOverviewRulerAnnotationHover, getReconciler, getTabWidth, getTextHover, getTextHover, getUndoManager
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLEditorSourceViewerConfiguration

public SQLEditorSourceViewerConfiguration()
Method Detail

getContentAssistant

public org.eclipse.jface.text.contentassist.IContentAssistant getContentAssistant(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
See Also:
SourceViewerConfiguration.getContentAssistant(ISourceViewer)

getDoubleClickStrategy

public org.eclipse.jface.text.ITextDoubleClickStrategy getDoubleClickStrategy(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
                                                                              java.lang.String contentType)
Configure the double click strategy here.

See Also:
SourceViewerConfiguration.getDoubleClickStrategy(ISourceViewer, String)

getPresentationReconciler

public org.eclipse.jface.text.presentation.IPresentationReconciler getPresentationReconciler(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
Configure a presentation reconciler for syntax highlighting

See Also:
SourceViewerConfiguration.getPresentationReconciler(ISourceViewer)

getContentFormatter

public org.eclipse.jface.text.formatter.IContentFormatter getContentFormatter(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
Configure the content formatter with a formatting strategies

See Also:
SourceViewerConfiguration.getContentFormatter(ISourceViewer)

getConfiguredDocumentPartitioning

public java.lang.String getConfiguredDocumentPartitioning(org.eclipse.jface.text.source.ISourceViewer sourceViewer)