2017-04-21 18:33:55 -06:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
|
|
|
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
|
|
|
|
|
|
|
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
|
|
|
This_software_product_contains_export-restricted_data_whose
|
|
|
|
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
|
|
|
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
|
|
|
an_export_license_or_other_authorization.
|
|
|
|
|
|
|
|
Contractor_Name:________Raytheon_Company
|
|
|
|
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
|
|
|
________________________Mail_Stop_B8
|
|
|
|
________________________Omaha,_NE_68106
|
|
|
|
________________________402.291.0100
|
|
|
|
|
|
|
|
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
|
|
|
further_licensing_information.
|
|
|
|
-->
|
|
|
|
<?eclipse version="3.2"?>
|
|
|
|
<plugin>
|
|
|
|
<extension
|
|
|
|
point="com.raytheon.uf.viz.core.resource">
|
|
|
|
<resource
|
|
|
|
class="com.raytheon.viz.warnings.rsc.WarningsResource"
|
|
|
|
name="Warnings"
|
|
|
|
recordClass="com.raytheon.uf.common.dataplugin.warning.WarningRecord"
|
|
|
|
renderingOrderId="PLOT"
|
|
|
|
resourceType="PLAN_VIEW">
|
|
|
|
</resource>
|
|
|
|
</extension>
|
|
|
|
<extension
|
|
|
|
point="org.eclipse.ui.commands">
|
|
|
|
<command
|
|
|
|
id="com.raytheon.viz.warnings.openwarnings"
|
|
|
|
name="Warnings">
|
|
|
|
</command>
|
|
|
|
</extension>
|
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
|
|
|
<extension
|
|
|
|
point="com.raytheon.viz.ui.contextualMenu">
|
|
|
|
<contextualMenu
|
|
|
|
actionClass="com.raytheon.viz.warnings.ui.WWADrawingPropertiesAction"
|
|
|
|
name="Drawing Properties"
|
|
|
|
sortID="1">
|
|
|
|
</contextualMenu>
|
|
|
|
</extension>
|
2017-04-21 18:33:55 -06:00
|
|
|
</plugin>
|