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
This commit is contained in:
Shay Carter 2022-06-28 16:24:52 -06:00
parent f3c8f068a4
commit 280b201735

View file

@ -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 * 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 * 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 * 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)
* </pre> * </pre>
* *
* @author chammack * @author chammack
@ -652,6 +653,8 @@ IWarningsArrivedListener, ISimulatedTimeChangeListener {
gd.horizontalIndent = 30; gd.horizontalIndent = 30;
updateListCbo = new Combo(productType, SWT.READ_ONLY updateListCbo = new Combo(productType, SWT.READ_ONLY
| SWT.DROP_DOWN); | SWT.DROP_DOWN);
//disable the update list since we disable sending of warnings
updateListCbo.setEnabled(false);
updateListCbo.setLayoutData(gd); updateListCbo.setLayoutData(gd);
recreateUpdates(); recreateUpdates();