Eclipse Platform
2.1

Uses of Interface
org.eclipse.jface.text.ITextViewer

Packages that use ITextViewer
org.eclipse.jface.text Provides a framework for creating, manipulating, displaying and editing text documents. 
org.eclipse.jface.text.contentassist Provides a content assist add-on for an ITextViewer
org.eclipse.jface.text.information Provides an information provider add-on for an ITextViewer
org.eclipse.jface.text.presentation Provides a presentation reconciler add-on for an ITextViewer
org.eclipse.jface.text.reconciler Provides a reconciler add-on for an ITextViewer
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.texteditor Provides a framework for text editors obeying to the desktop rules. 
 

Uses of ITextViewer in org.eclipse.jface.text
 

Classes in org.eclipse.jface.text that implement ITextViewer
 class TextViewer
          SWT based implementation of ITextViewer.
 

Methods in org.eclipse.jface.text with parameters of type ITextViewer
 void DefaultTextDoubleClickStrategy.doubleClicked(ITextViewer text)
           
 void IUndoManager.connect(ITextViewer viewer)
          Connects this undo manager to the given text viewer.
 String ITextHover.getHoverInfo(ITextViewer textViewer, IRegion hoverRegion)
          Returns the text which should be presented if a hover popup is shown for the specified hover region.
 IRegion ITextHover.getHoverRegion(ITextViewer textViewer, int offset)
          Returns the text region which should serve as the source of information to compute the hover popup display information.
 void ITextDoubleClickStrategy.doubleClicked(ITextViewer viewer)
          The mouse has been double clicked on the given text viewer.
 void DefaultUndoManager.connect(ITextViewer textViewer)
           
 

Constructors in org.eclipse.jface.text with parameters of type ITextViewer
CursorLinePainter(ITextViewer textViewer)
          Creates a new painter for the given source viewer.
MarginPainter(ITextViewer textViewer)
          Creates a new painter for the given text viewer.
PaintManager(ITextViewer textViewer)
          Creates a new paint manager for the given text viewer.
 

Uses of ITextViewer in org.eclipse.jface.text.contentassist
 

Methods in org.eclipse.jface.text.contentassist with parameters of type ITextViewer
 void ICompletionProposalExtension2.apply(ITextViewer viewer, char trigger, int stateMask, int offset)
          Applies the proposed completion to the given document.
 void ICompletionProposalExtension2.selected(ITextViewer viewer, boolean smartToggle)
          Called when the proposal is selected.
 void ICompletionProposalExtension2.unselected(ITextViewer viewer)
          Called when the proposal is unselected.
 void ContentAssistant.install(ITextViewer textViewer)
           
 ICompletionProposal[] IContentAssistProcessor.computeCompletionProposals(ITextViewer viewer, int documentOffset)
          Returns a list of completion proposals based on the specified location within the document that corresponds to the current cursor position within the text viewer.
 IContextInformation[] IContentAssistProcessor.computeContextInformation(ITextViewer viewer, int documentOffset)
          Returns information about possible contexts based on the specified location within the document that corresponds to the current cursor position within the text viewer.
 void ContextInformationValidator.install(IContextInformation contextInformation, ITextViewer viewer, int position)
           
 void IContentAssistant.install(ITextViewer textViewer)
          Installs content assist support on the given text viewer.
 void IContextInformationPresenter.install(IContextInformation info, ITextViewer viewer, int documentPosition)
          Installs this presenter for the given context information.
 void IContextInformationValidator.install(IContextInformation info, ITextViewer viewer, int documentPosition)
          Installs this validator for the given context information.
 

Uses of ITextViewer in org.eclipse.jface.text.information
 

Methods in org.eclipse.jface.text.information with parameters of type ITextViewer
 void InformationPresenter.install(ITextViewer textViewer)
           
 void IInformationPresenter.install(ITextViewer textViewer)
          Installs the information presenter on the given text viewer.
 Object IInformationProviderExtension.getInformation2(ITextViewer textViewer, IRegion subject)
          Returns the element for the given subject or null if no element is available.
 IRegion IInformationProvider.getSubject(ITextViewer textViewer, int offset)
          Returns the region of the text viewer's document close to the given offset that contains a subject about which information can be provided.
 String IInformationProvider.getInformation(ITextViewer textViewer, IRegion subject)
          Deprecated. As of 2.1, replaced by IInformationProviderExtension.getInformation2(ITextViewer, IRegion)
 

Uses of ITextViewer in org.eclipse.jface.text.presentation
 

Methods in org.eclipse.jface.text.presentation with parameters of type ITextViewer
 void PresentationReconciler.install(ITextViewer viewer)
           
 void IPresentationReconciler.install(ITextViewer viewer)
          Installs this presentation reconciler on the given text viewer.
 

Uses of ITextViewer in org.eclipse.jface.text.reconciler
 

Methods in org.eclipse.jface.text.reconciler that return ITextViewer
protected  ITextViewer AbstractReconciler.getTextViewer()
          Returns the text viewer this reconciler is installed on.
 

Methods in org.eclipse.jface.text.reconciler with parameters of type ITextViewer
 void IReconciler.install(ITextViewer textViewer)
          Installs the reconciler on the given text viewer.
 void AbstractReconciler.install(ITextViewer textViewer)
           
 

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

Subinterfaces of ITextViewer in org.eclipse.jface.text.source
 interface ISourceViewer
          In addition to the text viewer functionality a source viewer supports: visual annotations based on an annotation model visual range indication management of text viewer add-ons explicit configuration It is assumed that range indication and visual annotations are shown inside the same presentation area.
 

Classes in org.eclipse.jface.text.source that implement ITextViewer
 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 ITextViewer
protected  ITextViewer AnnotationRulerColumn.getCachedTextViewer()
          Returns the cached text viewer.
 ITextViewer CompositeRuler.getTextViewer()
          Returns this ruler's text viewer.
 

Methods in org.eclipse.jface.text.source with parameters of type ITextViewer
 void ProjectionAnnotation.run(ITextViewer viewer)
          Toogles the state of this annotation and updates the given viewer accordingly.
 Control VerticalRuler.createControl(Composite parent, ITextViewer textViewer)
           
protected static int VerticalRuler.widgetLine2ModelLine(ITextViewer viewer, int widgetLine)
          Returns the line of the viewer's document that corresponds to the given widget line.
 Control CompositeRuler.createControl(Composite parent, ITextViewer textViewer)
           
protected static int CompositeRuler.widgetLine2ModelLine(ITextViewer viewer, int widgetLine)
          Returns the line in the given viewer's document that correspond to the given line of the viewer's widget.
 Control IVerticalRuler.createControl(Composite parent, ITextViewer textViewer)
          Creates the ruler's SWT control.
 Control OverviewRuler.createControl(Composite parent, ITextViewer textViewer)
           
 

Uses of ITextViewer in org.eclipse.ui.texteditor
 

Methods in org.eclipse.ui.texteditor with parameters of type ITextViewer
protected static boolean MarkRegionTarget.isVisible(ITextViewer viewer, int offset)
          Tells whether the given offset is visible in the given text viewer.
 

Constructors in org.eclipse.ui.texteditor with parameters of type ITextViewer
MarkRegionTarget(ITextViewer viewer, IStatusLineManager manager)
          Creates a MarkRegionTaret.
 


Eclipse Platform
2.1

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