File: plugin.xml

package info (click to toggle)
eclipse-platform-ui 4.30-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 93,944 kB
  • sloc: java: 830,957; xml: 25,107; makefile: 7
file content (35 lines) | stat: -rw-r--r-- 1,432 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?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>