Package org.eclipse.ui.texteditor
Class AbstractTextEditor.AbstractSelectionChangedListener
java.lang.Object
org.eclipse.ui.texteditor.AbstractTextEditor.AbstractSelectionChangedListener
- All Implemented Interfaces:
ISelectionChangedListener
- Enclosing class:
- AbstractTextEditor
protected abstract class AbstractTextEditor.AbstractSelectionChangedListener
extends Object
implements ISelectionChangedListener
Internal implementation class for a change listener.
- Since:
- 3.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
install
(ISelectionProvider selectionProvider) Installs this selection changed listener with the given selection provider.void
uninstall
(ISelectionProvider selectionProvider) Removes this selection changed listener from the given selection provider.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.jface.viewers.ISelectionChangedListener
selectionChanged
-
Constructor Details
-
AbstractSelectionChangedListener
protected AbstractSelectionChangedListener()
-
-
Method Details
-
install
Installs this selection changed listener with the given selection provider. If the selection provider is a post selection provider, post selection changed events are the preferred choice, otherwise normal selection changed events are requested.- Parameters:
selectionProvider
- the selection provider
-
uninstall
Removes this selection changed listener from the given selection provider.- Parameters:
selectionProvider
- the selection provider
-