This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
Hi everyone I have an RCP(Rich Client Platform) Application with different toolBar actions, what I want is to have a shortcut key for each action the toolbar. My actions have been created programatically in .java file not in an xml file.
I have a code but it doesn't respont when a shortcut key assigned to it is pressed.
>>>>>>>>My xml code>>>>>>>>>>>>>>>>
<extension point="org.eclipse.ui.commands"> <category id="UserManagementWorkStation.category" name="User Management Workstation"/> <command name="Undo all Modifications" description="Undo all Modifications" categoryId="UserManagementWorkStation.category" id="UserManagementWorkStation.openMessage"> </command> <keyBinding commandId="UserManagementWorkStation.openMessage" description="Add new User" keyConfigurationId="org.eclipse.ui.defaultAcceleratorConfiguration" keySequence= "CTRL+N"> </keyBinding> </extension> <<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>
The above java code is supposed to register the shortcut key is I am not mistaken.
Please help me guys I can't move from this point. Some people did give advice but its more Swing orientated I want the RCP orientated solution. [ July 21, 2005: Message edited by: Benjamin Malebana ]
Benjamin Malebana
Greenhorn
Joined: Jul 15, 2005
Posts: 7
posted
0
I got the shortcut keys working guys thank you. The problem I have just realised was that the CTRL+"ANY KEY" isn't working, then I resorted to Alt+"any key". Maybe its a problem of Eclipse 3.0 I am using, I am not sure.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.