Can a custom Step Menu be added to just under the Step return menu ? [message #10552] |
Thu, 24 April 2003 10:17  |
Eclipse User |
|
|
|
Originally posted by: mqmnews321.sglebs.com
[reposting fom deprecated group]
Hi,
I have my own special step button in the toolbar, and also trying to
add an equivalent menu option under Run. I managed to get it in a separate
group/divider. I'd like, however, to add it just below the Step Return
option, before the divider. Is that possible ?
In one of my many attempts I was able to make the Step Return show up
with my own Step (much to my surprise), in my own group, but that's the
opposite from what I want.
Maybe it can't be done ? If it can be done... any example of how to
do it ?
Thanks,
marcio
|
|
|
|
|
Re: Can a custom Step Menu be added to just under the Step return menu ? [message #11931 is a reply to message #10809] |
Thu, 24 April 2003 11:30  |
Eclipse User |
|
|
|
Originally posted by: mqmnews321.sglebs.com
> That was one of my attempts, but what happened was the Step
> Return menu
> item appeared together with my own step, in a separate group. I had a
> side- effect of changing its location instead of making mine appear
> with it. Bizarre.
>
> I will try to make a small plugin with just this piece and
> put it here,
> so you can see what I mean.
Here's an example. The Step/Return appears in my own group instead of
me appearing in its group. (You may have to close/reopen the DBG
perspective to see the new step icon in the menu)
Did I miss anything ?
Thanks,
marcio
<extension point="org.eclipse.ui.actionSets">
<actionSet
label="Sglebs Action Set"
visible="true"
id="com.sglebs.SglebsActionSet">
<menu
label="Run"
id="org.eclipse.ui.run"
path="additions">
<separator name="sglebsGroup"/>
</menu>
<action id="com.sglebs.runmenu.stepFind"
definitionId="com.sglebs.runmenu.stepFind"
label="Step/special @Ctrl+Alt+F7"
icon="icons/stepspecial.gif"
class="com.sglebs.step.StepSpecialActionDelegate"
menubarPath="org.eclipse.ui.run/stepReturnGroup">
<selection
class="org.eclipse.debug.core.model.IStep">
</selection>
</action>
</actionSet>
</extension>
|
|
|
Powered by
FUDForum. Page generated in 0.05324 seconds