Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Remove default/emacs key binding scheme in keys preference
Remove default/emacs key binding scheme in keys preference [message #627650] Wed, 22 September 2010 23:23 Go to next message
Eclipse UserFriend
Hello.
I am trying to show keys preference window in our Eclipse RCP application.

I define our rcp own scheme, and want the "modify" tab only show my scheme in the "Scheme" drop down list.
As the default and emacs schemes don't make sense to our rcp application.
Is there a way to remove the default and emacs scheme?


Another problem is that, I add the key preference page as below, but Eclipse prompts that it is not encourage to access internal class.
- Access to referenced class 'org.eclipse.ui.internal.keys.KeysPreferencePage' in attribute 'class' is discouraged.
Is there any better way to add keys preference?
<extension
point="org.eclipse.ui.preferencePages">
<page
class="org.eclipse.ui.internal.keys.KeysPreferencePage"
id="com.ourcompany.preferencepages.page.keys"
name="Keys">
</page>
</extension>

Many thanks for any help and response : )
Re: Remove default/emacs key binding scheme in keys preference [message #628720 is a reply to message #627650] Thu, 23 September 2010 14:54 Go to previous message
Eclipse UserFriend
yuanyun.ken wrote:
> class="org.eclipse.ui.internal.keys.KeysPreferencePage"

Have a look at how we do it in the IDE, and see
org.eclipse.ui.ExtensionFactory

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm
Previous Topic:Basic eclipse with Tcp Example
Next Topic:modern/glossy UI with RCP
Goto Forum:
  


Current Time: Sat Aug 30 19:40:51 EDT 2025

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

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

Back to the top