コード例 #1
0
 protected void grayOutItem(
     ArrayList<String> grayOutReasons,
     LunModel model,
     EntityModelCellTable<ListModel<LunModel>> table) {
   for (int row = 0; row < table.getRowCount(); row++) {
     TableRowElement tableRowElement = table.getRowElement(row);
     if (table.getVisibleItem(row).equals(model)) {
       tableRowElement.setPropertyBoolean("disabled", true); // $NON-NLS-1$
       updateInputTitle(grayOutReasons, tableRowElement);
     } else {
       ElementTooltipUtils.destroyTooltip(tableRowElement);
     }
   }
 }