KeyBinding - is this correct? [message #50430] |
Tue, 27 May 2003 15:32 |
Eclipse User |
|
|
|
Hi,
I want to add the JDT Goto Next/Previous Member keybindings to my wiki
editor. So I added this to the plugin.xml:
<extension point="org.eclipse.ui.commands">
<scope
name="Wiki Editor Scope"
parent="org.eclipse.jdt.ui.javaEditorScope"
description="Scope for the Wiki Text Editor"
id="com.teaminabox.eclipse.wiki.wikiEditorScope">
</scope>
</extension>
and this to my TextEditor subclass:
protected void initializeKeyBindingScopes() {
setKeyBindingScopes(new String[] {
"org.eclipse.jdt.ui.javaEditorScope" });
}
This worked, but I would like to know if this is the right way of doing
things.
Thanks,
Channing
|
|
|
Powered by
FUDForum. Page generated in 0.04086 seconds