void addLocation(String location){
  if (fLocationList.contains(location)) {
    return;
  }
  fLocationList.add(location);
  fTableViewer.refresh();
  fTableViewer.setChecked(location,true);
  fTableViewer.setSelection(new StructuredSelection(location));
  validateLocations();
}

void addLocation ( String location ) { if ( fLocationList . contains ( location ) ) { return ; } fLocationList . add ( location ) ; fTableViewer . refresh ( ) ; fTableViewer . setChecked ( location , true ) ; fTableViewer . setSelection ( new StructuredSelection ( location ) ) ; validateLocations ( ) ; }
adds the given location to the table
