Overview

 
Package  Use  Tree  Deprecated  Index  Help 
Eclipse Platform
Release 3.0
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD


 

org.eclipse.jface.viewers
Class DoubleClickEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.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


Field Summary
protected  ISelection selection
          The selection.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DoubleClickEvent(Viewer source, ISelection selection)
          Creates a new event for the given source and selection.
 
Method Summary
 ISelection getSelection()
          Returns the selection.
 Viewer getViewer()
          Returns the viewer that is the source of this event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

 

Field Detail

 

 

selection

protected ISelection selection

The selection.

Constructor Detail

 

 

DoubleClickEvent

public DoubleClickEvent(Viewer source,
                        ISelection selection)

Creates a new event for the given source and selection.

Parameters:
source - the viewer
selection - the selection
Method Detail

 

 

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


 

Overview

 
Package  Use  Tree  Deprecated  Index  Help 
Eclipse Platform
Release 3.0
 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, 2004. All rights reserved.