| <?xml version="1.0" encoding="UTF-8"?> |
| <?eclipse version="3.4"?> |
| <plugin> |
| <extension |
| point="org.eclipse.ui.commands"> |
| <category |
| description="Gendoc" |
| id="org.eclipse.gendoc.category" |
| name="Gendoc"> |
| </category> |
| <command |
| categoryId="org.eclipse.gendoc.category" |
| description="Generate documentation using Gendoc" |
| id="org.eclipse.gendoc.script" |
| name="Generate documentation using Gendoc"> |
| </command> |
| </extension> |
| <extension |
| point="org.eclipse.ui.menus"> |
| <menuContribution |
| allPopups="false" |
| locationURI="popup:org.eclipse.ui.popup.any?after=additions"> |
| <command |
| commandId="org.eclipse.gendoc.script" |
| icon="icons/gendoc16.ico" |
| label="Generate documentation using Gendoc" |
| style="push"> |
| <visibleWhen |
| checkEnabled="false"> |
| <or> |
| <with |
| variable="activePartId"> |
| <equals |
| value="org.eclipse.ui.navigator.ProjectExplorer"> |
| </equals> |
| </with> |
| </or> |
| </visibleWhen> |
| </command> |
| </menuContribution> |
| </extension> |
| |
| |
| </plugin> |