Also note in this example that the view is responsible for removing the selection listener when it closes. If the selection contains a single book, the view will display its chapters.

1.

How to order 1000 elements in a swt column table with O(n log(n)) complexity! Add Default Table Selection Listener and Get the Selected TableItem : Table Event « SWT « Java Tutorial

Using the JFace TableViewer. The following are top voted examples for showing how to use org.eclipse.jface.viewers.ISelectionChangedListener.These examples are extracted from open source projects.
This tutorial explains the usage of Eclipse JFace TableViewer API. Again, note how this example completely ignores selections that don’t contain books. Print KTable (SWT Table)Example

Check out our Eclipse RCP Premium Content and Instructional Videospriority_high. using Comparator and Array.sort() implemented in a TableColumn Listener Factory 2. The following are top voted examples for showing how to use org.eclipse.jface.viewers.TableViewer.These examples are extracted from open source projects.
Selection change listener. You can vote up the examples you like and your votes will be used in our system to generate more good examples.

JFace Table Viewer. For example you can add a SelectionListener implementation to the SWT control which is wrapped in the JFace object. If the selection contains several books, it will display nothing. Detect a selection or check event in a table (SWT.CHECK) : Table « SWT JFace Eclipse « Java

Selection and double-click listener JFace allows you to access the SWT controls to define listeners on your viewer. 1.1. You can vote up the examples you like and your votes will be used in … Learn more in the Learning Portal.