views:

33

answers:

2
          <menu
               label="%RunMenu.label"
               path="additions"
               id="org.eclipse.ui.run">
            <separator
                  name="stepGroup">
            </separator>
            <groupMarker
                  name="stepIntoGroup">
            </groupMarker>
            <groupMarker
                  name="stepOverGroup">
            </groupMarker>
            <groupMarker
                  name="stepReturnGroup">
            </groupMarker>
            <groupMarker
                  name="emptyStepGroup">
            </groupMarker>
         </menu>

i want to have one more action in the Run menu of the eclipse. So i was trying to understand the plugin.xml file, in which i found these lines. So can any one explain me what does these lines mean?

thanks.

+1  A: 

This article has a good introducion Contributing Actions to the Eclipse Workbench.

See also the feature.xml in the feature folder at the same level as the plugin folder of the plugin you wan't to modify.

stacker
A: 

Looks like XML is part of "Run" menu for "Debug" perspective in eclipse.

This XML defines menu contributed by Debug perspective to Run menu. Action for each of these may be defined somewhere else.

For more details you can go through "Menu and Toolbar" section from eclipse help.

You can also check following links:

http://www.ibm.com/developerworks/library/os-ecplug/

http://www.eclipse.org/articles/article.php?file=Article-action-contribution/index.html

YoK