avoid OutOfBoundsException and break of format action, when marker positions are...
[phpeclipse.git] / net.sourceforge.phpeclipse.tests / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.0"?>
3 <plugin
4    id="net.sourceforge.phpeclipse.tests"
5    name="Core Tests"
6    version="1.1.0"
7    provider-name="phpeclipse.net">
8
9    <runtime>
10       <library name="coretests.jar"/>
11    </runtime>
12    <requires>
13       <import plugin="org.eclipse.core.runtime.compatibility"/>
14       <import plugin="org.eclipse.ui.ide"/>
15       <import plugin="org.eclipse.ui.views"/>
16       <import plugin="org.eclipse.ui.workbench.texteditor"/>
17       <import plugin="org.eclipse.ui.editors"/>
18       <import plugin="org.eclipse.ui"/>
19       <import plugin="org.junit"/>
20       <import plugin="net.sourceforge.phpeclipse"/>
21       <import plugin="org.eclipse.core.runtime"/>
22       <import plugin="org.eclipse.jface.text"/>
23       <import plugin="org.eclipse.core.resources"/>
24    </requires>
25 <!-- <import plugin="org.apache.lucene"/> -->
26    <extension
27          point="org.eclipse.ui.popupMenus">
28       <objectContribution
29             objectClass="net.sourceforge.phpdt.core.IImportDeclaration"
30             id="net.sourceforge.phpdt.import">
31          <menu
32                label="IncludeTest"
33                path="additions"
34                id="net.sourceforge.phpdt.import1">
35             <separator
36                   name="mainActionsGroup">
37             </separator>
38             <separator
39                   name="actionsGroup">
40             </separator>
41             <separator
42                   name="infoGroup">
43             </separator>
44          </menu>
45          <action
46                label="Do nothing 1"
47                class="net.sourceforge.phpeclipse.example.outline.Import2Console"
48                menubarPath="net.sourceforge.phpdt.import1/infoGroup"
49                enablesFor="1"
50                id="net.sourceforge.phpdt.donothing1">
51          </action>
52          <action
53                label="Print source to Console"
54                class="net.sourceforge.phpeclipse.example.outline.Import2Console"
55                menubarPath="net.sourceforge.phpdt.import1/actionsGroup"
56                enablesFor="1"
57                id="net.sourceforge.example.outline.Import2Console">
58          </action>
59          <action
60                label="Do nothing 2"
61                class="net.sourceforge.phpeclipse.example.outline.Import2Console"
62                menubarPath="net.sourceforge.phpdt.import1/mainActionsGroup"
63                enablesFor="1"
64                id="net.sourceforge.phpdt.donothing2">
65          </action>
66       </objectContribution>
67    </extension>
68       <extension
69          point="org.eclipse.ui.popupMenus">
70       <objectContribution
71             objectClass="net.sourceforge.phpdt.core.IType"
72             id="net.sourceforge.phpdt.type">
73          <menu
74                label="TypeTest"
75                path="additions"
76                id="net.sourceforge.phpdt.type1">
77             <separator
78                   name="mainActionsGroup">
79             </separator>
80             <separator
81                   name="actionsGroup">
82             </separator>
83             <separator
84                   name="infoGroup">
85             </separator>
86          </menu>
87          <action
88                label="Do nothing 3"
89                class="net.sourceforge.phpeclipse.example.outline.Type2Console"
90                menubarPath="net.sourceforge.phpdt.type1/infoGroup"
91                enablesFor="1"
92                id="net.sourceforge.phpdt.donothing3">
93          </action>
94          <action
95                label="Print source to Console"
96                class="net.sourceforge.phpeclipse.example.outline.Type2Console"
97                menubarPath="net.sourceforge.phpdt.type1/actionsGroup"
98                enablesFor="1"
99                id="net.sourceforge.example.outline.Type2Console">
100          </action>
101          <action
102                label="Do nothing 4"
103                class="net.sourceforge.phpeclipse.example.outline.Type2Console"
104                menubarPath="net.sourceforge.phpdt.type1/mainActionsGroup"
105                enablesFor="1"
106                id="net.sourceforge.phpdt.donothing4">
107          </action>
108       </objectContribution>
109    </extension>
110 </plugin>