File menu reorg + radar menu fix + renaming in bundle delete
This commit is contained in:
parent
e20810127e
commit
ff5add010b
4 changed files with 25 additions and 24 deletions
|
@ -80,13 +80,18 @@
|
|||
label="Load Map..."
|
||||
style="push">
|
||||
</command>
|
||||
<command
|
||||
commandId="com.raytheon.viz.ui.openAWIPSProcedure"
|
||||
label="Load Bundle"
|
||||
style="push">
|
||||
</command>
|
||||
<separator
|
||||
name="bundleSeparator"
|
||||
visible="true">
|
||||
</separator>
|
||||
<command
|
||||
commandId="com.raytheon.viz.ui.openAWIPSProcedure"
|
||||
label="Load Bundle"
|
||||
commandId="com.raytheon.viz.ui.saveBundle"
|
||||
label="Save Map"
|
||||
style="push">
|
||||
</command>
|
||||
<command
|
||||
|
@ -95,22 +100,21 @@
|
|||
style="push">
|
||||
</command>
|
||||
<command
|
||||
commandId="com.raytheon.viz.ui.deleteAWIPSProcedure"
|
||||
label="Delete Bundle"
|
||||
commandId="com.raytheon.viz.ui.saveProcedure"
|
||||
label="Save Bundle Locally"
|
||||
style="push">
|
||||
</command>
|
||||
<menu
|
||||
id="export"
|
||||
label="Export">
|
||||
</menu>
|
||||
<separator
|
||||
name="saveSeparator"
|
||||
visible="true">
|
||||
</separator>
|
||||
<command
|
||||
commandId="com.raytheon.viz.ui.saveBundle"
|
||||
label="Save Map Locally"
|
||||
style="push">
|
||||
</command>
|
||||
<command
|
||||
commandId="com.raytheon.viz.ui.saveProcedure"
|
||||
label="Save Bundle Locally"
|
||||
commandId="com.raytheon.viz.ui.deleteAWIPSProcedure"
|
||||
label="Manage Bundles"
|
||||
style="push">
|
||||
</command>
|
||||
<separator
|
||||
|
@ -121,10 +125,6 @@
|
|||
id="import"
|
||||
label="Import">
|
||||
</menu>
|
||||
<menu
|
||||
id="export"
|
||||
label="Export">
|
||||
</menu>
|
||||
</menu>
|
||||
<menu
|
||||
id="view"
|
||||
|
|
|
@ -70,7 +70,7 @@ public class DeleteAWIPSProcedure extends AbstractHandler {
|
|||
public Object execute(ExecutionEvent event) throws ExecutionException {
|
||||
if (listDlg == null || listDlg.getShell() == null
|
||||
|| listDlg.isDisposed()) {
|
||||
listDlg = new ProcedureListDlg("Delete Procedure",
|
||||
listDlg = new ProcedureListDlg("Delete Bundle",
|
||||
HandlerUtil.getActiveShell(event), Mode.DELETE);
|
||||
listDlg.setCloseCallback(new ICloseCallback() {
|
||||
|
||||
|
@ -83,7 +83,7 @@ public class DeleteAWIPSProcedure extends AbstractHandler {
|
|||
} catch (LocalizationOpFailedException e) {
|
||||
statusHandler.handle(
|
||||
Priority.PROBLEM,
|
||||
"Error deleting procedure: "
|
||||
"Error deleting bundle: "
|
||||
+ selectedFile.getName());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -63,7 +63,7 @@ public class OpenProcedureListDlg extends ProcedureListDlg {
|
|||
* Parent shell.
|
||||
*/
|
||||
public OpenProcedureListDlg(Shell parent) {
|
||||
super("Open Bundle", parent, Mode.OPEN);
|
||||
super("Load Bundle", parent, Mode.OPEN);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -60,24 +60,25 @@
|
|||
<substitute key="name" value="N0Q - Base Reflectivity" />
|
||||
</contribute>
|
||||
<contribute xsi:type="bundleItem" file="bundles/DefaultRadarMosaic.xml"
|
||||
menuText="0.5 Differential Refl" id="Radar05ZDR">
|
||||
menuText="N0X - Differential Refl" id="Radar05ZDR">
|
||||
<substitute key="product" value="159,158" />
|
||||
<substitute key="elevation" value="0.5" />
|
||||
<substitute key="name" value="0.5 Diff Reflectivity" />
|
||||
<substitute key="name" value="N0X - Diff Reflectivity" />
|
||||
</contribute>
|
||||
<contribute xsi:type="bundleItem" file="bundles/DefaultRadarMosaic.xml"
|
||||
menuText="0.5 Specific Diff Phase" id="Radar05KDP">
|
||||
menuText="N0K - Specific Diff Phase" id="Radar05KDP">
|
||||
<substitute key="product" value="163,162" />
|
||||
<substitute key="elevation" value="0.5" />
|
||||
<substitute key="name" value="0.5 Specific Diff Phase" />
|
||||
<substitute key="name" value="N0K - Specific Diff Phase" />
|
||||
</contribute>
|
||||
<contribute xsi:type="bundleItem" file="bundles/DefaultRadarMosaic.xml"
|
||||
menuText="0.5 Correlation Coeff" id="Radar05CC">
|
||||
menuText="N0C - Correlation Coefficient" id="Radar05CC">
|
||||
<substitute key="product" value="161,160" />
|
||||
<substitute key="elevation" value="0.5" />
|
||||
<substitute key="name" value="0.5 Correlation Coefficient" />
|
||||
<substitute key="name" value="N0C - Correlation Coefficient" />
|
||||
</contribute>
|
||||
<contribute xsi:type="bundleItem" file="bundles/DefaultRadarMosaic.xml"
|
||||
menuText="DHR - Digital Hybrid Reflectivity" id="RadarHybridScanRefl">
|
||||
<substitute key="product" value="32,33" />
|
||||
<substitute key="elevation" value="0.0" />
|
||||
<substitute key="name" value="DHR - Digital Hybrid Reflectivity" />
|
||||
|
|
Loading…
Add table
Reference in a new issue