Example #1
0
 @Override
 public void restoreModels(ModelMap models) {
   companionsTable.setTreeTableModel(models.get(CompanionsModel.class));
   companionsTable.setDefaultEditor(Object.class, models.get(ButtonCellEditor.class));
   models.get(TreeExpansionHandler.class).install();
   models.get(LoadButtonAndSheetHandler.class).install();
 }
Example #2
0
 @Override
 public void storeModels(ModelMap models) {
   models.get(TreeExpansionHandler.class).uninstall();
   models.get(LoadButtonAndSheetHandler.class).uninstall();
 }