コード例 #1
0
 public void tableRowSelected(ValueChangeEvent event) {
   InstanceDto instance = (InstanceDto) serverTable.getValue();
   if (instance != null) {
     serverButtonsBottom.refresh(instance);
     serverDesc.show(instance);
   } else {
     serverButtonsBottom.initialize();
     serverDesc.initialize();
   }
 }
コード例 #2
0
 public void refreshDesc() {
   InstanceDto instance = (InstanceDto) serverTable.getValue();
   serverButtonsTop.initialize();
   if (instance != null) {
     serverButtonsBottom.refresh(instance);
     serverDesc.show(instance);
   } else {
     serverButtonsBottom.initialize();
     serverDesc.initialize();
   }
 }
コード例 #3
0
 public void refreshTable() {
   ((InstanceDtoContainer) serverTable.getContainerDataSource()).refresh();
   serverTable.setValue(null);
   serverDesc.initialize();
 }