Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » CheckboxTableViewer and selection event
CheckboxTableViewer and selection event [message #465360] Fri, 09 December 2005 18:14
Sergey Vyunnikov is currently offline Sergey VyunnikovFriend
Messages: 10
Registered: July 2009
Junior Member
Hi, All!

I use CheckboxTableViewer. When I click on check box this viewer sends
SelectionChangedEvent event (see code below) but TableItem is not selected
How I can determine check box selected or item?

public void handleSelect(SelectionEvent event) {
if (event.detail == SWT.CHECK) {
super.handleSelect(event); // this will change the current

TableItem item = (TableItem) event.item;
Object data = item.getData();
if (data != null) {
fireCheckStateChanged(new CheckStateChangedEvent(this, data,
} else

With Best Regards
Vyunnikov Sergey
Previous Topic:painting problems when using ScrolledComposite.setOrigin()
Next Topic:Equally sized widgets
Goto Forum:

Current Time: Sat Mar 06 11:58:54 GMT 2021

Powered by FUDForum. Page generated in 0.01755 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top