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