From 280b201735d0320d141ec152421d43d780c08c52 Mon Sep 17 00:00:00 2001 From: Shay Carter Date: Tue, 28 Jun 2022 16:24:52 -0600 Subject: [PATCH] Small change to the warngen dialog - disabled (grayed out) the "UPDATE LIST" combobox, since it's not used because we don't allow sending warnings --- .../src/com/raytheon/viz/warngen/gui/WarngenDialog.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cave/com.raytheon.viz.warngen/src/com/raytheon/viz/warngen/gui/WarngenDialog.java b/cave/com.raytheon.viz.warngen/src/com/raytheon/viz/warngen/gui/WarngenDialog.java index 11806e8329..b79c10fdc5 100644 --- a/cave/com.raytheon.viz.warngen/src/com/raytheon/viz/warngen/gui/WarngenDialog.java +++ b/cave/com.raytheon.viz.warngen/src/com/raytheon/viz/warngen/gui/WarngenDialog.java @@ -211,6 +211,7 @@ import com.vividsolutions.jts.geom.Polygon; * Dec 20, 2021 srcarter@ucar Check for null before setting layout data on tabs. Make all other components have false * for vertical expansion so the resizing only resizes the bullet list * Mar 15, 2022 srcarter@ucar Set the proper number of columns in the layout for the bottom buttons to be centered + * Jun 28, 2022 srcarter@ucar Small change to disable the "UPDATE LIST" combobox (not used in Unidata version) * * * @author chammack @@ -652,6 +653,8 @@ IWarningsArrivedListener, ISimulatedTimeChangeListener { gd.horizontalIndent = 30; updateListCbo = new Combo(productType, SWT.READ_ONLY | SWT.DROP_DOWN); + //disable the update list since we disable sending of warnings + updateListCbo.setEnabled(false); updateListCbo.setLayoutData(gd); recreateUpdates();