D2D menus

Former-commit-id: 2a6d837672
This commit is contained in:
AWIPS User 2015-04-22 17:05:35 -06:00
parent ae10fa0d0d
commit 9ba75100cb
12 changed files with 277 additions and 36 deletions

View file

@ -22,7 +22,7 @@
<plugin>
<extension point="org.eclipse.ui.menus">
<menuContribution locationURI="menu:org.eclipse.ui.main.menu?after=d2d.obsMenu">
<menu id="obs" label="Obs" mnemonic="O">
<menu id="obs" label="Surface" mnemonic="O">
<visibleWhen>
<reference
definitionId="com.raytheon.uf.viz.d2d.ui.inD2DActionSet">
@ -71,4 +71,4 @@
</menu>
</menuContribution>
</extension>
</plugin>
</plugin>

View file

@ -98,7 +98,5 @@
<substitute key="legend" value="Sfc Profiler"/>
</contribute>
</contribute>
<contribute xsi:type="placeholder"
menuText="NPN Perspective" id="npnPerspective"/>
<contribute xsi:type="separator" id="MySeparatorId1"/>
</menuTemplate>

View file

@ -29,5 +29,4 @@
<include installTo="menu:upperAir?before=AircraftMenuEnd"
fileName="menus/upperair/baseAviation.xml" />
<include installTo="menu:upperAir?after=RAOB" fileName="menus/upperair/baseRAOB.xml" />
<include installTo="menu:upperAir?before=RAOBMenuMiddle" fileName="menus/upperair/baseAddedFeatures.xml" />
</menuContributionFile>

View file

@ -314,7 +314,6 @@
</menu>
<separator name="d2d.obsMenu" visible="false"/>
<separator name="d2d.ncepHydroMenu" visible="false"/>
<separator name="d2d.localMenu" visible="false"/>
<separator name="d2d.upperAirMenu" visible="false"/>
<menu
id="satellite"
@ -346,14 +345,10 @@
</visibleWhen>
<separator name="RADAR_MENU_START" visible="false"/>
</menu>
<menu id="scan" mnemonic="C" label="SCAN">
<visibleWhen>
<reference definitionId="com.raytheon.uf.viz.d2d.ui.inD2DActionSet"></reference></visibleWhen>
<separator name="SCAN_MENU_START" visible="false"></separator></menu>
<menu
id="D2Dmaps"
label="Maps"
label="Overlays"
mnemonic="M">
<visibleWhen>
<reference

View file

@ -19,10 +19,6 @@
further_licensing_information.
-->
<menuContributionFile>
<include subMenu="East NPN time-height" installTo="menu:upperAir?after=PROFILER"
fileName="menus/upperair/baseEastNPN.xml" />
<include subMenu="West NPN time-height" installTo="menu:upperAir?after=PROFILER"
fileName="menus/upperair/baseWestNPN.xml" />
<include subMenu="Alaska NPN time-height" installTo="menu:upperAir?after=PROFILER"
fileName="menus/upperair/baseAlaskaNPN.xml" />
<include subMenu="NPN time-height" installTo="menu:upperAir?after=PROFILER"
fileName="menus/upperair/baseNPN.xml" />
</menuContributionFile>

View file

@ -0,0 +1,238 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--
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.
-->
<menuTemplate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Central AK (CENA2)" id="profCentral_AK"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="70197"/>
<substitute key="productURI" value="/profiler/%/3000/70197/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Glennallen AK (GNAA2)" id="profGlennallen_AK"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="70268"/>
<substitute key="productURI" value="/profiler/%/3000/70268/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Talkeetna AK (TLKA2)" id="profTalkeetna_AK"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="70252"/>
<substitute key="productURI" value="/profiler/%/3000/70252/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Bloomfield MO (BLMM7)" id="profBloomfield MO"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74662"/>
<substitute key="productURI" value="/profiler/%/3000/74662/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Blue River WI (BLRW3)" id="profBlueRiver_WI"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74357"/>
<substitute key="productURI" value="/profiler/%/3000/74357/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Conway MO (CNWM7)" id="profConway_MO"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74550"/>
<substitute key="productURI" value="/profiler/%/3000/74550/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="DeQueen AR (DQUA4)" id="profDeQueen_AR"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74752"/>
<substitute key="productURI" value="/profiler/%/3000/74752/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Fairbury NE (FBYN1)" id="profFairbury_NE"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74440"/>
<substitute key="productURI" value="/profiler/%/3000/74440/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Haskell OK (HKL02)" id="profHaskell_OK"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74648"/>
<substitute key="productURI" value="/profiler/%/3000/74648/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Lamont OK (LMNO2)" id="profLamont_OK"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74647"/>
<substitute key="productURI" value="/profiler/%/3000/74647/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Lathrop MO (LTHM7)" id="profLathrop_MO"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74551"/>
<substitute key="productURI" value="/profiler/%/3000/74551/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Ledbetter TX (LDBT2)" id="profLedbetter_TX"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="72246"/>
<substitute key="productURI" value="/profiler/%/3000/72246/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Neodesha KS (NDSK1)" id="profNeodesha_KS"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74542"/>
<substitute key="productURI" value="/profiler/%/3000/74542/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Okolona MS (OKOM6)" id="profOkolona MS"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74769"/>
<substitute key="productURI" value="/profiler/%/3000/74769/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Palestine TX (PATT2)" id="profPalestine_TX"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74750"/>
<substitute key="productURI" value="/profiler/%/3000/74750/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Slater IA (SLAI4)" id="profSlater_IA"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74449"/>
<substitute key="productURI" value="/profiler/%/3000/74449/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Syracuse NY (SYCN6)" id="profSyracuse_NY"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74379"/>
<substitute key="productURI" value="/profiler/%/3000/74379/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Winchester IL (WNCI2)" id="profWinchester_IL"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74556"/>
<substitute key="productURI" value="/profiler/%/3000/74556/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Winfield LA (WNFL1)" id="profWinfield_LA"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74753"/>
<substitute key="productURI" value="/profiler/%/3000/74753/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Wolcott IN (WLCI3)" id="profWolcott_IN"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74466"/>
<substitute key="productURI" value="/profiler/%/3000/74466/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Wood Lake MN (WDLM5)" id="profWoodLake_MN"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74341"/>
<substitute key="productURI" value="/profiler/%/3000/74341/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Aztec NM (AZCN5)" id="profAztec_NM"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74630"/>
<substitute key="productURI" value="/profiler/%/3000/74630/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Granada CO (GDAC2)" id="profGranada_CO"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74530"/>
<substitute key="productURI" value="/profiler/%/3000/74530/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Haviland KS (HVLK1)" id="profHaviland_KS"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74541"/>
<substitute key="productURI" value="/profiler/%/3000/74541/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Hillsboro KS (HBRK1)" id="profHillsboro_KS"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74546"/>
<substitute key="productURI" value="/profiler/%/3000/74546/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Jayton TX (JTNT2)" id="profJayton_TX"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74735"/>
<substitute key="productURI" value="/profiler/%/3000/74735/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="McCook NE (RWDN1)" id="profMcCook_NE"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74433"/>
<substitute key="productURI" value="/profiler/%/3000/74433/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Medicine Bow WY (MBWW4)" id="profMedicineBow_WY"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74431"/>
<substitute key="productURI" value="/profiler/%/3000/74431/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Merriman NE (MRRN1)" id="profMerriman_NE"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74437"/>
<substitute key="productURI" value="/profiler/%/3000/74437/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Neligh NE (NLGN1)" id="profNeligh_NE"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74445"/>
<substitute key="productURI" value="/profiler/%/3000/74445/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Platteville CO (PLTC2)" id="profPlatteville_CO"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74533"/>
<substitute key="productURI" value="/profiler/%/3000/74533/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Purcell OK (PRCO2)" id="profPurcell_OK"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74649"/>
<substitute key="productURI" value="/profiler/%/3000/74649/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Tucumcari NM (TCUN5)" id="profTucumcari_NM"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74731"/>
<substitute key="productURI" value="/profiler/%/3000/74731/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Vandenberg CA (VBGC1)" id="profVandenberg_CA"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74604"/>
<substitute key="productURI" value="/profiler/%/3000/74604/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="Vici OK (VCIO2)" id="profVici_OK"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74640"/>
<substitute key="productURI" value="/profiler/%/3000/74640/%"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/UpperAirProfiler.xml"
menuText="White Sands NM (WSMN5)" id="profWhiteSands_NM"
editorType="com.raytheon.uf.viz.profiler.ui.ProfilerEditor">
<substitute key="wmoid" value="74629"/>
<substitute key="productURI" value="/profiler/%/3000/74629/%"/>
</contribute>
</menuTemplate>

View file

@ -64,11 +64,16 @@
<includes
id="com.raytheon.viz.text.feature"
version="0.0.0"/>
<!--
<includes
id="com.raytheon.viz.warngen.feature"
version="0.0.0"/>
-->
<includes
id="gov.noaa.gsd.viz.ensemble.feature"
version="0.0.0"/>
<includes
id="com.raytheon.viz.grib.feature"
version="0.0.0"/>
@ -185,7 +190,7 @@
id="com.raytheon.uf.viz.aviation.advisory.feature"
version="0.0.0"/>
<includes
<includes
id="com.raytheon.uf.viz.datadelivery.feature"
version="0.0.0"/>

View file

@ -26,20 +26,18 @@
<substitute key="posOffset" value="19800"/>
<substitute key="negOffset" value="1800"/>
</contribute>
<contribute xsi:type="subMenu" menuText="Other Synoptic Plots">
<contribute xsi:type="bundleItem" file="bundles/SynSurfacePlot.xml"
menuText="6 hr Precip" id="synoptic6hrPrecip">
<substitute key="svg" value="synopticPrcp6Design.svg"/>
<substitute key="legend" value="Synoptic 6hr Precip Plot"/>
<substitute key="posOffset" value="0"/>
<substitute key="negOffset" value="21600"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/SynSurfacePlot.xml"
menuText="24 hr Precip" id="synoptic24hrPrecip">
<substitute key="svg" value="synopticPrcp24Design.svg"/>
<substitute key="legend" value="Synoptic 24hr Precip Plot"/>
<substitute key="posOffset" value="0"/>
<substitute key="negOffset" value="43200"/>
</contribute>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/SynSurfacePlot.xml"
menuText="6 hr Precip" id="synoptic6hrPrecip">
<substitute key="svg" value="synopticPrcp6Design.svg"/>
<substitute key="legend" value="Synoptic 6hr Precip Plot"/>
<substitute key="posOffset" value="0"/>
<substitute key="negOffset" value="21600"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/SynSurfacePlot.xml"
menuText="24 hr Precip" id="synoptic24hrPrecip">
<substitute key="svg" value="synopticPrcp24Design.svg"/>
<substitute key="legend" value="Synoptic 24hr Precip Plot"/>
<substitute key="posOffset" value="0"/>
<substitute key="negOffset" value="43200"/>
</contribute>
</menuTemplate>

View file

@ -62,4 +62,11 @@
name="com.raytheon.viz.satellite.units">
</units>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
allPopups="false"
locationURI="menu:models?after=top">
</menuContribution>
</extension>
</plugin>

View file

@ -73,6 +73,7 @@
label="Volume Browser">
</command>
<separator name="afterVB" visible="false"/>
<separator name="afterENS" visible="false"/>
<separator name="VolumeBundles" visible="true"/>
<separator name="ComparisonFamilies" visible="true"/>
<separator name="SurfaceFamilies" visible="false"/>

View file

@ -62,6 +62,7 @@ public class RaobMenuUtil extends AbstractMenuUtil {
*/
@Override
public void createMenus() {
/*
statusHandler.info("Creating raob menus...");
List<CommonAbstractMenuContribution> contributions = new ArrayList<CommonAbstractMenuContribution>();
RaobSitesInUseUtil.setParsed(false);
@ -92,9 +93,11 @@ public class RaobMenuUtil extends AbstractMenuUtil {
menuTemplate.contributions[0].id = "upperAirPlaceholder";
((CommonPlaceholderMenuContribution) menuTemplate.contributions[0]).menuText = "Not Configured";
}
toXml(menuTemplate, "menus" + File.separator + "upperair"
+ File.separator + "baseRAOB.xml");
statusHandler.info("Finished processing raob menus.");
*/
}
/**

View file

@ -282,7 +282,7 @@ public class RadarMenuUtil extends AbstractMenuUtil implements
CommonSubmenuContribution submenuContribution = new CommonSubmenuContribution();
List<CommonAbstractMenuContribution> contributions = new ArrayList<CommonAbstractMenuContribution>();
/*
// now on to asr radars
radars = RadarsInUseUtil.getSite(getSite(),
RadarsInUseUtil.ASR_CONSTANT);
@ -334,6 +334,7 @@ public class RadarMenuUtil extends AbstractMenuUtil implements
separatorCont.id = "emptyAirportRadarId";
contributions.add(separatorCont);
}
*/
menuTemplateFile.contributions = contributions
.toArray(new CommonAbstractMenuContribution[contributions
.size()]);