Package org.eclipse.jface.text.source
Interface ISourceViewerExtension3
- All Known Implementing Classes:
ProjectionViewer,SourceViewer,TextConsoleViewer
public interface ISourceViewerExtension3
Extension interface for
ISourceViewer.It introduces the concept of a quick assist assistant and provides access to the quick assist invocation context. It also gives access to any currently showing annotation hover.
- Since:
- 3.2
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the currently displayed annotation hover if any,nullotherwise.Returns this viewers quick assist assistant.Returns this viewer's quick assist invocation context.
-
Method Details
-
getQuickAssistAssistant
IQuickAssistAssistant getQuickAssistAssistant()Returns this viewers quick assist assistant.- Returns:
- the quick assist assistant or
nullif none is configured - Since:
- 3.2
-
getQuickAssistInvocationContext
IQuickAssistInvocationContext getQuickAssistInvocationContext()Returns this viewer's quick assist invocation context.- Returns:
- the quick assist invocation context or
nullif none is available
-
getCurrentAnnotationHover
IAnnotationHover getCurrentAnnotationHover()Returns the currently displayed annotation hover if any,nullotherwise.- Returns:
- the currently displayed annotation hover or
null
-