public interface ITextViewerExtension8
ITextViewer
. Adds the
ability to print and set how hovers should be enriched when the mouse is moved into them.Modifier and Type | Interface and Description |
---|---|
static class |
ITextViewerExtension8.EnrichMode
Type-safe enum of the available enrich modes.
|
Modifier and Type | Method and Description |
---|---|
void |
print(StyledTextPrintOptions options)
Print the text viewer contents using the given options.
|
void |
setHoverEnrichMode(ITextViewerExtension8.EnrichMode mode)
Sets the hover enrich mode.
|
void print(StyledTextPrintOptions options)
options
- the print optionsvoid setHoverEnrichMode(ITextViewerExtension8.EnrichMode mode)
null
mode
defines when hovers
should be enriched once the mouse is moved into them.
If mode
is null
, hovers are automatically closed
when the mouse is moved out of the hover region
.
Note that a hover can only be enriched if its IInformationControlExtension5.getInformationPresenterControlCreator()
is not null
.
mode
- the enrich mode, or null
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.