awips2/cave/com.raytheon.uf.viz.d2d.nsharp/plugin.xml

107 lines
3.7 KiB
XML
Raw Normal View History

2022-05-05 12:34:50 -05:00
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.ui.views">
<view
category="com.raytheon.viz.ui"
allowMultiple="false"
restorable="false"
class="com.raytheon.uf.viz.d2d.nsharp.display.D2DNSharpPaletteWindow"
id="com.raytheon.uf.viz.d2d.nsharp.display.D2DNSharpPaletteWindow"
name="NSHARP(D2D)"/>
</extension>
<extension point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
targetID="com.raytheon.uf.viz.d2d.ui.perspectives.D2D5Pane">
<view id="com.raytheon.uf.viz.d2d.nsharp.display.D2DNSharpPaletteWindow"
relative="org.eclipse.ui.editorss"
relationship="bottom"
ratio="0.8"
visible="false"/>
</perspectiveExtension>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
class="com.raytheon.uf.viz.d2d.nsharp.rsc.action.NSharpSaveScreenAction"
commandId="com.raytheon.uf.viz.image.export.save">
<activeWhen>
<with variable="activeEditorId">
<equals value="gov.noaa.nws.ncep.ui.nsharp.display.NsharpEditor"/>
</with>
</activeWhen>
</handler>
<handler
class="com.raytheon.uf.viz.d2d.nsharp.rsc.action.NSharpPrintScreenAction"
commandId="com.raytheon.uf.viz.image.export.print">
<activeWhen>
<with variable="activeEditorId">
<equals value="gov.noaa.nws.ncep.ui.nsharp.display.NsharpEditor"/>
</with>
</activeWhen>
</handler>
<handler
class="com.raytheon.viz.ui.actions.NullAction"
commandId="com.raytheon.viz.ui.tools.nav.PanTool">
<!-- This will always disable the PanTool -->
<activeWhen>
<with variable="activeEditorId">
<equals value="gov.noaa.nws.ncep.ui.nsharp.display.NsharpEditor"/>
</with>
</activeWhen>
<enabledWhen>
<not>
<with variable="activeEditorId">
<equals value="gov.noaa.nws.ncep.ui.nsharp.display.NsharpEditor"/>
</with>
</not>
</enabledWhen>
</handler>
<handler
class="com.raytheon.uf.viz.d2d.nsharp.rsc.action.NSharpPrintScreenAction"
commandId="com.raytheon.uf.viz.d2d.ui.actions.showPrintDialog">
<activeWhen>
<!-- These conditions are redundant but both are needed to avoid handler conflicts with the default handler -->
<and>
<with variable="activeEditor">
<instanceof value="gov.noaa.nws.ncep.ui.nsharp.display.NsharpEditor"/>
</with>
<with variable="activeEditorId">
<equals value="gov.noaa.nws.ncep.ui.nsharp.display.NsharpEditor"/>
</with>
</and>
</activeWhen>
</handler>
<handler
class="com.raytheon.uf.viz.d2d.nsharp.D2DNsharpViewAction"
commandId="com.raytheon.uf.viz.d2d.nsharp.dialog">
</handler>
2022-05-05 12:34:50 -05:00
</extension>
<extension
point="com.raytheon.uf.viz.core.classContext">
<classContext
class="com.raytheon.uf.viz.d2d.nsharp.display.D2DNSharpPaletteWindow">
<contextId id="com.raytheon.viz.ui.loopContext"/>
<contextId id="com.raytheon.viz.ui.loop.space"/>
</classContext>
</extension>
<extension
point="com.raytheon.viz.volumebrowser.productcreator">
<productCreator
creatorClass="com.raytheon.uf.viz.d2d.nsharp.vb.NSharpProductCreator"
plugins="grid,bufrua,modelsounding,poessounding,goessounding"
resourceType="sounding">
</productCreator>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
id="com.raytheon.uf.viz.d2d.nsharp.dialog"
name="D2DNsharp">
</command>
</extension>
2022-05-05 12:34:50 -05:00
</plugin>