Merge "Issue #1229 Changes for non-blocking NCDCInvHistDlg" into development
Former-commit-id:bb95f024cb
[formerlybb95f024cb
[formerly 30b0ffaa2c90ede16e27390a4b58218c5085ae54]] Former-commit-id:ed3ea856d2
Former-commit-id:be5c239912
This commit is contained in:
commit
7af39ceb49
2 changed files with 8 additions and 3 deletions
|
@ -95,6 +95,7 @@ import com.raytheon.viz.ui.dialogs.ICloseCallback;
|
|||
* Oct 04, 2012 #1229 rferrel Made non-blocking.
|
||||
* Oct 04, 2012 #1229 rferrel Changes for non-blocking ClimateHistoryDlg.
|
||||
* Oct 08, 2012 #1229 rferrel Changes for non-blocking GenScriptsDlg.
|
||||
* Oct 08, 2012 #1229 rferrel Changes for non-blocking NCDCInvHistDlg.
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -860,10 +861,12 @@ public class ClimateDataMenuDlg extends CaveSWTDialog {
|
|||
* Display the NCDC inventory/history dialog.
|
||||
*/
|
||||
private void displayNCDCInventoryHistoryDialog() {
|
||||
if (invHistoryDlg == null) {
|
||||
if (invHistoryDlg == null || invHistoryDlg.getShell() == null
|
||||
|| invHistoryDlg.isDisposed()) {
|
||||
invHistoryDlg = new NCDCInvHistDlg(shell);
|
||||
invHistoryDlg.open();
|
||||
invHistoryDlg = null;
|
||||
} else {
|
||||
invHistoryDlg.bringToTop();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -55,6 +55,7 @@ import com.raytheon.viz.ui.dialogs.ICloseCallback;
|
|||
* ------------ ---------- ----------- --------------------------
|
||||
* Nov 16, 2009 #3438 lvenable Initial creation
|
||||
* Oct 08, 2012 #1229 rferrel Changes for non-blocking GenScriptsDlg.
|
||||
* Oct 08, 2012 #1229 rferrel Make dialog non-blocking.
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -135,7 +136,8 @@ public class NCDCInvHistDlg extends CaveSWTDialog {
|
|||
* Parent shell.
|
||||
*/
|
||||
public NCDCInvHistDlg(Shell parentShell) {
|
||||
super(parentShell, SWT.DIALOG_TRIM, CAVE.PERSPECTIVE_INDEPENDENT);
|
||||
super(parentShell, SWT.DIALOG_TRIM, CAVE.PERSPECTIVE_INDEPENDENT
|
||||
| CAVE.DO_NOT_BLOCK);
|
||||
setText("NCDC Inventory/History");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue