<BUG>for (int i = 0; i < table.getItemCount(); i++) {eventsFilter[i] = table.isSelected(i);}</BUG><CONTEXT>dialog.setDefaultButton(ok);ok.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));ok.addSelectionListener (new SelectionAdapter() {@Overridepublic void widgetSelected(SelectionEvent e) {<extra_id_0>dialog.dispose();</CONTEXT>
TableItem [] items = table.getItems();for (int i = 0; i < EVENT_INFO.length; i++) {eventsFilter[i] = items[i].getChecked();