|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.text.source.SourceViewerConfiguration
org.eclipse.datatools.sqltools.schemaobjecteditor.ui.internal.ui.SQLSourceViewerConfiguration
public class SQLSourceViewerConfiguration
This is a common implementation of SourceViewerConfiguration
for DMP. This configuraion is used for SQL
Statements preview which supports:
If user wants to support content assistant and autoEditStrategy, user needs to subclass this class with overridding
some motheds or subclass SourceViewerConfiguration
directly.
Constructor Summary | |
---|---|
SQLSourceViewerConfiguration(java.lang.String dbType)
Instantiates a new SQLSourceViewerConfiguration with the parameter:database type. |
Method Summary | |
---|---|
org.eclipse.jface.text.ITextDoubleClickStrategy |
getDoubleClickStrategy(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
java.lang.String contentType)
|
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, getConfiguredContentTypes, getConfiguredDocumentPartitioning, getConfiguredTextHoverStateMasks, getContentAssistant, getContentFormatter, getDefaultPrefixes, getHyperlinkDetectors, getHyperlinkPresenter, getHyperlinkStateMask, getIndentPrefixes, getInformationControlCreator, getInformationPresenter, getOverviewRulerAnnotationHover, getQuickAssistAssistant, getReconciler, getTabWidth, getTextHover, getTextHover, getUndoManager |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SQLSourceViewerConfiguration(java.lang.String dbType)
dbType
- Method Detail |
---|
public org.eclipse.jface.text.presentation.IPresentationReconciler getPresentationReconciler(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
getPresentationReconciler
in class org.eclipse.jface.text.source.SourceViewerConfiguration
public org.eclipse.jface.text.ITextDoubleClickStrategy getDoubleClickStrategy(org.eclipse.jface.text.source.ISourceViewer sourceViewer, java.lang.String contentType)
getDoubleClickStrategy
in class org.eclipse.jface.text.source.SourceViewerConfiguration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |