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.ui
Interface ISelectionListener

All Superinterfaces:
EventListener
All Known Subinterfaces:
INullSelectionListener, IPropertySheetPage
All Known Implementing Classes:
PropertySheet, PropertySheetPage, TabbedPropertySheetPage

public interface ISelectionListener
extends EventListener

Interface for listening to selection changes.

This interface may be implemented by clients.

See Also:
ISelectionService.addSelectionListener(ISelectionListener), ISelectionService.addSelectionListener(String, ISelectionListener), INullSelectionListener

Method Summary
 void selectionChanged ( IWorkbenchPart part, ISelection selection)
          Notifies this listener that the selection has changed.
 

Method Detail

selectionChanged

void selectionChanged(
IWorkbenchPart part,
                      
ISelection selection)
Notifies this listener that the selection has changed.

This method is called when the selection changes from one to a non-null value, but not when the selection changes to null. If there is a requirement to be notified in the latter scenario, implement INullSelectionListener. The event will be posted through this method.

Parameters:
part - the workbench part containing the selection
selection - the current selection. This may be null if INullSelectionListener is implemented.

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