private void selectLastUsedCommand(){
  if (commands.isEmpty()) {
    setEmptyCommand();
  }
 else {
    final CommandImpl command=commands.get(0);
    commandsListWidget.selectElement(command.getName(),command.getName());
  }
}

private void selectLastUsedCommand ( ) { if ( commands . isEmpty ( ) ) { setEmptyCommand ( ) ; } else { final CommandImpl command = commands . get ( 0 ) ; commandsListWidget . selectElement ( command . getName ( ) , command . getName ( ) ) ; } }
selects last used command .
