java.lang .Object org.eclipse.jface.internal.text.revisions .RevisionSelectionProvider RevisionSelectionProvider final public class RevisionSelectionProvider implements ISelectionProvider (Code) A selection provider for annotate revisions. Selections of a revision can currently happen in
following ways - note that this list may be changed in the future:
when the user clicks the revision ruler with the mouse
when the caret is moved to a revision's line (only on post-selection)
Calling
RevisionSelectionProvider.setSelection(ISelection) will set the current sticky revision on the ruler.
since: 3.2
RevisionSelectionProvider RevisionSelectionProvider(RevisionPainter painter) (Code) Creates a new selection provider.
Parameters: painter - the painter that the created provider interacts with
install void install(ITextViewer viewer) (Code) Installs the selection provider on the viewer.
Parameters: viewer - the viewer on which we listen to for post selection events
revisionSelected void revisionSelected(Revision revision) (Code) Private protocol used by
RevisionPainter to signal selection of a revision.
Parameters: revision - the selected revision, or null
for none
uninstall void uninstall() (Code) Uninstalls the selection provider.