|
||||||||||
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.sintef.mofscript.editor.MofScriptConfiguration
public class MofScriptConfiguration
Handles the configuration settings for the MOFScript text editor
Constructor Summary | |
---|---|
MofScriptConfiguration(ColorManager colorManager,
MofScriptTextEditor editor)
Boa Constructor |
Method Summary | |
---|---|
void |
addBracketListener(MofScriptBracketListener bracketListener)
Adds the provided bracket listener |
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)
|
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)
Gets the tab width |
org.eclipse.jface.text.ITextHover |
getTextHover(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
java.lang.String contentType)
Gets the text hover |
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, getQuickAssistAssistant, 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, MofScriptTextEditor editor)
colorManager
- Method Detail |
---|
public java.lang.String[] getConfiguredContentTypes(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
getConfiguredContentTypes
in class org.eclipse.jface.text.source.SourceViewerConfiguration
sourceViewer
-
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
sourceViewer
- contentType
-
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
sourceViewer
- contentType
-
public org.eclipse.jface.text.presentation.IPresentationReconciler getPresentationReconciler(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
getPresentationReconciler
in class org.eclipse.jface.text.source.SourceViewerConfiguration
sourceViewer
-
public org.eclipse.jface.text.contentassist.IContentAssistant getContentAssistant(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
getContentAssistant
in class org.eclipse.jface.text.source.SourceViewerConfiguration
sourceViewer
-
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
sourceViewer
- contentType
-
public int getTabWidth(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
getTabWidth
in class org.eclipse.jface.text.source.SourceViewerConfiguration
sourceViewer
-
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
sourceViewer
- contentType
-
public void addBracketListener(MofScriptBracketListener bracketListener)
bracketListener
- public void notifyBracketListeners(int positionStart, int positionEnd)
positionStart
- positionEnd
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |