org.eclipse.jface.viewers
Class DoubleClickEvent
java.lang.Object
java.util.EventObject
org.eclipse.jface.viewers.DoubleClickEvent
-
All Implemented Interfaces:
-
Serializable
-
public class DoubleClickEvent
- extends
EventObject
Event object describing a double-click. The source of these
events is a viewer.
-
See Also:
-
IDoubleClickListener
,
Serialized Form
selection
protected
ISelection selection
- The selection.
DoubleClickEvent
public DoubleClickEvent(
Viewer source,
ISelection selection)
- Creates a new event for the given source and selection.
-
Parameters:
-
source
- the viewer -
selection
- the selection
getSelection
public
ISelection getSelection()
- Returns the selection.
-
-
Returns:
- the selection
getViewer
public
Viewer getViewer()
- Returns the viewer that is the source of this event.
-
-
Returns:
- the originating viewer
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.