Uses of Interface
org.eclipse.jface.text.ITextViewer
Packages that use ITextViewer
Package
Description
Support for compare and merge viewers which show the
content side-by-side.
Provides a content assist add-on for implementors of
IContentAssistSubjectControl.Provides a framework for creating and manipulating text documents.
Provides a content assist add-on for an
ITextViewer.Provides support for detecting and displaying hyperlinks in
ISourceViewers.Provides an information provider add-on for an
ITextViewer.Application programming interfaces for interaction
with the Eclipse text editor's linked position support.
Provides a presentation reconciler add-on for an
ITextViewer.Provides a reconciler add-on for an
ITextViewer.Provides a framework for connecting document regions
with annotations and for displaying those.
This package provides the UI part for projection documents of which the most important part is the projection viewer.
Application programming interfaces for interaction
with the Eclipse text template support.
Application programming interfaces for interaction
with the Eclipse console.
Application programming interfaces for Eclipse console specific
actions.
Provides a framework for text editors obeying to the
desktop rules.
Adds a
LinkedModeUI subclass that is aware of workbench editors.-
Uses of ITextViewer in org.eclipse.compare.contentmergeviewer
Methods in org.eclipse.compare.contentmergeviewer with parameters of type ITextViewerModifier and TypeMethodDescriptionprotected booleanTextMergeViewer.isEditorBacked(ITextViewer textViewer) Tells whether the given text viewer is backed by an editor. -
Uses of ITextViewer in org.eclipse.jface.contentassist
Methods in org.eclipse.jface.contentassist with parameters of type ITextViewerModifier and TypeMethodDescriptionvoidSubjectControlContextInformationValidator.install(IContextInformation contextInformation, ITextViewer viewer, int offset) Deprecated. -
Uses of ITextViewer in org.eclipse.jface.text
Classes in org.eclipse.jface.text that implement ITextViewerModifier and TypeClassDescriptionclassSWT based implementation ofITextViewerand its extension interfaces.Methods in org.eclipse.jface.text with parameters of type ITextViewerModifier and TypeMethodDescriptionstatic RectangleJFaceTextUtil.computeArea(IRegion region, ITextViewer textViewer) Determines the graphical area covered by the given text region in the given viewer.voidDefaultUndoManager.connect(ITextViewer textViewer) Deprecated, for removal: This API element is subject to removal in a future version.voidIUndoManager.connect(ITextViewer viewer) Connects this undo manager to the given text viewer.voidTextViewerUndoManager.connect(ITextViewer textViewer) voidDefaultTextDoubleClickStrategy.doubleClicked(ITextViewer text) voidITextDoubleClickStrategy.doubleClicked(ITextViewer viewer) The mouse has been double clicked on the given text viewer.static IRegion[]JFaceTextUtil.getCoveredRanges(ITextViewer viewer, ITextSelection selection) Returns the text regions covered by the given selection in the given viewer.DefaultTextHover.getHoverInfo(ITextViewer textViewer, IRegion hoverRegion) Deprecated.ITextHover.getHoverInfo(ITextViewer textViewer, IRegion hoverRegion) Deprecated.As of 3.4, replaced byITextHoverExtension2.getHoverInfo2(ITextViewer, IRegion)ITextHoverExtension2.getHoverInfo2(ITextViewer textViewer, IRegion hoverRegion) Returns the information which should be presented when a hover popup is shown for the specified hover region.DefaultTextHover.getHoverRegion(ITextViewer textViewer, int offset) 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.static intJFaceTextUtil.getOffsetForCursorLocation(ITextViewer viewer) Returns the offset in the given viewer that corresponds to the current cursor location.static intJFaceTextUtil.getPartialBottomIndex(ITextViewer viewer) Returns the last, possibly partially, visible line in the view port.static intJFaceTextUtil.getPartialTopIndex(ITextViewer viewer) Returns the line index of the first visible model line in the viewer.static ILineRangeJFaceTextUtil.getVisibleModelLines(ITextViewer viewer) Returns the range of lines that is visible in the viewer, including any partially visible lines.voidITextViewerLifecycle.install(ITextViewer textViewer) Installs a text viewer.static booleanJFaceTextUtil.isEmpty(ITextViewer viewer, ITextSelection selection) Returnstrueif the text covered byselectiondoes not contain any characters in the given viewer.static intJFaceTextUtil.modelLineToWidgetLine(ITextViewer viewer, int modelLine) Converts a model (i.e.static intJFaceTextUtil.widgetLine2ModelLine(ITextViewer viewer, int widgetLine) Converts a widget line into a model (i.e.Constructors in org.eclipse.jface.text with parameters of type ITextViewerModifierConstructorDescriptionCursorLinePainter(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.WhitespaceCharacterPainter(ITextViewer textViewer) Creates a new painter for the given text viewer.WhitespaceCharacterPainter(ITextViewer viewer, boolean showLeadingSpaces, boolean showEnclosedSpaces, boolean showTrailingSpaces, boolean showLeadingIdeographicSpaces, boolean showEnclosedIdeographicSpaces, boolean showTrailingIdeographicSpace, boolean showLeadingTabs, boolean showEnclosedTabs, boolean showTrailingTabs, boolean showCarriageReturn, boolean showLineFeed, int alpha) Creates a new painter for the given text viewer and the painter options. -
Uses of ITextViewer in org.eclipse.jface.text.codemining
Methods in org.eclipse.jface.text.codemining with parameters of type ITextViewerModifier and TypeMethodDescriptionprotected CompletableFuture<Void> AbstractCodeMining.doResolve(ITextViewer viewer, IProgressMonitor monitor) Returns the future which resolved the content of mining and null otherwise.voidCodeMiningReconciler.install(ITextViewer textViewer) CompletableFuture<List<? extends ICodeMining>> ICodeMiningProvider.provideCodeMinings(ITextViewer viewer, IProgressMonitor monitor) Compute a list of code miningsICodeMining.final CompletableFuture<Void> AbstractCodeMining.resolve(ITextViewer viewer, IProgressMonitor monitor) ICodeMining.resolve(ITextViewer viewer, IProgressMonitor monitor) Returns the future to resolve the content of mining, orCompletableFuture.completedFuture(Object)if no such resolution is necessary (in which case {#isResolved()} is expected to returntrue). -
Uses of ITextViewer in org.eclipse.jface.text.contentassist
Methods in org.eclipse.jface.text.contentassist with parameters of type ITextViewerModifier and TypeMethodDescriptionvoidICompletionProposalExtension2.apply(ITextViewer viewer, char trigger, int stateMask, int offset) Applies the proposed completion to the given document.IContentAssistProcessor.computeCompletionProposals(ITextViewer viewer, int offset) 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.IContentAssistProcessor.computeContextInformation(ITextViewer viewer, int offset) Returns information about possible contexts based on the specified location within the document that corresponds to the current cursor position within the text viewer.voidContentAssistant.install(ITextViewer textViewer) voidContextInformationValidator.install(IContextInformation contextInformation, ITextViewer viewer, int offset) voidIContentAssistant.install(ITextViewer textViewer) Installs content assist support on the given text viewer.voidIContextInformationPresenter.install(IContextInformation info, ITextViewer viewer, int offset) Installs this presenter for the given context information.voidIContextInformationValidator.install(IContextInformation info, ITextViewer viewer, int offset) Installs this validator for the given context information.booleanIContentAssistProcessorExtension.isCompletionProposalAutoActivation(char c, ITextViewer viewer, int offset) Check if the given event should trigger an automatic completion proposal activationbooleanIContentAssistProcessorExtension.isContextInformationAutoActivation(char c, ITextViewer viewer, int offset) Check if the given event should trigger an automatic context info activationvoidICompletionProposalExtension2.selected(ITextViewer viewer, boolean smartToggle) Called when the proposal is selected.voidICompletionProposalExtension2.unselected(ITextViewer viewer) Called when the proposal is unselected. -
Uses of ITextViewer in org.eclipse.jface.text.hyperlink
Methods in org.eclipse.jface.text.hyperlink with parameters of type ITextViewerModifier and TypeMethodDescriptionIHyperlinkDetector.detectHyperlinks(ITextViewer textViewer, IRegion region, boolean canShowMultipleHyperlinks) Tries to detect hyperlinks for the given region in the given text viewer and returns them.URLHyperlinkDetector.detectHyperlinks(ITextViewer textViewer, IRegion region, boolean canShowMultipleHyperlinks) voidDefaultHyperlinkPresenter.install(ITextViewer textViewer) voidHyperlinkManager.install(ITextViewer textViewer, IHyperlinkPresenter hyperlinkPresenter, IHyperlinkDetector[] hyperlinkDetectors, int eventStateMask) Installs this hyperlink manager with the given arguments.voidIHyperlinkPresenter.install(ITextViewer textViewer) Installs this hyperlink presenter on the given text viewer.voidMultipleHyperlinkPresenter.install(ITextViewer viewer) Constructors in org.eclipse.jface.text.hyperlink with parameters of type ITextViewerModifierConstructorDescriptionURLHyperlinkDetector(ITextViewer textViewer) Deprecated.As of 3.2, replaced byURLHyperlinkDetector -
Uses of ITextViewer in org.eclipse.jface.text.information
Methods in org.eclipse.jface.text.information with parameters of type ITextViewerModifier and TypeMethodDescriptionIInformationProvider.getInformation(ITextViewer textViewer, IRegion subject) Deprecated.As of 2.1, replaced byIInformationProviderExtension.getInformation2(ITextViewer, IRegion)IInformationProviderExtension.getInformation2(ITextViewer textViewer, IRegion subject) Returns the element for the given subject ornullif no element is available.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.voidIInformationPresenter.install(ITextViewer textViewer) Installs the information presenter on the given text viewer.voidInformationPresenter.install(ITextViewer textViewer) -
Uses of ITextViewer in org.eclipse.jface.text.link
Methods in org.eclipse.jface.text.link that return ITextViewerModifier and TypeMethodDescriptionabstract ITextViewerLinkedModeUI.LinkedModeUITarget.getViewer()Returns the viewer represented by this target, nevernull.Methods in org.eclipse.jface.text.link with parameters of type ITextViewerModifier and TypeMethodDescriptionvoidLinkedModeUI.setExitPosition(ITextViewer viewer, int offset, int length, int sequence) Sets the exit position to move the caret to when linked mode is exited.Constructors in org.eclipse.jface.text.link with parameters of type ITextViewerModifierConstructorDescriptionLinkedModeUI(LinkedModeModel model, ITextViewer viewer) Convenience constructor for just one viewer.LinkedModeUI(LinkedModeModel model, ITextViewer[] viewers) Convenience constructor for multiple viewers. -
Uses of ITextViewer in org.eclipse.jface.text.presentation
Methods in org.eclipse.jface.text.presentation with parameters of type ITextViewerModifier and TypeMethodDescriptionvoidIPresentationReconciler.install(ITextViewer viewer) Installs this presentation reconciler on the given text viewer.voidPresentationReconciler.install(ITextViewer viewer) -
Uses of ITextViewer in org.eclipse.jface.text.reconciler
Methods in org.eclipse.jface.text.reconciler that return ITextViewerModifier and TypeMethodDescriptionprotected ITextViewerAbstractReconciler.getTextViewer()Returns the text viewer this reconciler is installed on.Methods in org.eclipse.jface.text.reconciler with parameters of type ITextViewerModifier and TypeMethodDescriptionvoidAbstractReconciler.install(ITextViewer textViewer) voidIReconciler.install(ITextViewer textViewer) Installs the reconciler on the given text viewer.voidMonoReconciler.install(ITextViewer textViewer) voidReconciler.install(ITextViewer textViewer) -
Uses of ITextViewer in org.eclipse.jface.text.source
Subinterfaces of ITextViewer in org.eclipse.jface.text.sourceModifier and TypeInterfaceDescriptioninterfaceIn 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 ITextViewerModifier and TypeClassDescriptionclassSWT based implementation ofISourceViewerand its extension interfaces.Methods in org.eclipse.jface.text.source that return ITextViewerModifier and TypeMethodDescriptionprotected ITextViewerAnnotationRulerColumn.getCachedTextViewer()Returns the cached text viewer.CompositeRuler.getTextViewer()Returns this ruler's text viewer.Methods in org.eclipse.jface.text.source with parameters of type ITextViewerModifier and TypeMethodDescriptionCompositeRuler.createControl(Composite parent, ITextViewer textViewer) IVerticalRuler.createControl(Composite parent, ITextViewer textViewer) Creates the ruler's SWT control.OverviewRuler.createControl(Composite parent, ITextViewer textViewer) VerticalRuler.createControl(Composite parent, ITextViewer textViewer) protected static final intCompositeRuler.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.protected static final intVerticalRuler.widgetLine2ModelLine(ITextViewer viewer, int widgetLine) Returns the line of the viewer's document that corresponds to the given widget line. -
Uses of ITextViewer in org.eclipse.jface.text.source.projection
Classes in org.eclipse.jface.text.source.projection that implement ITextViewerModifier and TypeClassDescriptionclassA projection source viewer is a source viewer which supports multiple visible regions which can dynamically be changed. -
Uses of ITextViewer in org.eclipse.jface.text.templates
Methods in org.eclipse.jface.text.templates with parameters of type ITextViewerModifier and TypeMethodDescriptionvoidTemplateProposal.apply(ITextViewer viewer, char trigger, int stateMask, int offset) Inserts the template offered by this proposal into the viewer's document and sets up aLinkedModeUIon the viewer to edit any of the template's unresolved variables.TemplateCompletionProcessor.computeCompletionProposals(ITextViewer viewer, int offset) TemplateCompletionProcessor.computeContextInformation(ITextViewer viewer, int documentOffset) protected TemplateContextTemplateCompletionProcessor.createContext(ITextViewer viewer, IRegion region) Creates a concrete template context for the given region in the document.protected StringTemplateCompletionProcessor.extractPrefix(ITextViewer viewer, int offset) Heuristically extracts the prefix used for determining template relevance from the viewer's document.protected abstract TemplateContextTypeTemplateCompletionProcessor.getContextType(ITextViewer viewer, IRegion region) Returns the context type that can handle template insertion at the given region in the viewer's document.voidTemplateProposal.selected(ITextViewer viewer, boolean smartToggle) voidTemplateProposal.unselected(ITextViewer viewer) -
Uses of ITextViewer in org.eclipse.ui.console
Classes in org.eclipse.ui.console that implement ITextViewerModifier and TypeClassDescriptionclassDefault viewer used to display aTextConsole. -
Uses of ITextViewer in org.eclipse.ui.console.actions
Fields in org.eclipse.ui.console.actions declared as ITextViewerConstructors in org.eclipse.ui.console.actions with parameters of type ITextViewerModifierConstructorDescriptionClearOutputAction(ITextViewer viewer) Constructs an action to clear the document associated with a text viewer.TextViewerAction(ITextViewer viewer, int operationCode) Constructs a new action in the given text viewer with the specified operation code.TextViewerGotoLineAction(ITextViewer viewer) Constructs a goto line action for the viewer using the provided resource bundle. -
Uses of ITextViewer in org.eclipse.ui.texteditor
Methods in org.eclipse.ui.texteditor with parameters of type ITextViewerModifier and TypeMethodDescriptionHippieProposalProcessor.computeCompletionProposals(ITextViewer viewer, int offset) HippieProposalProcessor.computeContextInformation(ITextViewer viewer, int offset) protected static final booleanMarkRegionTarget.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 ITextViewerModifierConstructorDescriptionMarkRegionTarget(ITextViewer viewer, IStatusLineManager manager) Creates a MarkRegionTaret.MoveLinesAction(ResourceBundle bundle, String prefix, ITextEditor editor, ITextViewer textViewer, boolean upwards, boolean copy) Creates and initializes the action for the given text editor.Creates a new target. -
Uses of ITextViewer in org.eclipse.ui.texteditor.link
Constructors in org.eclipse.ui.texteditor.link with parameters of type ITextViewerModifierConstructorDescriptionEditorLinkedModeUI(LinkedModeModel model, ITextViewer viewer) EditorLinkedModeUI(LinkedModeModel model, ITextViewer[] viewers)
ITextHoverExtension2.getHoverInfo2(ITextViewer, IRegion)