コード例 #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
ファイル: StationModelCanvas.java プロジェクト: ethanrd/IDV
 /** 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();
 }