| <?xml version="1.0" encoding="UTF-8"?> |
| <?eclipse version="3.2"?> |
| <plugin> |
| <extension |
| id="menu.invalid.menu.contribution" |
| point="org.eclipse.ui.menus"> |
| <!-- The entry below purposely references an unknown command id. This is for |
| testing that invalid commands will not prevent the workbench from |
| starting up, see bug 275301 for details. --> |
| <menuContribution |
| locationURI="menu:file?after=additions"> |
| <command |
| commandId="test275301.unknownCommand" |
| label="label" |
| style="push"> |
| </command> |
| </menuContribution> |
| <!-- End of bug 275301 entry. --> |
| </extension> |
| <!-- The entry below purposely references a class that doesn't exist to force |
| the contribution to not be created. This forces the createControl(Composite) |
| method of ControlContribution to return null. See bug 371611 for details. --> |
| <extension |
| id="menu.invalid.toolbar.contribution.bug371611" |
| point="org.eclipse.ui.menus"> |
| <menuContribution locationURI="toolbar:org.eclipse.ui.trim.command2"> |
| <toolbar id="org.eclipse.ui.tests.bug371611"> |
| <control |
| class="org.eclipse.ui.tests.Bug371611" |
| id="org.eclipse.ui.tests.bug371611.control"/> |
| </toolbar> |
| </menuContribution> |
| </extension> |
| <!-- End of bug 371611 entry. --> |
| </plugin> |