开发者

what does the following lines of code mean in eclipse plugin.xml?

          <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>
开发者_StackOverflow            <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.


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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜