Package org.eclipse.jface.viewers
Interface IPostSelectionProvider
- All Superinterfaces:
ISelectionProvider
- All Known Implementing Classes:
AbstractListViewer,AbstractTableViewer,AbstractTextEditor.SelectionProvider,AbstractTreeViewer,CheckboxTableViewer,CheckboxTreeViewer,ColumnViewer,ComboViewer,CommonViewer,CompareEditorSelectionProvider,ContainerCheckedTreeViewer,DiffTreeViewer,ListViewer,MultiPageSelectionProvider,PageBookView.SelectionProvider,ProjectionViewer,SourceViewer,StructureDiffViewer,StructuredViewer,TableViewer,TextConsoleViewer,TextViewer,TreeViewer
Selection provider extension interface to allow providers
to notify about post selection changed events.
A post selection changed event is equivalent to selection changed event
if the selection change was triggered by the mouse, but it has a delay
if the selection change is triggered by keyboard navigation.
- Since:
- 3.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a listener for post selection changes in this selection provider.voidRemoves the given listener for post selection changes from this selection provider.Methods inherited from interface org.eclipse.jface.viewers.ISelectionProvider
addSelectionChangedListener, getSelection, removeSelectionChangedListener, setSelection
-
Method Details
-
addPostSelectionChangedListener
Adds a listener for post selection changes in this selection provider. Has no effect if an identical listener is already registered.- Parameters:
listener- a selection changed listener
-
removePostSelectionChangedListener
Removes the given listener for post selection changes from this selection provider. Has no effect if an identical listener is not registered.- Parameters:
listener- a selection changed listener
-