@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(); }
@Override public void storeModels(ModelMap models) { models.get(TreeExpansionHandler.class).uninstall(); models.get(LoadButtonAndSheetHandler.class).uninstall(); }