WWAResourceData
- Simplified the constructResource to always create and return a WarningsResource
- the actual implementation of the constructResource method doesn't quite align with how it originally seemed to be designed. None of the data is actually in the PluginDataObject at this point, all the data is in the LoadProperties. Because of that, differentiating between WatchResources and WarningResources doesn't work the way you would think it does. You end up going through this method once, for the entire load of the WWAs. Also, for some reason the way the WatchResource populated and eventually passed on its records for drawing, actually eliminated the watches. So, by using the WarningsResource class all the time, all the watches, warnings, and advisories are persisted.
WarningsResource
- the proper convention is for watches to show up as a shaded (thatched) area, and the warnings and advisories to show up with an outline
- in the initShape method, look to see what the significance of the record is, and if it's a watch, then create and set the shadedShape (logic taken from the WatchesResource), otherwise create and set the wireframeShape