awips2/cave/com.raytheon.uf.viz.d2d.nsharp/plugin.xml
Ben Steffensmeier 214c270bc4 Issue #1131 disable PanTool in Nsharp to avoid conflicting with nsharp mouse handlers.
Former-commit-id: 3818b5e056 [formerly fe38c4f838] [formerly c4e1d834c1] [formerly 50969cb7e2 [formerly c4e1d834c1 [formerly efe7d92966e8d53a1f071f62c5b73576d9c6793a]]]
Former-commit-id: 50969cb7e2
Former-commit-id: aea64665c74002c1abad8fee62bc699d8389093f [formerly 9e0c697daf]
Former-commit-id: be65c6cbd7
2012-09-24 15:31:15 -05:00

74 lines
2.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="com.raytheon.uf.viz.core.descriptor">
<descriptor
class="com.raytheon.uf.viz.d2d.nsharp.display.D2DNSharpDescriptor"
editor="gov.noaa.nws.ncep.ui.nsharp.display.NsharpEditor"
name="com.raytheon.uf.viz.d2d.nsharp.D2DNSharpDescriptor">
</descriptor>
</extension>
<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.viz.ui.actions.saveScreen">
<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.viz.ui.actions.printScreenAction">
<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>
</extension>
</plugin>