Package | Description |
---|---|
org.eclipse.compare.contentmergeviewer |
Support for compare and merge viewers which show the
content side-by-side.
|
org.eclipse.jface.text |
Provides a framework for creating and manipulating text documents.
|
org.eclipse.jface.text.quickassist |
This package provides the quick assist assistant add-on for an ISourceViewer.
|
org.eclipse.jface.text.source |
Provides a framework for connecting document regions
with annotations and for displaying those.
|
org.eclipse.jface.text.source.projection |
This package provides the UI part for projection documents of which the most important part is the projection viewer.
|
org.eclipse.ui.console |
Application programming interfaces for interaction
with the Eclipse console.
|
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.
|
org.eclipse.ui.texteditor.spelling |
Partial infrastructure for spell checking in text editors.
|
org.eclipse.ui.texteditor.templates |
Application programming interfaces for interaction
with the Eclipse text editor template support.
|
Modifier and Type | Method and Description |
---|---|
protected IEditorInput |
TextMergeViewer.getEditorInput(ISourceViewer sourceViewer)
Returns an editor input for the given source viewer.
|
protected void |
TextMergeViewer.setEditable(ISourceViewer sourceViewer,
boolean state)
Sets the editable state of the given source viewer.
|
Constructor and Description |
---|
DefaultTextHover(ISourceViewer sourceViewer)
Creates a new annotation hover.
|
Modifier and Type | Method and Description |
---|---|
ISourceViewer |
IQuickAssistInvocationContext.getSourceViewer()
Returns the viewer for this context.
|
Modifier and Type | Method and Description |
---|---|
void |
QuickAssistAssistant.install(ISourceViewer sourceViewer) |
void |
IQuickAssistAssistant.install(ISourceViewer sourceViewer)
Installs quick assist support on the given source viewer.
|
Modifier and Type | Class and Description |
---|---|
class |
SourceViewer
SWT based implementation of
ISourceViewer and its extension
interfaces. |
Modifier and Type | Method and Description |
---|---|
protected ISourceViewer |
AnnotationBarHoverManager.getSourceViewer()
Returns the source viewer for this hover manager.
|
ISourceViewer |
TextInvocationContext.getSourceViewer() |
Modifier and Type | Method and Description |
---|---|
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 . |
protected IAnnotationModel |
AnnotationPainter.findAnnotationModel(ISourceViewer sourceViewer)
Retrieves the annotation model from the given source viewer.
|
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.
|
IAutoEditStrategy[] |
SourceViewerConfiguration.getAutoEditStrategies(ISourceViewer sourceViewer,
String contentType)
Returns the auto edit strategies ready to be used with the given source viewer
when manipulating text of the given content type.
|
IAutoIndentStrategy |
SourceViewerConfiguration.getAutoIndentStrategy(ISourceViewer sourceViewer,
String contentType)
Deprecated.
since 3.1 use
SourceViewerConfiguration.getAutoEditStrategies(ISourceViewer, String) instead |
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.
|
int[] |
SourceViewerConfiguration.getConfiguredTextHoverStateMasks(ISourceViewer sourceViewer,
String contentType)
Returns the SWT event state masks for which text hover are configured for
the given content type.
|
IContentAssistant |
SourceViewerConfiguration.getContentAssistant(ISourceViewer sourceViewer)
Returns the content assistant 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.
|
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.
|
Object |
LineChangeHover.getHoverInfo(ISourceViewer sourceViewer,
ILineRange lineRange,
int visibleLines) |
Object |
IAnnotationHoverExtension.getHoverInfo(ISourceViewer sourceViewer,
ILineRange lineRange,
int visibleNumberOfLines)
Returns the object which should be presented in the a
hover popup window.
|
String |
LineChangeHover.getHoverInfo(ISourceViewer sourceViewer,
int lineNumber) |
String |
DefaultAnnotationHover.getHoverInfo(ISourceViewer sourceViewer,
int lineNumber) |
String |
IAnnotationHover.getHoverInfo(ISourceViewer sourceViewer,
int lineNumber)
Returns the text which should be presented in the a
hover popup window.
|
ILineRange |
LineChangeHover.getHoverLineRange(ISourceViewer viewer,
int lineNumber) |
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.
|
IHyperlinkDetector[] |
SourceViewerConfiguration.getHyperlinkDetectors(ISourceViewer sourceViewer)
Returns the hyperlink detectors which be used to detect hyperlinks
in the given source viewer.
|
IHyperlinkPresenter |
SourceViewerConfiguration.getHyperlinkPresenter(ISourceViewer sourceViewer)
Returns the hyperlink presenter for the given source viewer.
|
int |
SourceViewerConfiguration.getHyperlinkStateMask(ISourceViewer sourceViewer)
Returns the SWT event state mask which in combination
with the left mouse button activates hyperlinking.
|
String[] |
SourceViewerConfiguration.getIndentPrefixes(ISourceViewer sourceViewer,
String contentType)
Returns the prefixes to be used by the line-shift operation.
|
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.
|
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 . |
IPresentationReconciler |
SourceViewerConfiguration.getPresentationReconciler(ISourceViewer sourceViewer)
Returns the presentation reconciler ready to be used with the given source viewer.
|
IQuickAssistAssistant |
SourceViewerConfiguration.getQuickAssistAssistant(ISourceViewer sourceViewer)
Returns the quick assist assistant ready to be used with the given
source viewer.
|
IReconciler |
SourceViewerConfiguration.getReconciler(ISourceViewer sourceViewer)
Returns the reconciler ready to be used with the given source viewer.
|
int |
SourceViewerConfiguration.getTabWidth(ISourceViewer sourceViewer)
Returns the visual width of the tab character.
|
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.
|
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.
|
IUndoManager |
SourceViewerConfiguration.getUndoManager(ISourceViewer sourceViewer)
Returns the undo manager for the given source viewer.
|
Constructor and Description |
---|
AnnotationBarHoverManager(ISourceViewer sourceViewer,
IVerticalRuler ruler,
IAnnotationHover annotationHover,
IInformationControlCreator creator)
Deprecated.
|
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.
|
TextInvocationContext(ISourceViewer sourceViewer,
int offset,
int length) |
Modifier and Type | Class and Description |
---|---|
class |
ProjectionViewer
A projection source viewer is a source viewer which supports multiple visible
regions which can dynamically be changed.
|
Modifier and Type | Method and Description |
---|---|
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. |
Modifier and Type | Class and Description |
---|---|
class |
TextConsoleViewer
Default viewer used to display a
TextConsole . |
Modifier and Type | Method and Description |
---|---|
IAnnotationHover |
TextSourceViewerConfiguration.getAnnotationHover(ISourceViewer sourceViewer) |
int[] |
TextSourceViewerConfiguration.getConfiguredTextHoverStateMasks(ISourceViewer sourceViewer,
String contentType) |
IHyperlinkDetector[] |
TextSourceViewerConfiguration.getHyperlinkDetectors(ISourceViewer sourceViewer) |
protected Map |
TextSourceViewerConfiguration.getHyperlinkDetectorTargets(ISourceViewer sourceViewer)
Returns the hyperlink detector targets supported by the
given source viewer.
|
IHyperlinkPresenter |
TextSourceViewerConfiguration.getHyperlinkPresenter(ISourceViewer sourceViewer) |
int |
TextSourceViewerConfiguration.getHyperlinkStateMask(ISourceViewer sourceViewer) |
String[] |
TextSourceViewerConfiguration.getIndentPrefixes(ISourceViewer sourceViewer,
String contentType) |
IAnnotationHover |
TextSourceViewerConfiguration.getOverviewRulerAnnotationHover(ISourceViewer sourceViewer) |
IQuickAssistAssistant |
TextSourceViewerConfiguration.getQuickAssistAssistant(ISourceViewer sourceViewer) |
IReconciler |
TextSourceViewerConfiguration.getReconciler(ISourceViewer sourceViewer)
Returns the reconciler ready to be used with the given source viewer.
|
protected IHyperlinkDetector[] |
TextSourceViewerConfiguration.getRegisteredHyperlinkDetectors(ISourceViewer sourceViewer)
Returns the registered hyperlink detectors which are used to detect
hyperlinks in the given source viewer.
|
int |
TextSourceViewerConfiguration.getTabWidth(ISourceViewer sourceViewer) |
ITextHover |
TextSourceViewerConfiguration.getTextHover(ISourceViewer sourceViewer,
String contentType) |
IUndoManager |
TextSourceViewerConfiguration.getUndoManager(ISourceViewer sourceViewer) |
Modifier and Type | Method and Description |
---|---|
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) |
protected ISourceViewer |
AbstractTextEditor.getSourceViewer()
Returns the editor's source viewer.
|
Modifier and Type | Method and Description |
---|---|
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 SourceViewerDecorationSupport |
AbstractDecoratedTextEditor.getSourceViewerDecorationSupport(ISourceViewer viewer)
Returns the source viewer decoration support.
|
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 void |
AbstractTextEditor.installTextDragAndDrop(ISourceViewer viewer)
Installs text drag and drop on the given source viewer.
|
protected static boolean |
AbstractTextEditor.isVisible(ISourceViewer viewer,
int offset,
int length)
Tells whether the given region is visible in the given source viewer.
|
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 void |
AbstractTextEditor.uninstallTextDragAndDrop(ISourceViewer viewer)
Uninstalls text drag and drop from the given source viewer.
|
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. |
Constructor and Description |
---|
SourceViewerDecorationSupport(ISourceViewer sourceViewer,
IOverviewRuler overviewRuler,
IAnnotationAccess annotationAccess,
ISharedTextColors sharedTextColors)
Creates a new decoration support for the given viewer.
|
Modifier and Type | Method and Description |
---|---|
static void |
SpellingProblem.removeAll(ISourceViewer sourceViewer,
String word)
Removes all spelling problems that are reported
for the given
word in the active editor. |
Constructor and Description |
---|
SpellingReconcileStrategy(ISourceViewer viewer,
SpellingService spellingService)
Creates a new comment reconcile strategy.
|
Constructor and Description |
---|
AbstractTemplatesPage(ITextEditor editor,
ISourceViewer viewer)
Creates a new templates page.
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.