Developing Eclipse plug-ins, the need to increase the pop-up menu shortcuts

Category: Eclipse
 
hgznkwxj
2011-03-28 12:42:36

Sponsored Links
Developing Eclipse plug-ins, the need to increase the pop-up menu shortcuts
query commands need to be set with the help of Eclipse and bindings two extension points.

but were unable to successfully set

Who can give a successful sample

Sponsored Links

ysdy0000
2011-03-28 12:58:00
eclipse his own example, you look at it to understand

popup's action
<action
; label = "% StepIntoAction.label"
icon = "$ nl $ / icons/full/elcl16/stepinto_co.gif"
helpContextId = "step_into_action_context"
definitionId = "org.eclipse.debug.ui.commands.StepInto"
class = "org.eclipse.debug.internal.ui.actions.StepIntoActionDelegate"
menubarPath = "stepIntoGroup"
enablesFor = "1"
id = "org.eclipse.debug.ui. debugview.popupMenu.stepInto ">
<selection
; class = "org.eclipse.debug.core.model.IStep">
</selection>
</action>

<! - commands and their bindings
NOTE:
M1 = CTRL / COMMAND
M2 = SHIFT
M3 = ALT
M4 = Platform-specific fourth key
->
commands:
<command
name = "% ActionDefinition.stepInto.name"
categoryId = "org.eclipse.debug.ui. category.run "
description ="% ActionDefinition.stepInto.description "
; id = "org.eclipse.debug.ui.commands.StepInto">
; </command>

Shortcuts:
<extension point="org.eclipse.ui.bindings">
; <key
sequence = "F5"
contextId = "org.eclipse.debug.ui.debugging"
commandId = "org.eclipse.debug.ui.commands.StepInto"
schemeId = "org.eclipse.ui.defaultAcceleratorConfiguration" />
intobigrain
2011-03-28 01:06:30
re
Domain and server ip had changed since 8/23/2013. Suspend the user registration and posts for program maintenance.