From 1fe9f494183647c890c610bfc0d750ebe7c807ac Mon Sep 17 00:00:00 2001 From: srcarter3 Date: Mon, 17 Apr 2023 12:14:46 -0700 Subject: [PATCH] Small changes for WarngenDialog - increase default list length - re-enable single-clicking to select multiple options in the product list --- .../src/com/raytheon/viz/warngen/gui/WarngenDialog.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 bfa86974af..7fc23749dd 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 @@ -276,6 +276,8 @@ import com.raytheon.viz.warngen.util.FollowUpUtil; * 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) + * Apr 17, 2023 srcarter@ucar Re-enable single clicking for multiple selections + * in bullet list. Increase default size of list * * * @@ -563,7 +565,7 @@ public class WarngenDialog extends CaveSWTDialog GridData gd = new GridData(SWT.FILL, SWT.FILL, true, true); gd.widthHint = BULLETLIST_WIDTH_IN_CHARS * charWidth; - gd.heightHint = lineHeight * 4; + gd.heightHint = lineHeight * 7; bulletList.setLayoutData(gd); bulletListManager.recreateBullets( warngenLayer.getConfiguration().getBullets(), @@ -2037,6 +2039,7 @@ public class WarngenDialog extends CaveSWTDialog private void bulletListSelected() { bulletListManager.updateSelectedIndices(bulletList.getSelectionIndex(), warngenLayer.state.followupData != null); + updateBulletList(); } /**