예제 #1
0
 public List<String> getNames() {
   final List<String> names = Lists.newArrayList();
   for (ListGridRecord record : filesGrid.getRecords()) {
     names.add(record.getAttributeAsString("name"));
   }
   return names;
 }
예제 #2
0
 public int getNumSelectedFiles() {
   final ListGridRecord[] records = filesGrid.getRecords();
   return records == null ? 0 : records.length;
 }