// set an ICheckStateProvider that sets the checkbox state of the select
// all checkbox regarding
// the selection of the items in the dropdown
this.selectAllItemViewer
.setCheckStateProvider(new ICheckStateProvider() {
@Override
public boolean isGrayed(Object element) {
if (dropdownTable.getSelectionCount() == dropdownTable
.getItemCount()) {