Package org.eclipse.ui.texteditor
Interface ITextEditorExtension4
-
- All Known Implementing Classes:
AbstractDecoratedTextEditor
,AbstractTextEditor
,StatusTextEditor
,TextEditor
public interface ITextEditorExtension4
Extension interface forITextEditor
. Adds the following functions:- annotation navigation
- revision information display
This interface may be implemented by clients.
- Since:
- 3.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Annotation
gotoAnnotation(boolean forward)
Jumps to the next annotation according to the given direction.void
showRevisionInformation(RevisionInformation info, String quickDiffProviderId)
Shows revision information in this editor.
-
-
-
Method Detail
-
gotoAnnotation
Annotation gotoAnnotation(boolean forward)
Jumps to the next annotation according to the given direction.- Parameters:
forward
-true
if search direction is forward,false
if backward- Returns:
- the selected annotation or
null
if none
-
showRevisionInformation
void showRevisionInformation(RevisionInformation info, String quickDiffProviderId)
Shows revision information in this editor.- Parameters:
info
- the revision information to displayquickDiffProviderId
- the quick diff provider that matches the source of the revision information
-
-