Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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] Thu, 23 September 2010 03:23 Go to next message
Jeffery Yuan is currently offline Jeffery YuanFriend
Messages: 27
Registered: July 2009
Junior Member
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 18:54 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

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: Fri Apr 19 21:06:50 GMT 2024

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

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

Back to the top