protected void selectItem(){
  if (itemsTable.getSelectionCount() == 0) {
    return;
  }
  final List<DLItem> selectedItems=new ArrayList<DLItem>();
  for (  final TableItem tableItem : itemsTable.getSelection()) {
    final DLItem item=(DLItem)tableItem.getData();
    item.setLastAction(LAST_ACTION.SELECTION);
    selectedItems.add(item);
    selection.add(item);
    items.remove(item);
    fireSelectionEvent(item);
  }
  fireSelectionChangeEvent(selectedItems);
  redrawTables();
}

protected void selectItem ( ) { if ( itemsTable . getSelectionCount ( ) == 0 ) { return ; } final List < DLItem > selectedItems = new ArrayList < DLItem > ( ) ; for ( final TableItem tableItem : itemsTable . getSelection ( ) ) { final DLItem item = ( DLItem ) tableItem . getData ( ) ; item . setLastAction ( LAST_ACTION . SELECTION ) ; selectedItems . add ( item ) ; selection . add ( item ) ; items . remove ( item ) ; fireSelectionEvent ( item ) ; } fireSelectionChangeEvent ( selectedItems ) ; redrawTables ( ) ; }
select a given item
