0c79e524ad91cc65567f07577ce7fe7b12cc915c
[phpeclipse.git] / net.sourceforge.phpeclipse.phphelp / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.0"?>
3 <plugin
4    id="net.sourceforge.phpeclipse.phphelp"
5    name="%pluginName"
6    version="1.1.8"
7    provider-name="%providerName"
8    class="net.sourceforge.phpdt.phphelp.PHPHelpPlugin">
9
10    <runtime>
11       <library name="phphelp.jar">
12       <export name="*"/>
13       </library>
14    </runtime>
15    <requires>
16       <import plugin="org.eclipse.core.runtime"/>
17       <import plugin="org.eclipse.core.resources"/>
18       <import plugin="org.eclipse.ui"/>
19       <import plugin="org.eclipse.help"/>
20       <import plugin="org.eclipse.jface.text"/>
21       <import plugin="org.eclipse.swt"/>
22       <import plugin="net.sourceforge.phpeclipse"/>
23       <import plugin="net.sourceforge.phpeclipse.webbrowser"/>
24       <import plugin="org.eclipse.ui.editors"/>
25       <import plugin="org.eclipse.ui.workbench.texteditor"/>
26    </requires>
27    <extension
28          point="org.eclipse.ui.popupMenus">
29       <viewerContribution
30             targetID="#PHPEditorContext"
31             id="net.sourceforge.phpdt.phphelp.actions.popup.editor">
32          <action
33                definitionId="net.sourceforge.phpdt.phphelp.actions.contexthelp"
34                label="%phphelpLabel"
35                class="net.sourceforge.phpdt.phphelp.actions.PHPEclipseShowContextHelp"
36                menubarPath="additions"
37                id="net.sourceforge.phpdt.phphelp.actions.PHPEclipseShowContextHelp">
38          </action>
39       </viewerContribution>
40    </extension>
41    <extension
42          point="org.eclipse.ui.editorActions">
43       <editorContribution
44             id="net.sourceforge.phpdt.phphelp.actions"
45             targetID="net.sourceforge.phpeclipse.PHPUnitEditor">
46          <action
47                definitionId="net.sourceforge.phpdt.phphelp.actions.contexthelp"
48                label="PHP Help"
49                class="net.sourceforge.phpdt.phphelp.actions.PHPEclipseShowContextHelp"
50                id="net.sourceforge.phpdt.phphelp.actions.PHPEclipseShowContextHelp">
51          </action>
52          <action
53                definitionId="net.sourceforge.phpdt.httpquery.localhost"
54                label="Localhost"
55                class="net.sourceforge.phpdt.httpquery.LocalhostAction"
56                id="net.sourceforge.phpdt.httpquery.LocalhostAction">
57          </action>
58          <action
59                        definitionId="net.sourceforge.phpdt.httpquery.google"
60                label="Google.com"
61                class="net.sourceforge.phpdt.httpquery.GoogleAction"
62                id="net.sourceforge.phpdt.httpquery.GoogleAction">
63          </action>
64          <action
65                definitionId="net.sourceforge.phpdt.httpquery.phpmanual"
66                label="PHP Manual"
67                class="net.sourceforge.phpdt.httpquery.PHPHelpAction"
68                id="net.sourceforge.phpdt.httpquery.PHPHelpAction">
69          </action>
70       </editorContribution>
71    </extension>
72    <extension point="org.eclipse.ui.contexts">
73       <context
74         name="%context.editingPHPSource.name"
75         description="%context.editingPHPSource.description"
76         parentId="org.eclipse.ui.textEditorScope"
77         id="net.sourceforge.phpdt.ui.phpEditorScope" />
78    </extension>
79
80
81    <extension
82          point="org.eclipse.help.toc">
83       <toc
84             file="phphelp.xml"
85             primary="true">
86       </toc>
87    </extension>
88    <extension
89          point="org.eclipse.ui.preferencePages">
90       <page
91             name="%phphelpFormat"
92             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
93             class="net.sourceforge.phpdt.phphelp.PHPHelpPreferencePage"
94             id="net.sourceforge.phpdt.phphelp.PHPHelpPreferencePage">
95       </page>
96       <page
97            name="%httpQuery"
98            category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
99            class="net.sourceforge.phpdt.httpquery.preferences.ConfigurationPreferencePage"
100            id="net.sourceforge.phpdt.httpquery.preferences.configurationPreferencePage">
101       </page>
102    </extension>
103
104    <extension
105          point="org.eclipse.ui.popupMenus">
106       <viewerContribution
107             targetID="#PHPEditorContext"
108             id="net.sourceforge.phpdt.phphelp.actions.httpquery">
109          <menu
110                         id="httpqueryMenu"
111                         label="%HTTPQuery.label"
112                         path="rest">
113                  </menu>
114                  <action
115                        definitionId="net.sourceforge.phpdt.httpquery.koders"
116                label="Koders.com"
117                class="net.sourceforge.phpdt.httpquery.KodersAction"
118                menubarPath="httpqueryMenu/additions"
119                id="net.sourceforge.phpdt.httpquery.KodersAction">
120          </action>
121                  <action
122                        definitionId="net.sourceforge.phpdt.httpquery.google"
123                label="Google.com"
124                class="net.sourceforge.phpdt.httpquery.GoogleAction"
125                menubarPath="httpqueryMenu/additions"
126                id="net.sourceforge.phpdt.httpquery.GoogleAction">
127          </action>
128          <action
129                definitionId="net.sourceforge.phpdt.httpquery.phpmanual"
130                label="PHP Manual"
131                class="net.sourceforge.phpdt.httpquery.PHPHelpAction"
132                menubarPath="httpqueryMenu/additions"
133                id="net.sourceforge.phpdt.httpquery.PHPHelpAction">
134          </action>
135          <action
136                definitionId="net.sourceforge.phpdt.httpquery.localhost"
137                label="Localhost"
138                class="net.sourceforge.phpdt.httpquery.LocalhostAction"
139                menubarPath="httpqueryMenu/additions"
140                id="net.sourceforge.phpdt.httpquery.LocalhostAction">
141          </action>
142                  <action
143                label="HTTP Query..."
144                class="net.sourceforge.phpdt.httpquery.HTTPQueryAction"
145                menubarPath="httpqueryMenu/additions"
146                id="net.sourceforge.phpdt.httpquery.HTTPQueryAction">
147          </action>
148       </viewerContribution>
149     </extension>
150     <!--
151     <extension
152          point="org.eclipse.ui.popupMenus">
153       <viewerContribution
154             targetID="#EditorContext"
155             id="net.sourceforge.phpdt.phphelp.actions.httpquery">
156          <menu
157                         id="httpqueryMenu"
158                         label="%HTTPQuery.label"
159                         path="rest">
160                  </menu>
161                  <action
162                label="Koders.com"
163                class="net.sourceforge.phpdt.httpquery.KodersAction"
164                menubarPath="httpqueryMenu/additions"
165                id="net.sourceforge.phpdt.httpquery.KodersAction">
166          </action>
167                  <action
168                label="Google.com"
169                class="net.sourceforge.phpdt.httpquery.GoogleAction"
170                menubarPath="httpqueryMenu/additions"
171                id="net.sourceforge.phpdt.httpquery.GoogleAction">
172          </action>
173          <action
174                label="Localhost"
175                class="net.sourceforge.phpdt.httpquery.LocalhostAction"
176                menubarPath="httpqueryMenu/additions"
177                id="net.sourceforge.phpdt.httpquery.LocalhostAction">
178          </action>
179          <action
180                label="PHP Manual"
181                class="net.sourceforge.phpdt.httpquery.PHPHelpAction"
182                menubarPath="httpqueryMenu/additions"
183                id="net.sourceforge.phpdt.httpquery.PHPHelpAction">
184          </action>
185                  <action
186                label="HTTP Query..."
187                class="net.sourceforge.phpdt.httpquery.HTTPQueryAction"
188                menubarPath="httpqueryMenu/additions"
189                id="net.sourceforge.phpdt.httpquery.HTTPQueryAction">
190          </action>
191       </viewerContribution>
192
193     </extension>
194 -->
195
196     <extension
197          point="org.eclipse.ui.commands">
198       <category
199             name="%category.source.name"
200             description="%category.source.description"
201             id="net.sourceforge.phpeclipse.ui.category.source">
202       </category>
203
204       <command
205             name="%ActionDefinition.contexthelp.name"
206             description="%ActionDefinition.contexthelp.description"
207             categoryId="net.sourceforge.phpeclipse.ui.category.source"
208             id="net.sourceforge.phpdt.phphelp.actions.contexthelp">
209       </command>
210       <command
211             name="Localhost"
212             description="Open localhost"
213             categoryId="net.sourceforge.phpeclipse.ui.category.source"
214             id="net.sourceforge.phpdt.httpquery.localhost">
215       </command>
216       <command
217             name="Localhost"
218             description="Open localhost"
219             categoryId="net.sourceforge.phpeclipse.ui.category.source"
220             id="net.sourceforge.phpdt.httpquery.localhost">
221       </command>
222       <command
223             name="Google"
224             description="Open Google.com"
225             categoryId="net.sourceforge.phpeclipse.ui.category.source"
226             id="net.sourceforge.phpdt.httpquery.google">
227       </command>
228       <command
229             name="PHP Manual"
230             description="Open PHP Manual"
231             categoryId="net.sourceforge.phpeclipse.ui.category.source"
232             id="net.sourceforge.phpdt.httpquery.phpmanual">
233       </command>
234
235      </extension>
236
237      <extension
238          point="org.eclipse.ui.bindings">
239       <key
240             sequence="Ctrl+Shift+H"
241             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
242             commandId="net.sourceforge.phpdt.phphelp.actions.contexthelp"
243             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
244       </key>
245       <key
246             sequence="Ctrl+F8"
247             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
248             commandId="net.sourceforge.phpdt.httpquery.localhost"
249             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
250       </key>
251       <key
252             sequence="Ctrl+Shift+G"
253             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
254             commandId="net.sourceforge.phpdt.httpquery.google"
255             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
256       </key>
257       <key
258             sequence="Ctrl+Shift+O"
259             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
260             commandId="net.sourceforge.phpdt.httpquery.phpmanual"
261             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
262       </key>
263    </extension>
264 </plugin>