Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Can a custom Step Menu be added to just under the Step return menu ?
Can a custom Step Menu be added to just under the Step return menu ? [message #10552] Thu, 24 April 2003 10:17 Go to next message
Eclipse UserFriend
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 #10618 is a reply to message #10552] Thu, 24 April 2003 10:22 Go to previous messageGo to next message
Eclipse UserFriend
I just responded in eclipse.tools.
Please see that response and then continue the conversation here

Darins

"Marcio" <mqmnews321@sglebs.com> wrote in message
news:Xns936769167963Bmyidtoken@204.138.98.10...
> [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 #10809 is a reply to message #10618] Thu, 24 April 2003 11:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mqmnews321.sglebs.com

"Darin Swanson" <Darin_Swanson@us.ibm.com> wrote in
news:b88rpb$3ll$1@rogue.oti.com:

> I just responded in eclipse.tools.
> Please see that response and then continue the conversation here
>

You said:
---- cut here -------
You can contribute your action to the step return group which contains the
Step return action:

menubarPath="org.eclipse.ui.run/stepReturnGroup">
---- cut here -------


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.

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 Go to previous message
Eclipse UserFriend
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>
Previous Topic:[properties Dialog] property pages order
Next Topic:[JFace] CheckboxCellEditor has bad UI except in first column
Goto Forum:
  


Current Time: Sat May 10 16:16:42 EDT 2025

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

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

Back to the top