Moved the code in the "tests" plugin (plural) to the "test" fragment (singular)....
[phpeclipse.git] / net.sourceforge.phpeclipse.phphelp / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.2"?>
3 <plugin>
4    <extension
5          point="org.eclipse.ui.popupMenus">
6       <viewerContribution
7             targetID="#PHPEditorContext"
8             id="net.sourceforge.phpdt.phphelp.actions.popup.editor">
9          <action
10                definitionId="net.sourceforge.phpdt.phphelp.actions.contexthelp"
11                label="%phphelpLabel"
12                class="net.sourceforge.phpdt.phphelp.actions.PHPEclipseShowContextHelp"
13                menubarPath="additions"
14                id="net.sourceforge.phpdt.phphelp.actions.PHPEclipseShowContextHelp">
15          </action>
16       </viewerContribution>
17    </extension>
18    <extension
19          point="org.eclipse.ui.editorActions">
20       <editorContribution
21             id="net.sourceforge.phpdt.phphelp.actions"
22             targetID="net.sourceforge.phpeclipse.PHPUnitEditor">
23          <action
24                definitionId="net.sourceforge.phpdt.phphelp.actions.contexthelp"
25                label="PHP Help"
26                class="net.sourceforge.phpdt.phphelp.actions.PHPEclipseShowContextHelp"
27                id="net.sourceforge.phpdt.phphelp.actions.PHPEclipseShowContextHelp">
28          </action>
29          <action
30                definitionId="net.sourceforge.phpdt.httpquery.localhost"
31                label="Localhost"
32                class="net.sourceforge.phpdt.httpquery.LocalhostAction"
33                id="net.sourceforge.phpdt.httpquery.LocalhostAction">
34          </action>
35          <action
36                        definitionId="net.sourceforge.phpdt.httpquery.google"
37                label="Google.com"
38                class="net.sourceforge.phpdt.httpquery.GoogleAction"
39                id="net.sourceforge.phpdt.httpquery.GoogleAction">
40          </action>
41          <action
42                definitionId="net.sourceforge.phpdt.httpquery.phpmanual"
43                label="PHP Manual"
44                class="net.sourceforge.phpdt.httpquery.PHPHelpAction"
45                id="net.sourceforge.phpdt.httpquery.PHPHelpAction">
46          </action>
47       </editorContribution>
48    </extension>
49    <extension point="org.eclipse.ui.contexts">
50       <context
51         name="%context.editingPHPSource.name"
52         description="%context.editingPHPSource.description"
53         parentId="org.eclipse.ui.textEditorScope"
54         id="net.sourceforge.phpdt.ui.phpEditorScope" />
55    </extension>
56
57
58    <extension
59          point="org.eclipse.help.toc">
60       <toc
61             file="phphelp.xml"
62             primary="true">
63       </toc>
64    </extension>
65    <extension
66          point="org.eclipse.ui.preferencePages">
67       <page
68             name="%phphelpFormat"
69             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
70             class="net.sourceforge.phpdt.phphelp.PHPHelpPreferencePage"
71             id="net.sourceforge.phpdt.phphelp.PHPHelpPreferencePage">
72       </page>
73       <page
74            name="%httpQuery"
75            category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
76            class="net.sourceforge.phpdt.httpquery.preferences.ConfigurationPreferencePage"
77            id="net.sourceforge.phpdt.httpquery.preferences.configurationPreferencePage">
78       </page>
79    </extension>
80
81    <extension
82          point="org.eclipse.ui.popupMenus">
83       <viewerContribution
84             targetID="#PHPEditorContext"
85             id="net.sourceforge.phpdt.phphelp.actions.httpquery">
86          <menu
87                         id="httpqueryMenu"
88                         label="%HTTPQuery.label"
89                         path="rest">
90                  </menu>
91                  <action
92                        definitionId="net.sourceforge.phpdt.httpquery.koders"
93                label="Koders.com"
94                class="net.sourceforge.phpdt.httpquery.KodersAction"
95                menubarPath="httpqueryMenu/additions"
96                id="net.sourceforge.phpdt.httpquery.KodersAction">
97          </action>
98                  <action
99                        definitionId="net.sourceforge.phpdt.httpquery.google"
100                label="Google.com"
101                class="net.sourceforge.phpdt.httpquery.GoogleAction"
102                menubarPath="httpqueryMenu/additions"
103                id="net.sourceforge.phpdt.httpquery.GoogleAction">
104          </action>
105          <action
106                definitionId="net.sourceforge.phpdt.httpquery.phpmanual"
107                label="PHP Manual"
108                class="net.sourceforge.phpdt.httpquery.PHPHelpAction"
109                menubarPath="httpqueryMenu/additions"
110                id="net.sourceforge.phpdt.httpquery.PHPHelpAction">
111          </action>
112          <action
113                definitionId="net.sourceforge.phpdt.httpquery.localhost"
114                label="Localhost"
115                class="net.sourceforge.phpdt.httpquery.LocalhostAction"
116                menubarPath="httpqueryMenu/additions"
117                id="net.sourceforge.phpdt.httpquery.LocalhostAction">
118          </action>
119                  <action
120                label="HTTP Query..."
121                class="net.sourceforge.phpdt.httpquery.HTTPQueryAction"
122                menubarPath="httpqueryMenu/additions"
123                id="net.sourceforge.phpdt.httpquery.HTTPQueryAction">
124          </action>
125       </viewerContribution>
126     </extension>
127
128     <extension
129          point="org.eclipse.ui.commands">
130       <category
131             name="%category.source.name"
132             description="%category.source.description"
133             id="net.sourceforge.phpeclipse.ui.category.source">
134       </category>
135
136       <command
137             name="%ActionDefinition.contexthelp.name"
138             description="%ActionDefinition.contexthelp.description"
139             categoryId="net.sourceforge.phpeclipse.ui.category.source"
140             id="net.sourceforge.phpdt.phphelp.actions.contexthelp">
141       </command>
142       <command
143             name="Localhost"
144             description="Open localhost"
145             categoryId="net.sourceforge.phpeclipse.ui.category.source"
146             id="net.sourceforge.phpdt.httpquery.localhost">
147       </command>
148       <command
149             name="Localhost"
150             description="Open localhost"
151             categoryId="net.sourceforge.phpeclipse.ui.category.source"
152             id="net.sourceforge.phpdt.httpquery.localhost">
153       </command>
154       <command
155             name="Google"
156             description="Open Google.com"
157             categoryId="net.sourceforge.phpeclipse.ui.category.source"
158             id="net.sourceforge.phpdt.httpquery.google">
159       </command>
160       <command
161             name="PHP Manual"
162             description="Open PHP Manual"
163             categoryId="net.sourceforge.phpeclipse.ui.category.source"
164             id="net.sourceforge.phpdt.httpquery.phpmanual">
165       </command>
166
167      </extension>
168
169      <extension
170          point="org.eclipse.ui.bindings">
171       <key
172             sequence="Ctrl+Shift+H"
173             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
174             commandId="net.sourceforge.phpdt.phphelp.actions.contexthelp"
175             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
176       </key>
177       <key
178             sequence="Ctrl+F8"
179             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
180             commandId="net.sourceforge.phpdt.httpquery.localhost"
181             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
182       </key>
183       <key
184             sequence="Ctrl+Shift+G"
185             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
186             commandId="net.sourceforge.phpdt.httpquery.google"
187             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
188       </key>
189       <key
190             sequence="Ctrl+Shift+O"
191             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
192             commandId="net.sourceforge.phpdt.httpquery.phpmanual"
193             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
194       </key>
195    </extension>
196 </plugin>