Package org.eclipse.ui.part
Class PageBookView.SelectionProvider
java.lang.Object
org.eclipse.ui.part.PageBookView.SelectionProvider
- All Implemented Interfaces:
- IPostSelectionProvider,- ISelectionProvider
- Enclosing class:
- PageBookView
A selection provider/listener for this view. It is a selection provider for
 this view's site.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidAdds a listener for post selection changes in this selection provider.voidAdds a listener for selection changes in this selection provider.Returns the current selection for this provider.voidThe selection has changed, so notify any post-selection listeners.voidRemoves the given listener for post selection changes from this selection provider.voidRemoves the given selection change listener from this selection provider.voidThe selection has changed.voidsetSelection(ISelection selection) Sets the current selection for this selection provider.
- 
Constructor Details- 
SelectionProviderprotected SelectionProvider()
 
- 
- 
Method Details- 
addSelectionChangedListenerDescription copied from interface:ISelectionProviderAdds a listener for selection changes in this selection provider. Has no effect if an identical listener is already registered.- Specified by:
- addSelectionChangedListenerin interface- ISelectionProvider
- Parameters:
- listener- a selection changed listener
 
- 
getSelectionDescription copied from interface:ISelectionProviderReturns the current selection for this provider.- Specified by:
- getSelectionin interface- ISelectionProvider
- Returns:
- the current selection
 
- 
removeSelectionChangedListenerDescription copied from interface:ISelectionProviderRemoves the given selection change listener from this selection provider. Has no effect if an identical listener is not registered.- Specified by:
- removeSelectionChangedListenerin interface- ISelectionProvider
- Parameters:
- listener- a selection changed listener
 
- 
selectionChangedThe selection has changed. Process the event, notifying selection listeners and post selection listeners.- Parameters:
- event- the change
 
- 
postSelectionChangedThe selection has changed, so notify any post-selection listeners.- Parameters:
- event- the change
 
- 
setSelectionDescription copied from interface:ISelectionProviderSets the current selection for this selection provider.- Specified by:
- setSelectionin interface- ISelectionProvider
- Parameters:
- selection- the new selection
 
- 
addPostSelectionChangedListenerDescription copied from interface:IPostSelectionProviderAdds a listener for post selection changes in this selection provider. Has no effect if an identical listener is already registered.- Specified by:
- addPostSelectionChangedListenerin interface- IPostSelectionProvider
- Parameters:
- listener- a selection changed listener
 
- 
removePostSelectionChangedListenerDescription copied from interface:IPostSelectionProviderRemoves the given listener for post selection changes from this selection provider. Has no effect if an identical listener is not registered.- Specified by:
- removePostSelectionChangedListenerin interface- IPostSelectionProvider
- Parameters:
- listener- a selection changed listener
 
 
-