Issue #666 fix collaboration message compose problems with ncp keybindings

Former-commit-id: ec779e0252ae7efd7228b7a0e1eea83b05b10c9b
This commit is contained in:
Ben Steffensmeier 2012-08-17 16:16:20 -05:00
parent d7a818fd1d
commit 3f0b2e474c
5 changed files with 60 additions and 29 deletions

View file

@ -52,6 +52,15 @@
id="gov.noaa.nws.ncep.ui.NCTEXTUI" id="gov.noaa.nws.ncep.ui.NCTEXTUI"
name="NCTEXT"/> name="NCTEXT"/>
</extension> </extension>
<extension
point="com.raytheon.uf.viz.core.classContext">
<classContext
class="gov.noaa.nws.ncep.ui.nctextui.palette.NctextuiPaletteWindow">
<contextId
id="gov.noaa.nws.ncep.viz.ui.display.NCMapContext">
</contextId>
</classContext>
</extension>
<!-- <!--
<extension <extension
point="org.eclipse.ui.menus"> point="org.eclipse.ui.menus">

View file

@ -3214,5 +3214,13 @@
extensionFilter=".xml,.tbl,.png,.txt,.xsl,.xlt,.xslt"> extensionFilter=".xml,.tbl,.png,.txt,.xsl,.xlt,.xslt">
</path> </path>
</extension> </extension>
<extension
point="com.raytheon.uf.viz.core.classContext">
<classContext
class="gov.noaa.nws.ncep.ui.pgen.palette.PgenPaletteWindow">
<contextId
id="gov.noaa.nws.ncep.viz.ui.display.NCMapContext">
</contextId>
</classContext>
</extension>
</plugin> </plugin>

View file

@ -264,27 +264,27 @@
<!-- Turn off Raytheon's keybinding in the National Centers context--> <!-- Turn off Raytheon's keybinding in the National Centers context-->
<key <key
commandId="" commandId=""
contextId="gov.noaa.nws.ncep.viz.ui.display.NCMapContext" contextId="gov.noaa.nws.ncep.viz.ui.perspectives.NCPerspectiveContext"
schemeId="com.raytheon.viz.ui.awips.scheme" schemeId="com.raytheon.viz.ui.awips.scheme"
sequence="BACKSPACE"> sequence="BACKSPACE">
</key> </key>
<key <key
commandId="" commandId=""
contextId="gov.noaa.nws.ncep.viz.ui.display.NCMapContext" contextId="gov.noaa.nws.ncep.viz.ui.perspectives.NCPerspectiveContext"
schemeId="com.raytheon.viz.ui.awips.scheme" schemeId="com.raytheon.viz.ui.awips.scheme"
sequence="F12"> sequence="F12">
</key> </key>
<!-- Turn off the default keybinding in the National Centers context--> <!-- Turn off the default keybinding in the National Centers context-->
<key <key
commandId="" commandId=""
contextId="gov.noaa.nws.ncep.viz.ui.display.NCMapContext" contextId="gov.noaa.nws.ncep.viz.ui.perspectives.NCPerspectiveContext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="F10"> sequence="F10">
</key> </key>
<key <key
commandId="" commandId=""
contextId="gov.noaa.nws.ncep.viz.ui.display.NCMapContext" contextId="gov.noaa.nws.ncep.viz.ui.perspectives.NCPerspectiveContext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="F12"> sequence="F12">
</key> </key>
@ -320,7 +320,7 @@
Hot keys <Shift + F1> through <Shift + F10> activate tabs 11 through 20 respectively--> Hot keys <Shift + F1> through <Shift + F10> activate tabs 11 through 20 respectively-->
<key <key
commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation" commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation"
contextId="gov.noaa.nws.ncep.viz.ui.display.NCMapContext" contextId="gov.noaa.nws.ncep.viz.ui.perspectives.NCPerspectiveContext"
schemeId="com.raytheon.viz.ui.awips.scheme" schemeId="com.raytheon.viz.ui.awips.scheme"
sequence="F1"> sequence="F1">
<parameter id="keyNum" value="1"/> <parameter id="keyNum" value="1"/>
@ -328,7 +328,7 @@
<key <key
commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation" commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation"
contextId="gov.noaa.nws.ncep.viz.ui.display.NCMapContext" contextId="gov.noaa.nws.ncep.viz.ui.perspectives.NCPerspectiveContext"
schemeId="com.raytheon.viz.ui.awips.scheme" schemeId="com.raytheon.viz.ui.awips.scheme"
sequence="F2"> sequence="F2">
<parameter id="keyNum" value="2"/> <parameter id="keyNum" value="2"/>
@ -336,7 +336,7 @@
<key <key
commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation" commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation"
contextId="gov.noaa.nws.ncep.viz.ui.display.NCMapContext" contextId="gov.noaa.nws.ncep.viz.ui.perspectives.NCPerspectiveContext"
schemeId="com.raytheon.viz.ui.awips.scheme" schemeId="com.raytheon.viz.ui.awips.scheme"
sequence="F3"> sequence="F3">
<parameter id="keyNum" value="3"/> <parameter id="keyNum" value="3"/>
@ -344,7 +344,7 @@
<key <key
commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation" commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation"
contextId="gov.noaa.nws.ncep.viz.ui.display.NCMapContext" contextId="gov.noaa.nws.ncep.viz.ui.perspectives.NCPerspectiveContext"
schemeId="com.raytheon.viz.ui.awips.scheme" schemeId="com.raytheon.viz.ui.awips.scheme"
sequence="F4"> sequence="F4">
<parameter id="keyNum" value="4"/> <parameter id="keyNum" value="4"/>
@ -352,7 +352,7 @@
<key <key
commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation" commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation"
contextId="gov.noaa.nws.ncep.viz.ui.display.NCMapContext" contextId="gov.noaa.nws.ncep.viz.ui.perspectives.NCPerspectiveContext"
schemeId="com.raytheon.viz.ui.awips.scheme" schemeId="com.raytheon.viz.ui.awips.scheme"
sequence="F5"> sequence="F5">
<parameter id="keyNum" value="5"/> <parameter id="keyNum" value="5"/>
@ -360,7 +360,7 @@
<key <key
commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation" commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation"
contextId="gov.noaa.nws.ncep.viz.ui.display.NCMapContext" contextId="gov.noaa.nws.ncep.viz.ui.perspectives.NCPerspectiveContext"
schemeId="com.raytheon.viz.ui.awips.scheme" schemeId="com.raytheon.viz.ui.awips.scheme"
sequence="F6"> sequence="F6">
<parameter id="keyNum" value="6"/> <parameter id="keyNum" value="6"/>
@ -368,7 +368,7 @@
<key <key
commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation" commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation"
contextId="gov.noaa.nws.ncep.viz.ui.display.NCMapContext" contextId="gov.noaa.nws.ncep.viz.ui.perspectives.NCPerspectiveContext"
schemeId="com.raytheon.viz.ui.awips.scheme" schemeId="com.raytheon.viz.ui.awips.scheme"
sequence="F7"> sequence="F7">
<parameter id="keyNum" value="7"/> <parameter id="keyNum" value="7"/>
@ -376,7 +376,7 @@
<key <key
commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation" commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation"
contextId="gov.noaa.nws.ncep.viz.ui.display.NCMapContext" contextId="gov.noaa.nws.ncep.viz.ui.perspectives.NCPerspectiveContext"
schemeId="com.raytheon.viz.ui.awips.scheme" schemeId="com.raytheon.viz.ui.awips.scheme"
sequence="F8"> sequence="F8">
<parameter id="keyNum" value="8"/> <parameter id="keyNum" value="8"/>
@ -384,7 +384,7 @@
<key <key
commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation" commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation"
contextId="gov.noaa.nws.ncep.viz.ui.display.NCMapContext" contextId="gov.noaa.nws.ncep.viz.ui.perspectives.NCPerspectiveContext"
schemeId="com.raytheon.viz.ui.awips.scheme" schemeId="com.raytheon.viz.ui.awips.scheme"
sequence="F9"> sequence="F9">
<parameter id="keyNum" value="9"/> <parameter id="keyNum" value="9"/>
@ -392,14 +392,14 @@
<key <key
commandId="" commandId=""
contextId="gov.noaa.nws.ncep.viz.ui.display.NCMapContext" contextId="gov.noaa.nws.ncep.viz.ui.perspectives.NCPerspectiveContext"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="F10"> sequence="F10">
</key> </key>
<key <key
commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation" commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation"
contextId="gov.noaa.nws.ncep.viz.ui.display.NCMapContext" contextId="gov.noaa.nws.ncep.viz.ui.perspectives.NCPerspectiveContext"
schemeId="com.raytheon.viz.ui.awips.scheme" schemeId="com.raytheon.viz.ui.awips.scheme"
sequence="F10"> sequence="F10">
<parameter id="keyNum" value="10"/> <parameter id="keyNum" value="10"/>
@ -407,7 +407,7 @@
<key <key
commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation" commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation"
contextId="gov.noaa.nws.ncep.viz.ui.display.NCMapContext" contextId="gov.noaa.nws.ncep.viz.ui.perspectives.NCPerspectiveContext"
schemeId="com.raytheon.viz.ui.awips.scheme" schemeId="com.raytheon.viz.ui.awips.scheme"
sequence="M2+F1"> sequence="M2+F1">
<parameter id="keyNum" value="11"/> <parameter id="keyNum" value="11"/>
@ -415,7 +415,7 @@
<key <key
commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation" commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation"
contextId="gov.noaa.nws.ncep.viz.ui.display.NCMapContext" contextId="gov.noaa.nws.ncep.viz.ui.perspectives.NCPerspectiveContext"
schemeId="com.raytheon.viz.ui.awips.scheme" schemeId="com.raytheon.viz.ui.awips.scheme"
sequence="M2+F2"> sequence="M2+F2">
<parameter id="keyNum" value="12"/> <parameter id="keyNum" value="12"/>
@ -423,7 +423,7 @@
<key <key
commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation" commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation"
contextId="gov.noaa.nws.ncep.viz.ui.display.NCMapContext" contextId="gov.noaa.nws.ncep.viz.ui.perspectives.NCPerspectiveContext"
schemeId="com.raytheon.viz.ui.awips.scheme" schemeId="com.raytheon.viz.ui.awips.scheme"
sequence="M2+F3"> sequence="M2+F3">
<parameter id="keyNum" value="13"/> <parameter id="keyNum" value="13"/>
@ -431,7 +431,7 @@
<key <key
commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation" commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation"
contextId="gov.noaa.nws.ncep.viz.ui.display.NCMapContext" contextId="gov.noaa.nws.ncep.viz.ui.perspectives.NCPerspectiveContext"
schemeId="com.raytheon.viz.ui.awips.scheme" schemeId="com.raytheon.viz.ui.awips.scheme"
sequence="M2+F4"> sequence="M2+F4">
<parameter id="keyNum" value="14"/> <parameter id="keyNum" value="14"/>
@ -439,7 +439,7 @@
<key <key
commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation" commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation"
contextId="gov.noaa.nws.ncep.viz.ui.display.NCMapContext" contextId="gov.noaa.nws.ncep.viz.ui.perspectives.NCPerspectiveContext"
schemeId="com.raytheon.viz.ui.awips.scheme" schemeId="com.raytheon.viz.ui.awips.scheme"
sequence="M2+F5"> sequence="M2+F5">
<parameter id="keyNum" value="15"/> <parameter id="keyNum" value="15"/>
@ -447,7 +447,7 @@
<key <key
commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation" commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation"
contextId="gov.noaa.nws.ncep.viz.ui.display.NCMapContext" contextId="gov.noaa.nws.ncep.viz.ui.perspectives.NCPerspectiveContext"
schemeId="com.raytheon.viz.ui.awips.scheme" schemeId="com.raytheon.viz.ui.awips.scheme"
sequence="M2+F6"> sequence="M2+F6">
<parameter id="keyNum" value="16"/> <parameter id="keyNum" value="16"/>
@ -455,7 +455,7 @@
<key <key
commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation" commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation"
contextId="gov.noaa.nws.ncep.viz.ui.display.NCMapContext" contextId="gov.noaa.nws.ncep.viz.ui.perspectives.NCPerspectiveContext"
schemeId="com.raytheon.viz.ui.awips.scheme" schemeId="com.raytheon.viz.ui.awips.scheme"
sequence="M2+F7"> sequence="M2+F7">
<parameter id="keyNum" value="17"/> <parameter id="keyNum" value="17"/>
@ -463,7 +463,7 @@
<key <key
commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation" commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation"
contextId="gov.noaa.nws.ncep.viz.ui.display.NCMapContext" contextId="gov.noaa.nws.ncep.viz.ui.perspectives.NCPerspectiveContext"
schemeId="com.raytheon.viz.ui.awips.scheme" schemeId="com.raytheon.viz.ui.awips.scheme"
sequence="M2+F8"> sequence="M2+F8">
<parameter id="keyNum" value="18"/> <parameter id="keyNum" value="18"/>
@ -471,7 +471,7 @@
<key <key
commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation" commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation"
contextId="gov.noaa.nws.ncep.viz.ui.display.NCMapContext" contextId="gov.noaa.nws.ncep.viz.ui.perspectives.NCPerspectiveContext"
schemeId="com.raytheon.viz.ui.awips.scheme" schemeId="com.raytheon.viz.ui.awips.scheme"
sequence="M2+F9"> sequence="M2+F9">
<parameter id="keyNum" value="19"/> <parameter id="keyNum" value="19"/>
@ -479,7 +479,7 @@
<key <key
commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation" commandId="gov.noaa.nws.ncep.viz.tools.hotKeys.tabNavigation"
contextId="gov.noaa.nws.ncep.viz.ui.display.NCMapContext" contextId="gov.noaa.nws.ncep.viz.ui.perspectives.NCPerspectiveContext"
schemeId="com.raytheon.viz.ui.awips.scheme" schemeId="com.raytheon.viz.ui.awips.scheme"
sequence="M2+F10"> sequence="M2+F10">
<parameter id="keyNum" value="20"/> <parameter id="keyNum" value="20"/>
@ -495,7 +495,7 @@
<!-- its easter egg time --> <!-- its easter egg time -->
<key <key
commandId="gov.noaa.nws.ncep.viz.ui.ncInventoryControl" commandId="gov.noaa.nws.ncep.viz.ui.ncInventoryControl"
contextId="gov.noaa.nws.ncep.viz.ui.display.NCMapContext" contextId="gov.noaa.nws.ncep.viz.ui.perspectives.NCPerspectiveContext"
schemeId="com.raytheon.viz.ui.awips.scheme" schemeId="com.raytheon.viz.ui.awips.scheme"
sequence="ALT+I"> sequence="ALT+I">
</key> </key>

View file

@ -22,6 +22,20 @@
id="gov.noaa.nws.ncep.ui.pgen.pgenContext" id="gov.noaa.nws.ncep.ui.pgen.pgenContext"
name="Natl Centers PGEN Context"> name="Natl Centers PGEN Context">
</context> </context>
<context
description="The Natl Centers Perspective Context"
id="gov.noaa.nws.ncep.viz.ui.perspectives.NCPerspectiveContext"
name="Natl Centers Perspective Context">
</context>
</extension>
<extension
point="com.raytheon.uf.viz.core.classContext">
<classContext
class="gov.noaa.nws.ncep.viz.ui.display.NCMapEditor">
<contextId
id="gov.noaa.nws.ncep.viz.ui.display.NCMapContext">
</contextId>
</classContext>
</extension> </extension>
<!-- <!--
<extension <extension

View file

@ -930,13 +930,13 @@
</extension> </extension>
<!--Definition of the NCMapContext --> <!--Definition of the NCPerspectiveContext -->
<extension <extension
point="com.raytheon.uf.viz.core.classContext"> point="com.raytheon.uf.viz.core.classContext">
<classContext <classContext
class="gov.noaa.nws.ncep.viz.ui.perspectives.NCPerspectiveManager"> class="gov.noaa.nws.ncep.viz.ui.perspectives.NCPerspectiveManager">
<contextId <contextId
id="gov.noaa.nws.ncep.viz.ui.display.NCMapContext"> id="gov.noaa.nws.ncep.viz.ui.perspectives.NCPerspectiveContext">
</contextId> </contextId>
</classContext> </classContext>
</extension> </extension>