|
Eclipse Platform Release 3.1 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.ui.part.PageBookView.SelectionProvider
A selection provider/listener for this view. It is a selection provider for this view's site.
| Constructor Summary | |
|---|---|
protected |
PageBookView.SelectionProvider()
|
| Method Summary | |
|---|---|
void |
addSelectionChangedListener(ISelectionChangedListener listener)
Adds a listener for selection changes in this selection provider. |
ISelection |
getSelection()
Returns the current selection for this provider. |
void |
removeSelectionChangedListener(ISelectionChangedListener listener)
Removes the given selection change listener from this selection provider. |
void |
selectionChanged(SelectionChangedEvent event)
The selection has changed. |
void |
setSelection(ISelection selection)
Sets the current selection for this selection provider. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected PageBookView.SelectionProvider()
| Method Detail |
public void addSelectionChangedListener(ISelectionChangedListener listener)
ISelectionProvider
addSelectionChangedListener in interface ISelectionProviderlistener - a selection changed listenerpublic ISelection getSelection()
ISelectionProvider
getSelection in interface ISelectionProviderpublic void removeSelectionChangedListener(ISelectionChangedListener listener)
ISelectionProvider
removeSelectionChangedListener in interface ISelectionProviderlistener - a selection changed listenerpublic void selectionChanged(SelectionChangedEvent event)
event - public void setSelection(ISelection selection)
ISelectionProvider
setSelection in interface ISelectionProviderselection - the new selection
|
Eclipse Platform Release 3.1 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.