java.lang.Objectorg.eclipse.jface.text.source.SourceViewerConfiguration
org.sintef.mofscript.editor.MofScriptConfiguration
public class MofScriptConfiguration
Handles the configuration settings for the MOFScript text editor
Constructor Summary | |
---|---|
MofScriptConfiguration(ColorManager colorManager)
Boa Constructor |
Method Summary | |
---|---|
void |
addBracketListener(MofScriptBracketListener bracketListener)
|
org.eclipse.jface.text.IAutoEditStrategy[] |
getAutoEditStrategies(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
java.lang.String contentType)
|
java.lang.String[] |
getConfiguredContentTypes(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.ITextDoubleClickStrategy |
getDoubleClickStrategy(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
java.lang.String contentType)
Returns a double click strategy |
java.lang.String[] |
getIndentPrefixes(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
java.lang.String contentType)
Gets the indent prefixes |
org.eclipse.jface.text.presentation.IPresentationReconciler |
getPresentationReconciler(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
|
int |
getTabWidth(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
|
org.eclipse.jface.text.ITextHover |
getTextHover(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
java.lang.String contentType)
|
void |
notifyBracketListeners(int positionStart,
int positionEnd)
|
Methods inherited from class org.eclipse.jface.text.source.SourceViewerConfiguration |
---|
getAnnotationHover, getAutoIndentStrategy, getConfiguredDocumentPartitioning, getConfiguredTextHoverStateMasks, getContentFormatter, getDefaultPrefixes, getHyperlinkDetectors, getHyperlinkPresenter, getHyperlinkStateMask, getInformationControlCreator, getInformationPresenter, getOverviewRulerAnnotationHover, getReconciler, getTextHover, getUndoManager |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MofScriptConfiguration(ColorManager colorManager)
colorManager
- Method Detail |
---|
public java.lang.String[] getConfiguredContentTypes(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
getConfiguredContentTypes
in class org.eclipse.jface.text.source.SourceViewerConfiguration
public java.lang.String[] getIndentPrefixes(org.eclipse.jface.text.source.ISourceViewer sourceViewer, java.lang.String contentType)
getIndentPrefixes
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
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.contentassist.IContentAssistant getContentAssistant(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
getContentAssistant
in class org.eclipse.jface.text.source.SourceViewerConfiguration
public org.eclipse.jface.text.IAutoEditStrategy[] getAutoEditStrategies(org.eclipse.jface.text.source.ISourceViewer sourceViewer, java.lang.String contentType)
getAutoEditStrategies
in class org.eclipse.jface.text.source.SourceViewerConfiguration
public int getTabWidth(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
getTabWidth
in class org.eclipse.jface.text.source.SourceViewerConfiguration
public org.eclipse.jface.text.ITextHover getTextHover(org.eclipse.jface.text.source.ISourceViewer sourceViewer, java.lang.String contentType)
getTextHover
in class org.eclipse.jface.text.source.SourceViewerConfiguration
public void addBracketListener(MofScriptBracketListener bracketListener)
bracketListener
- public void notifyBracketListeners(int positionStart, int positionEnd)
positionStart
- positionEnd
-