@UiHandler("btnRemove") void removeRecord(ClickEvent e) { InputItem user = selectionModel.getSelectedObject(); if (user != null) { changedRecs.remove(user.getId()); removedRecs.put(user.getId(), user); recordStore.getList().remove(user); editMode(true); } }
private void removeSelectedConfig() { configurations.remove(getSelectedConfig()); configList.removeItem(getSelectedConfigIndex()); }