Merge "Issue #1229 Chagnes for non-blocking TransmissionViewerDlg." into development

Former-commit-id: e2f314bf5d [formerly e2f314bf5d [formerly 8b2095a8ff67f207b93fd2c7650efc42de76d56e]]
Former-commit-id: 15c49c9d28
Former-commit-id: b120e91cce
This commit is contained in:
Nate Jensen 2012-10-10 16:20:56 -05:00 committed by Gerrit Code Review
commit 298585aada
2 changed files with 20 additions and 1 deletions

View file

@ -387,6 +387,7 @@ public class TransmissionQueueDlg extends CaveSWTDialog {
tafInfo = "Viewing multiple forecasts";
}
// Allow multiple instances of this dialog.
TransmissionViewerDlg tvd = new TransmissionViewerDlg(shell,
tafText, tafInfo);
tvd.open();

View file

@ -36,6 +36,23 @@ import com.raytheon.viz.aviation.resource.ResourceConfigMgr;
import com.raytheon.viz.aviation.resource.ResourceConfigMgr.ResourceTag;
import com.raytheon.viz.ui.dialogs.CaveSWTDialog;
/**
* A dialog to display the forecast(s) details.
*
* <pre>
*
* SOFTWARE HISTORY
*
* Date Ticket# Engineer Description
* ------------ ---------- ----------- --------------------------
* Initial creation
* Oct 10, 2012 1229 rferrel Made dialog non-blocking
*
* </pre>
*
* @author rferrel
* @version 1.0
*/
public class TransmissionViewerDlg extends CaveSWTDialog {
/**
@ -55,7 +72,8 @@ public class TransmissionViewerDlg extends CaveSWTDialog {
public TransmissionViewerDlg(Shell parentShell, String tafText,
String tafInfo) {
super(parentShell, SWT.SHELL_TRIM | SWT.RESIZE,
CAVE.PERSPECTIVE_INDEPENDENT | CAVE.MODE_INDEPENDENT);
CAVE.PERSPECTIVE_INDEPENDENT | CAVE.MODE_INDEPENDENT
| CAVE.DO_NOT_BLOCK);
setText(tafInfo);
this.tafText = tafText;