Package org.eclipse.jface.text
Interface ITextViewerExtension8
- All Known Implementing Classes:
- ProjectionViewer,- SourceViewer,- TextConsoleViewer,- TextViewer
public interface ITextViewerExtension8
Extension interface for 
ITextViewer. Adds the
 ability to print and set how hovers should be enriched when the mouse is moved into them.- Since:
- 3.4
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classType-safe enum of the available enrich modes.
- 
Method SummaryModifier and TypeMethodDescriptionvoidprint(StyledTextPrintOptions options) Print the text viewer contents using the given options.voidSets the hover enrich mode.
- 
Method Details- 
printPrint the text viewer contents using the given options.- Parameters:
- options- the print options
 
- 
setHoverEnrichModeSets the hover enrich mode. A non-nullmodedefines when hovers should be enriched once the mouse is moved into them. Ifmodeisnull, hovers are automatically closed when the mouse is moved out of thehover region.Note that a hover can only be enriched if its IInformationControlExtension5.getInformationPresenterControlCreator()is notnull.- Parameters:
- mode- the enrich mode, or- null
 
 
-