Merge "Issue #1229 Chagnes for non-blocking TransmissionViewerDlg." into development
Former-commit-id:e2f314bf5d
[formerlye2f314bf5d
[formerly 8b2095a8ff67f207b93fd2c7650efc42de76d56e]] Former-commit-id:15c49c9d28
Former-commit-id:b120e91cce
This commit is contained in:
commit
298585aada
2 changed files with 20 additions and 1 deletions
|
@ -387,6 +387,7 @@ public class TransmissionQueueDlg extends CaveSWTDialog {
|
||||||
tafInfo = "Viewing multiple forecasts";
|
tafInfo = "Viewing multiple forecasts";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Allow multiple instances of this dialog.
|
||||||
TransmissionViewerDlg tvd = new TransmissionViewerDlg(shell,
|
TransmissionViewerDlg tvd = new TransmissionViewerDlg(shell,
|
||||||
tafText, tafInfo);
|
tafText, tafInfo);
|
||||||
tvd.open();
|
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.aviation.resource.ResourceConfigMgr.ResourceTag;
|
||||||
import com.raytheon.viz.ui.dialogs.CaveSWTDialog;
|
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 {
|
public class TransmissionViewerDlg extends CaveSWTDialog {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -55,7 +72,8 @@ public class TransmissionViewerDlg extends CaveSWTDialog {
|
||||||
public TransmissionViewerDlg(Shell parentShell, String tafText,
|
public TransmissionViewerDlg(Shell parentShell, String tafText,
|
||||||
String tafInfo) {
|
String tafInfo) {
|
||||||
super(parentShell, SWT.SHELL_TRIM | SWT.RESIZE,
|
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);
|
setText(tafInfo);
|
||||||
|
|
||||||
this.tafText = tafText;
|
this.tafText = tafText;
|
||||||
|
|
Loading…
Add table
Reference in a new issue