Eclipse Platform
2.1

Uses of Interface
org.eclipse.jface.text.source.ISourceViewer

Packages that use ISourceViewer
org.eclipse.jface.text.source Provides a framework for connecting document regions with annotations and for displaying those annotations in combination with an ITextViewer
org.eclipse.ui.editors.text Provides a standard text editor and a file-based document provider. 
org.eclipse.ui.texteditor Provides a framework for text editors obeying to the desktop rules. 
 

Uses of ISourceViewer in org.eclipse.jface.text.source
 

Classes in org.eclipse.jface.text.source that implement ISourceViewer
 class ProjectionSourceViewer
          A projection source viewer is a source viewer which does not support the concept of a visible region.
 class SourceViewer
          SWT based implementation of ISourceViewer.
 

Methods in org.eclipse.jface.text.source that return ISourceViewer
protected  ISourceViewer AnnotationBarHoverManager.getSourceViewer()
          Returns the source viewer for this hover manager.
 

Methods in org.eclipse.jface.text.source with parameters of type ISourceViewer
 int SourceViewerConfiguration.getTabWidth(ISourceViewer sourceViewer)
          Returns the visual width of the tab character.
 IUndoManager SourceViewerConfiguration.getUndoManager(ISourceViewer sourceViewer)
          Returns the undo manager for the given source viewer.
 IReconciler SourceViewerConfiguration.getReconciler(ISourceViewer sourceViewer)
          Returns the reconciler ready to be used with the given source viewer.
 IPresentationReconciler SourceViewerConfiguration.getPresentationReconciler(ISourceViewer sourceViewer)
          Returns the presentation reconciler ready to be used with the given source viewer.
 IContentFormatter SourceViewerConfiguration.getContentFormatter(ISourceViewer sourceViewer)
          Returns the content formatter ready to be used with the given source viewer.
 IContentAssistant SourceViewerConfiguration.getContentAssistant(ISourceViewer sourceViewer)
          Returns the content assistant ready to be used with the given source viewer.
 IAutoIndentStrategy SourceViewerConfiguration.getAutoIndentStrategy(ISourceViewer sourceViewer, String contentType)
          Returns the auto indentation strategy ready to be used with the given source viewer when manipulating text of the given content type.
 String[] SourceViewerConfiguration.getDefaultPrefixes(ISourceViewer sourceViewer, String contentType)
          Returns the default prefixes to be used by the line-prefix operation in the given source viewer for text of the given content type.
 ITextDoubleClickStrategy SourceViewerConfiguration.getDoubleClickStrategy(ISourceViewer sourceViewer, String contentType)
          Returns the double-click strategy ready to be used in this viewer when double clicking onto text of the given content type.
 String[] SourceViewerConfiguration.getIndentPrefixes(ISourceViewer sourceViewer, String contentType)
          Returns the prefixes to be used by the line-shift operation.
 IAnnotationHover SourceViewerConfiguration.getAnnotationHover(ISourceViewer sourceViewer)
          Returns the annotation hover which will provide the information to be shown in a hover popup window when requested for the given source viewer.This implementation always returns null.
 int[] SourceViewerConfiguration.getConfiguredTextHoverStateMasks(ISourceViewer sourceViewer, String contentType)
          Returns the SWT event state masks for which text hover are configured for the given content type.
 ITextHover SourceViewerConfiguration.getTextHover(ISourceViewer sourceViewer, String contentType, int stateMask)
          Returns the text hover which will provide the information to be shown in a text hover popup window when requested for the given source viewer and the given content type.
 ITextHover SourceViewerConfiguration.getTextHover(ISourceViewer sourceViewer, String contentType)
          Returns the text hover which will provide the information to be shown in a text hover popup window when requested for the given source viewer and the given content type.
 IInformationControlCreator SourceViewerConfiguration.getInformationControlCreator(ISourceViewer sourceViewer)
          Returns the information control creator.
 IInformationPresenter SourceViewerConfiguration.getInformationPresenter(ISourceViewer sourceViewer)
          Returns the information presenter which will determine and shown information requested for the current cursor position.
 String[] SourceViewerConfiguration.getConfiguredContentTypes(ISourceViewer sourceViewer)
          Returns all configured content types for the given source viewer.
 String IAnnotationHover.getHoverInfo(ISourceViewer sourceViewer, int lineNumber)
          Returns the text which should be presented in the a hover popup window.
 

Constructors in org.eclipse.jface.text.source with parameters of type ISourceViewer
AnnotationBarHoverManager(ISourceViewer sourceViewer, IVerticalRuler ruler, IAnnotationHover annotationHover, IInformationControlCreator creator)
          Deprecated. As of 2.1, replaced by AnnotationBarHoverManager.AnnotationBarHoverManager(IVerticalRulerInfo, ISourceViewer, IAnnotationHover, IInformationControlCreator)
AnnotationBarHoverManager(IVerticalRulerInfo rulerInfo, ISourceViewer sourceViewer, IAnnotationHover annotationHover, IInformationControlCreator creator)
          Creates an annotation hover manager with the given parameters.
AnnotationPainter(ISourceViewer sourceViewer, IAnnotationAccess access)
          Creates a new annotation painter for the given source viewer and with the given annotation access.
MatchingCharacterPainter(ISourceViewer sourceViewer, ICharacterPairMatcher matcher)
          Creates a new MatchingCharacterPainter for the given source viewer using the given character pair matcher.
 

Uses of ISourceViewer in org.eclipse.ui.editors.text
 

Methods in org.eclipse.ui.editors.text that return ISourceViewer
protected  ISourceViewer TextEditor.createSourceViewer(Composite parent, IVerticalRuler ruler, int styles)
           
 

Uses of ISourceViewer in org.eclipse.ui.texteditor
 

Methods in org.eclipse.ui.texteditor that return ISourceViewer
protected  ISourceViewer AbstractTextEditor.getSourceViewer()
          Returns the editor's source viewer.
protected  ISourceViewer AbstractTextEditor.createSourceViewer(Composite parent, IVerticalRuler ruler, int styles)
          Creates the source viewer to be used by this editor.
 

Methods in org.eclipse.ui.texteditor with parameters of type ISourceViewer
protected static int AbstractTextEditor.widgetOffset2ModelOffset(ISourceViewer viewer, int widgetOffset)
          Returns the offset of the given source viewer's document that corresponds to the given widget offset or -1 if there is no such offset.
protected static IRegion AbstractTextEditor.getCoverage(ISourceViewer viewer)
          Returns the minimal region of the given source viewer's document that completely comprises everything that is visible in the viewer's widget.
protected static boolean AbstractTextEditor.isVisible(ISourceViewer viewer, int offset, int length)
          Tells whether the given region is visible in the given source viewer.
 

Constructors in org.eclipse.ui.texteditor with parameters of type ISourceViewer
SourceViewerDecorationSupport(ISourceViewer sourceViewer, IOverviewRuler overviewRuler, IAnnotationAccess annotationAccess, ISharedTextColors sharedTextColors)
          Creates a new decoration support for the given viewer.
 


Eclipse Platform
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.