org.eclipse.jface.viewers
Class SelectionChangedEvent
java.lang.Object
|
+--java.util.EventObject
|
+--org.eclipse.jface.viewers.SelectionChangedEvent
- All Implemented Interfaces:
- Serializable
- public class SelectionChangedEvent
- extends EventObject
Event object describing a selection change. The source of these
events is a selection provider.
- See Also:
ISelection
,
ISelectionProvider
,
ISelectionChangedListener
, Serialized Form
selection
protected ISelection selection
- The selection.
SelectionChangedEvent
public SelectionChangedEvent(ISelectionProvider source,
ISelection selection)
- Creates a new event for the given source and selection.
- Parameters:
source
- the selection providerselection
- the selection
getSelection
public ISelection getSelection()
- Returns the selection.
- Returns:
- the selection
getSelectionProvider
public ISelectionProvider getSelectionProvider()
- Returns the selection provider that is the source of this event.
- Returns:
- the originating selection provider
Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.