예제 #1
0
 /**
  * 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();
 }
예제 #2
0
 /** 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();
 }