Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » KeyBinding - is this correct?
KeyBinding - is this correct? [message #50430] Tue, 27 May 2003 15:32
Eclipse UserFriend
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
Previous Topic:Problem Running Eclipse on Sun
Next Topic:Linux non root user
Goto Forum:
  


Current Time: Tue Jul 08 20:18:29 EDT 2025

Powered by FUDForum. Page generated in 0.04086 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top