Eclipse Platform
Release 3.0

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

Packages that use ISourceViewer
org.eclipse.jface.text.source Provides a support for managing annotations attached to a document. 
org.eclipse.jface.text.source.projection   
org.eclipse.ui.editors.text Provides a standard text editor and concrete document providers based IFileBuffer and others directly handling IFile and IStorage as editor input. 
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 SourceViewer
          SWT based implementation of ISourceViewerand its extension interfaces.
 

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
 String IAnnotationHover.getHoverInfo(ISourceViewer sourceViewer, int lineNumber)
          Returns the text which should be presented in the a hover popup window.
 String LineChangeHover.getHoverInfo(ISourceViewer sourceViewer, int lineNumber)
           
protected  Point LineChangeHover.computeLineRange(ISourceViewer viewer, int line, int min, int max)
          Computes the block of lines which form a contiguous block of changes covering line.
 Object LineChangeHover.getHoverInfo(ISourceViewer sourceViewer, ILineRange lineRange, int visibleLines)
           
 ILineRange LineChangeHover.getHoverLineRange(ISourceViewer viewer, int lineNumber)
           
 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.
 IAnnotationHover SourceViewerConfiguration.getOverviewRulerAnnotationHover(ISourceViewer sourceViewer)
          Returns the annotation hover which will provide the information to be shown in a hover popup window when requested for the overview ruler of the given source viewer.This implementation always returns the general annotation hover returned by getAnnotationHover.
 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 SourceViewerConfiguration.getConfiguredDocumentPartitioning(ISourceViewer sourceViewer)
          Returns the configured partitioning for the given source viewer.
protected  IAnnotationModel AnnotationPainter.findAnnotationModel(ISourceViewer sourceViewer)
          Retrieves the annotation model from the given source viewer.
 Object IAnnotationHoverExtension.getHoverInfo(ISourceViewer sourceViewer, ILineRange lineRange, int visibleNumberOfLines)
          Returns the object which should be presented in the a hover popup window.
 ILineRange IAnnotationHoverExtension.getHoverLineRange(ISourceViewer viewer, int lineNumber)
          Returns the range of lines that include the given line number for which the same hover information is valid.
 

Constructors in org.eclipse.jface.text.source with parameters of type ISourceViewer
MatchingCharacterPainter(ISourceViewer sourceViewer, ICharacterPairMatcher matcher)
          Creates a new MatchingCharacterPainter for the given source viewer using the given character pair matcher.
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.
 

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

Classes in org.eclipse.jface.text.source.projection that implement ISourceViewer
 class ProjectionViewer
          A projection source viewer is a source viewer which supports multiple visible regions which can dynamically be changed.
 

Methods in org.eclipse.jface.text.source.projection with parameters of type ISourceViewer
 Object ProjectionSupport.getAdapter(ISourceViewer viewer, Class required)
          Implements the contract of IAdaptable.getAdapter(java.lang.Class) by forwarding the adapter requests to the given viewer.
 

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

Methods in org.eclipse.ui.editors.text with parameters of type ISourceViewer
 IAnnotationHover TextSourceViewerConfiguration.getAnnotationHover(ISourceViewer sourceViewer)
           
 int TextSourceViewerConfiguration.getTabWidth(ISourceViewer sourceViewer)
           
 

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.
protected  ISourceViewer AbstractDecoratedTextEditor.createSourceViewer(Composite parent, IVerticalRuler ruler, int styles)
           
 

Methods in org.eclipse.ui.texteditor with parameters of type ISourceViewer
protected  void AbstractTextEditor.initializeDragAndDrop(ISourceViewer viewer)
          Initializes the drag and drop support for the given viewer based on provided editor adapter for drop target listeners.
protected  void AbstractTextEditor.initializeViewerColors(ISourceViewer viewer)
          Initializes the fore- and background colors of the given viewer for both normal and selected text.
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 int AbstractTextEditor.modelOffset2WidgetOffset(ISourceViewer viewer, int modelOffset)
          Returns the offset of the given source viewer's text widget that corresponds to the given model 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.
protected  SourceViewerDecorationSupport AbstractDecoratedTextEditor.getSourceViewerDecorationSupport(ISourceViewer viewer)
          Returns the source viewer decoration support.
 

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
Release 3.0

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.