Commit graph

22 commits

Author SHA1 Message Date
Shay Carter
c5fbae1363 Update for WWA drawing and small update for Warngen
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
2022-03-16 14:39:50 -06:00
Tiffany Meyer
68a4ca20e9 Add history comment for previous commit 2021-12-20 16:18:03 -07:00
Tiffany Meyer
32d0ffbab9 Small changes to WarngenDialog class:
- 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
2021-12-20 16:14:51 -07:00
Shay Carter
4819548d06 Several small WargenDialog gui changes:
- 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
2021-11-17 13:55:34 -07:00
Tiffany Meyer
6e3d431977 These were changes Michael made on moe locally that were "added" but never committed. 2020-11-16 11:45:40 -05:00
Michael James
d49b11c68a Merge remote-tracking branch 'origin/unidata_18.1.1' into windows_18.1.1 2019-01-04 10:04:36 -07:00
Michael James
912e680e0a warngen dialog edits to fit screen 2018-09-07 15:08:55 -06:00
Michael James
7ae8b23ace rm scattered bundle maps 2018-09-07 12:14:09 -06:00
mjames-upc
a5bf9dc37b merge origin/master_18.1.1 into unidata_17.1.1 for unidata_18.1.1 2018-07-05 11:49:57 -06:00
mjames-upc
7bd36e334c initial commit 2018-06-20 17:39:08 -06:00
mjames-upc
6168082298 added files from remotes/origin/master_17.1.1p2..remotes/origin/master_18.1.1 changes 2018-06-20 15:49:54 -06:00
mjames-upc
79d7ab168a removed files from remotes/origin/master_17.1.1p2..remotes/origin/master_18.1.1 2018-06-20 15:11:00 -06:00
Michael James
d91f18d7b6 cleanup WarnGen dialog 2018-06-11 13:08:38 -06:00
Michael James
be2111f70c warngen ui cleanup 2018-06-09 08:20:35 -06:00
Michael James
e6c6643204 warngen JMS workaround, fixes #217 2018-06-07 18:04:19 -06:00
Michael James
34ca3a9a27 CAVE menu and bundle updates for 17.1.1-4
Conflicts:
	cave/com.raytheon.uf.viz.d2d.ui.ncephydro/localization/menus/ncepHydro/index.xml
2017-10-18 10:31:22 -06:00
Michael James
acb8dc4574 textws remove backup functionality, don't open editor by default
Conflicts:
	cave/com.raytheon.viz.warngen/src/com/raytheon/viz/warngen/template/TemplateRunner.java
2017-06-28 13:59:20 -06:00
mjames-upc
331f7f7694 warngen cleanup: remove backup office refs; use close() instead of hide() which hangs eclipse 2017-06-26 13:31:52 -06:00
Michael James
9a8ac09ac5 warngen dialog cleanup 2017-06-26 11:18:43 -06:00
Michael James
db7f3c8d58 remove TextWS prefs, assume localhost, cleanup warngen ux 2017-06-25 15:42:29 -06:00
Michael James
b67b8c9336 17.1.1 edex build ready 2017-04-21 22:46:12 -05:00
mjames-upc
7e05f25909 initial commit 2017-04-21 18:33:55 -06:00