Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.jface.viewers
Class SelectionChangedEvent

java.lang.Object
  extended by 

java.util.EventObject
      extended by 
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

Field Summary
protected   ISelection selection
          The selection.
 
Fields inherited from class java.util. EventObject
source
 
Constructor Summary
SelectionChangedEvent ( ISelectionProvider source, ISelection selection)
          Creates a new event for the given source and selection.
 
Method Summary
  ISelection getSelection ()
          Returns the selection.
  ISelectionProvider getSelectionProvider ()
          Returns the selection provider 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

SelectionChangedEvent

public SelectionChangedEvent(
ISelectionProvider source,
                             
ISelection selection)
Creates a new event for the given source and selection.

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

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

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire