how to set 'hot' keys for actions [message #210100] |
Thu, 11 March 2004 18:15 |
Eclipse User |
|
|
|
Hello,
we try to set key for certain action, we are running application as RCP,
This is in one plugin.xml, then the set the action's definitid,
like definitionId="com.infoinc.rapid.plugins.postinggrid.editors.save ",
which is actually assigned to command id.
but it does not work,
could you tell me anyting I need to update?
Thanks,
qhd
<extension
id="com.infoinc.postinggrid.editors.commands"
name="NewInstance"
point="org.eclipse.ui.commands">
<category
name="PostingGrid"
description="postingGrid edit"
id="com.infoinc.rapid.plugins.postinggrid.category">
</category>
<command
name="Save"
category="com.infoinc.rapid.plugins.postinggrid.category"
description="save data in table viewer to database"
id="com.infoinc.rapid.plugins.postinggrid.editors.save">
</command>
<keyBinding
string="Ctrl+S"
scope="org.eclipse.ui.globalScope"
command="com.infoinc.rapid.plugins.postinggrid.editors.save ">
</keyBinding>
<activeKeyConfiguration
keyConfigurationId="org.eclipse.ui.defaultAcceleratorConfiguration ">
</activeKeyConfiguration>
</extension>
|
|
|
Powered by
FUDForum. Page generated in 0.03571 seconds