Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scharf2006-12-16 01:14:22 +0000
committerMichael Scharf2006-12-16 01:14:22 +0000
commit7ac215b39e5003bd42b3c643e8ef8ee5385da58e (patch)
tree68b824f5dd2c565623103ee5c676fabe323b7f9e /terminal/org.eclipse.tm.terminal/plugin.xml
parentf7230852a2845e22e0a695bc13acdbd7f24129c4 (diff)
downloadorg.eclipse.tm-7ac215b39e5003bd42b3c643e8ef8ee5385da58e.tar.gz
org.eclipse.tm-7ac215b39e5003bd42b3c643e8ef8ee5385da58e.tar.xz
org.eclipse.tm-7ac215b39e5003bd42b3c643e8ef8ee5385da58e.zip
bug 168183: [terminal] Exception logged when switching to terminal view for the first time
https://bugs.eclipse.org/bugs/show_bug.cgi?id=168183 moved the context and key bindings to the terminal plugin
Diffstat (limited to 'terminal/org.eclipse.tm.terminal/plugin.xml')
-rw-r--r--terminal/org.eclipse.tm.terminal/plugin.xml68
1 files changed, 68 insertions, 0 deletions
diff --git a/terminal/org.eclipse.tm.terminal/plugin.xml b/terminal/org.eclipse.tm.terminal/plugin.xml
index 9be93ce97..5fa64c8c4 100644
--- a/terminal/org.eclipse.tm.terminal/plugin.xml
+++ b/terminal/org.eclipse.tm.terminal/plugin.xml
@@ -17,4 +17,72 @@
point="org.eclipse.tm.terminal.terminalConnector">
<connector class="org.eclipse.tm.terminal.internal.telnet.TelnetConnector"/>
</extension>
+
+ <extension point="org.eclipse.ui.contexts">
+ <context
+ name="%terminal.context.name"
+ description="%terminal.context.description"
+ id="org.eclipse.tm.terminal.TerminalContext"
+ />
+ </extension>
+ <extension
+ point="org.eclipse.ui.bindings">
+ <!--
+ These keybindings are needed to disable the menu-activation keys (e.g.,
+ Alt-F for the File menu, etc.). The code in method
+ TerminalControl.TerminalFocusListener.focusGained() disables the Eclipse key
+ binding service, but it doesn't disable the global menu-activation
+ keys.
+ -->
+ <key
+ commandId="org.eclipse.tm.terminal.command1"
+ contextId="org.eclipse.tm.terminal.TerminalContext"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+ sequence="Alt+A"/>
+ <key
+ commandId="org.eclipse.tm.terminal.command1"
+ contextId="org.eclipse.tm.terminal.TerminalContext"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+ sequence="Alt+E"/>
+ <key
+ commandId="org.eclipse.tm.terminal.command1"
+ contextId="org.eclipse.tm.terminal.TerminalContext"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+ sequence="Alt+F"/>
+ <key
+ commandId="org.eclipse.tm.terminal.command1"
+ contextId="org.eclipse.tm.terminal.TerminalContext"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+ sequence="Alt+G"/>
+ <key
+ commandId="org.eclipse.tm.terminal.command1"
+ contextId="org.eclipse.tm.terminal.TerminalContext"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+ sequence="Alt+H"/>
+ <key
+ commandId="org.eclipse.tm.terminal.command1"
+ contextId="org.eclipse.tm.terminal.TerminalContext"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+ sequence="Alt+N"/>
+ <key
+ commandId="org.eclipse.tm.terminal.command1"
+ contextId="org.eclipse.tm.terminal.TerminalContext"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+ sequence="Alt+P"/>
+ <key
+ commandId="org.eclipse.tm.terminal.command1"
+ contextId="org.eclipse.tm.terminal.TerminalContext"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+ sequence="Alt+R"/>
+ <key
+ commandId="org.eclipse.tm.terminal.command1"
+ contextId="org.eclipse.tm.terminal.TerminalContext"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+ sequence="Alt+T"/>
+ <key
+ commandId="org.eclipse.tm.terminal.command1"
+ contextId="org.eclipse.tm.terminal.TerminalContext"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+ sequence="Alt+W"/>
+ </extension>
</plugin>

Back to the top