Issue #2757 - Removed unnecessary dialogs.

Former-commit-id: 56b781f449 [formerly 3ee0058def] [formerly d682a69b8d] [formerly 65d1cca6fd [formerly d682a69b8d [formerly 1a906e4f7a5e7cc9e4cd8b4a717f0f2bb02cbb61]]]
Former-commit-id: 65d1cca6fd
Former-commit-id: b1b877e273dbe15468fb58e155bfdff3af62ed70 [formerly 5e84bc687e]
Former-commit-id: dcda070d33
This commit is contained in:
Slav Korolev 2014-09-15 17:46:10 -04:00
parent ef49ff5c61
commit 72755d9b67
3 changed files with 6 additions and 30 deletions

View file

@ -42,6 +42,7 @@ import com.raytheon.uf.viz.monitor.ui.dialogs.MonitoringAreaConfigDlg;
* Nov 27, 2012 1351 skorolev Changes for non-blocking dialog.
* Jan 29, 2014 2757 skorolev Changed OK button handler.
* Apr 23, 2014 3054 skorolev Fixed issue with removing a new station from list.
* Sep 15, 2014 2757 skorolev Removed extra dialog.
*
* </pre>
*
@ -97,16 +98,7 @@ public class FogMonitoringAreaConfigDlg extends MonitoringAreaConfigDlg {
configManager.getAddedStations().clear();
}
}
} else {
String message3 = "No changes made.\nDo you want to exit?";
int yesno = showMessage(shell,
SWT.ICON_QUESTION | SWT.YES | SWT.NO, "Exit", message3);
if (yesno == SWT.NO) {
return;
}
setReturnValue(true);
close();
}
}
}
/*

View file

@ -42,6 +42,7 @@ import com.raytheon.uf.viz.monitor.ui.dialogs.MonitoringAreaConfigDlg;
* Nov 27, 2012 1351 skorolev Changes for non-blocking dialog.
* Jan 29, 2014 2757 skorolev Changed OK button handler.
* Apr 23, 2014 3054 skorolev Fixed issue with removing a new station from list.
* Sep 15, 2014 2757 skorolev Removed extra dialog.
*
* </pre>
*
@ -103,16 +104,7 @@ public class SSMonitoringAreaConfigDlg extends MonitoringAreaConfigDlg {
configManager.getAddedStations().clear();
}
}
} else {
String message3 = "No changes made.\nDo you want to exit?";
int yesno = showMessage(shell,
SWT.ICON_QUESTION | SWT.YES | SWT.NO, "Exit", message3);
if (yesno == SWT.NO) {
return;
}
setReturnValue(true);
close();
}
}
}
/*

View file

@ -42,6 +42,7 @@ import com.raytheon.uf.viz.monitor.ui.dialogs.MonitoringAreaConfigDlg;
* Nov 27, 2012 1351 skorolev Changes for non-blocking dialog.
* Jan 29, 2014 2757 skorolev Changed OK button handler.
* Apr 23, 2014 3054 skorolev Fixed issue with removing a new station from list.
* Sep 15, 2014 2757 skorolev Removed extra dialog.
*
* </pre>
*
@ -96,16 +97,7 @@ public class SnowMonitoringAreaConfigDlg extends MonitoringAreaConfigDlg {
configManager.getAddedZones().clear();
configManager.getAddedStations().clear();
}
} else {
String message3 = "No changes made.\nDo you want to exit?";
int yesno = showMessage(shell,
SWT.ICON_QUESTION | SWT.YES | SWT.NO, "Exit", message3);
if (yesno == SWT.NO) {
return;
}
setReturnValue(true);
close();
}
}
}
/*