/** * Remove the given row * * @param row The given row */ protected void removeRow(int row) { if (!GuiUtils.showYesNoDialog( null, "Are you sure you want to delete this row?", "Delete Confirmation")) { return; } myParamInfos.remove(row); tableChanged(); saveData(); }
/** Remove the current station model */ protected void doRemove() { if (!GuiUtils.showYesNoDialog( null, "Are you sure you want to remove the station model: " + stationModel.getName() + "?", "Confirm")) { return; } smm.removeUsers(stationModel); initFromDefault(); }