-DefaultRadarDualPolBaseData.xml
-When the lower resolution level3 products were removed from the SBN this also included the removal of all Spectrum Width products, which the 4 panel no longer loaded anything in the bottom left panel (even though CC was still there)
-I added the option to first check for SW and then if that didn't exist then to plot CC
-RadarMapMouseHandler.java
-Added the full list of Velocity products to the product2 list (so if one isn't there, it will try another)
- updated the sampling logic to only sample when it's supposed to
- added a method on DrawingPropertiesDialog to update the controls enabled if new data comes into the layer
- call the new update method when cycling through adding records, if the drawing dialog already exists
icons/warngen.gif
- copied this icon from the warngen plugin (com.raytheon.viz.warngen/icons) which is where the NWS version sets this button
plugin.xml
- created a new toolbar section for the warngen button (because otherwise all icons in the same section have the same width, so this makes the nsharp and browser icons way wider than they should be)
- moved the warngen command into this new toolbar section, and set the icon on the command and removed the label (this is because you can't simply set the background for the button, so this gives it the desired yellow background)
AbstractWWAResource.java:
- added variables for 'statements/other' types
- added variables for controlling the "enabled" state of the display options
- created constants for the significance values of watches, warnings, and advisories since they're used in multiple places
- use the "other" display variables if the significance does not match watches, warnings or advisories
- in the addRecord() method, add logic to enable the corresponding record type display options. This allows only the applicable display options to be enabled to help with clarity for layers that only load watches for example, or only load warnings, or in SPS case, only use the 'other' options
- add getters and setters for the 'other' display variables
- add getters for the "enable" variables so the dialog can properly set the gui components
CWAPSResource.java:
- in the initShape() method, always create both the wireframeShape (outline) and shadedShape (fill) and let the user decide if they want to use them or not
DrawingPropertiesDialog.java:
- add components for 'statements/other' display settings
- move the "watch" controls to the top of the dialog
- set the enabled status of the controls when creating the dialog
- add methods for setting the enabled components of the watches, warnings, advisories, and other components, individually
WWADrawingPropertiesAction.java:
- don't hide the drawing properties dialog for CWASPResources anymore now that we have "other" controls to control the graphics for this layer
Originally these files only included product ID's #94 (Z) and #99 (V) but when NOAAPort removed these lower resolution level3 products and replaced them with the higher resolution (#153 - Z and #154 - V) level3 files no data was able to load. I changed it so it would try all Z/V product codes and load the highest resolution for what is available.
- changed resize behavior
- only rebuild the valid time list at the beginning (does not change scroll position when selecting from either of the lists)
- changed the sorting for the valid times list. Sort by ref time and then reverse forecast hour
- set the current values every time the dialog is opened. This is to fix a bug when using the 'x' button to close, it was not populating the values properly
SPS.xml
- enabled sampling for SPS
WWADrawingPropertiesAction
- modified isHidden() to only show for watches and warning resources, but not for CWASPSResources
WarngenDialog
- changed the button layout at the bottom to have 2 columns instead of 3, so the buttons are centered now
AbstractWWAResource.java
- Add Default value variables for the outline, shape, text, and time displays for warnings, watches, and advisories
- Add display variables for outline, shape, text, and time displays for warnings, watches, and advisories and initialize them to the default values
- Add an instance of the new DrawingPropertiesDialog so it can be disposed of properly when needed
- modified the paintInternal method
- set the inital drawing booleans to true
- if the record is not null and has a sig, set the drawing booleans based on their specific display booleans
- if the entry is not null, try to draw both the shape and the outline if their respective booleans and objects are not null
- get both the outline style and outline width from the outline capability and use that to draw the outline
- use the text and time booleans to set the textToPrint properly and only draw what is selected
- in disposeInternal() if the drawingDialog is not null, hide it and then set it to null so it's disposed of properly when a resource is unloaded
- add setters and getters for all the display booleans and the display dialog as well
WarningsResource.java
- in initShape() add a fill (shadedshape) and outline (wireframeshape) to every entry
WatchesResource.java
- in initShape() add a outline (wireframeshape) to every entry also (already added a fill)
WouWcnWatchesResource.java
- in initShape() add a outline (wireframeshape) to every entry also (already added a fill)
WWAResourceData.java
- added a method to get the resource name (this way you can get the name without the time text appended to the end, which is useful for setting a subtitle in the drawing dialog)
DrawingPropertiesDialog.java
- created a new CAVESWTDialog that is used in the resource menu for WWA resources
- this dialog contains options for outline, fill, text, and time displays for Warnings, Watches, and Advisories
WWADrawingPropertiesAction
- created a new resource menu action that creates and assigns a new DrawingPropertiesDialog to the associated wwa resource
plugin.xml
- added the WWADrawingPropertiesAction as an "extension" at the "contextualMenu" for the option to display for WWAResource resource menus
-New bundle created for Winter WWA
-Updated Surface Menu to add entry for Winter WWA
-Added Winter WWA and Convective WWA to the "All Weather Statements" bundle file
- check for null before setting the layout data to avoid an exception (only showing up on mac)
- set all the other compenents to false for vertical expansion so when resizing, the priority goes exclusively to the bullet list
- set dialog to a reasonable height (previously way too tall for some screens, with no way to resize)
- allow proper resizing behavior
- change bulletlist behavior so it doesn't scroll to the top every time a user makes a selection
- remove the .setText() call on the instructionsLabel because it's never instantiated (throwing null pointer), and never actually used
- made the table portion of the dialog shorter, to accomodate smaller screen sizes and resolutions
- reduced the vertical margin at the bottom of the dialog to also help with this issue
- Changed "Delete Bundle" to "Delete Display"
- Changed "Alter Bundle on Loading" to "Alter Procedure Item on Loading"
- Changed History List dialog from "Alter Bundle" to "Alter Procedure Item" (not sure if this one is actually used in CAVE currently)
- Changed "Enter Bundle Name" to "Enter Procedure Item Name"