Package org.eclipse.jface.text
Interface ITextViewerLifecycle
- All Known Subinterfaces:
IContentAssistant
,IHyperlinkPresenter
,IInformationPresenter
,IPresentationReconciler
,IReconciler
,ISubjectControlContentAssistant
- All Known Implementing Classes:
AbstractReconciler
,CodeMiningReconciler
,ContentAssistant
,DefaultHyperlinkPresenter
,InformationPresenter
,MonoReconciler
,MultipleHyperlinkPresenter
,PresentationReconciler
,Reconciler
,SubjectControlContentAssistant
public interface ITextViewerLifecycle
ITextViewer
lifecycle API to track install / uninstall of a given ITextViewer
for
the given contribution which extends ITextViewerLifecycle
:
IReconciler
IPresentationReconciler
IHyperlinkPresenter
DefaultInformationControl.IInformationPresenter
IContentAssistant
ITextViewerLifecycle
to track install / uninstall of a
given ITextViewer
for implementation of:
- Since:
- 3.23
-
Method Summary
Modifier and TypeMethodDescriptionvoid
install
(ITextViewer textViewer) Installs a text viewer.void
Uninstalls the registered text viewer.
-
Method Details
-
install
Installs a text viewer. This method is called whenISourceViewer.configure(org.eclipse.jface.text.source.SourceViewerConfiguration)
is called.- Parameters:
textViewer
- the text viewer
-
uninstall
void uninstall()Uninstalls the registered text viewer. This method is called whenISourceViewerExtension2.unconfigure()
is called.
-