org.ocleditor.internal.ui.editor
Class OclSourceViewerConfiguration
java.lang.Object
org.eclipse.jface.text.source.SourceViewerConfiguration
org.ocleditor.internal.ui.editor.OclSourceViewerConfiguration
- public class OclSourceViewerConfiguration
- extends org.eclipse.jface.text.source.SourceViewerConfiguration
This class configures the look and behaviour of the OCL editor.
Method Summary |
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.formatter.IContentFormatter |
getContentFormatter(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
Configure the content formatter with formatting strategy that makes keywords lower. |
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, getAutoIndentStrategy, getConfiguredDocumentPartitioning, getConfiguredTextHoverStateMasks, getDefaultPrefixes, 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 |
OclSourceViewerConfiguration
public OclSourceViewerConfiguration(OclColorManager colorManager)
- Parameters:
colorManager
- the color manager used for syntax highlighting.
getConfiguredContentTypes
public java.lang.String[] getConfiguredContentTypes(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
getDoubleClickStrategy
public org.eclipse.jface.text.ITextDoubleClickStrategy getDoubleClickStrategy(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
java.lang.String contentType)
getContentAssistant
public org.eclipse.jface.text.contentassist.IContentAssistant getContentAssistant(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
getContentFormatter
public org.eclipse.jface.text.formatter.IContentFormatter getContentFormatter(org.eclipse.jface.text.source.ISourceViewer sourceViewer)
- Configure the content formatter with formatting strategy that makes keywords lower.
- See Also:
SourceViewerConfiguration.getContentFormatter(ISourceViewer)
getPresentationReconciler
public org.eclipse.jface.text.presentation.IPresentationReconciler getPresentationReconciler(org.eclipse.jface.text.source.ISourceViewer sourceViewer)