Issue #1229 Chagnes for non-blocking TransmissionViewerDlg.
Change-Id: I6f274a5add6bdf4c5d74109df7fdeed6ac31d879 Former-commit-id: fb76068864dc1d5d528fa6ff793cc7aff7eef95e
This commit is contained in:
parent
47d9a92acf
commit
85024ea361
2 changed files with 20 additions and 1 deletions
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue