9ada7a38baeece83dd3662bca6fd62a9fcf0fe13
[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.7"
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
42    <extension
43          point="org.eclipse.ui.editorActions">
44       <editorContribution
45             id="net.sourceforge.phpdt.phphelp.actions"
46             targetID="net.sourceforge.phpeclipse.PHPUnitEditor">
47          <action
48                definitionId="net.sourceforge.phpdt.phphelp.actions.contexthelp"
49                label="PHP Help"
50                class="net.sourceforge.phpdt.phphelp.actions.PHPEclipseShowContextHelp"
51                id="net.sourceforge.phpdt.phphelp.actions.PHPEclipseShowContextHelp">
52          </action>
53       </editorContribution>
54    </extension>
55
56    <extension point="org.eclipse.ui.contexts">
57       <context
58         name="%context.editingPHPSource.name"
59         description="%context.editingPHPSource.description"
60         parentId="org.eclipse.ui.textEditorScope"
61         id="net.sourceforge.phpdt.ui.phpEditorScope" />
62    </extension>
63    <extension
64          point="org.eclipse.ui.commands">
65       <category
66             name="%category.source.name"
67             description="%category.source.description"
68             id="net.sourceforge.phpeclipse.ui.category.source">
69       </category>
70
71       <command
72             name="%ActionDefinition.contexthelp.name"
73             description="%ActionDefinition.contexthelp.description"
74             categoryId="net.sourceforge.phpeclipse.ui.category.source"
75             id="net.sourceforge.phpdt.phphelp.actions.contexthelp">
76       </command>
77   </extension>
78
79   <extension
80          point="org.eclipse.help.toc">
81       <toc
82             file="phphelp.xml"
83             primary="true">
84       </toc>
85    </extension>
86    <extension
87          point="org.eclipse.ui.preferencePages">
88       <page
89             name="%phphelpFormat"
90             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
91             class="net.sourceforge.phpdt.phphelp.PHPHelpPreferencePage"
92             id="net.sourceforge.phpdt.phphelp.PHPHelpPreferencePage">
93       </page>
94       <page
95            name="%httpQuery"
96            category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
97            class="net.sourceforge.phpdt.httpquery.preferences.ConfigurationPreferencePage"
98            id="net.sourceforge.phpdt.httpquery.preferences.configurationPreferencePage">
99       </page>
100    </extension>
101    <extension
102          point="org.eclipse.ui.bindings">
103       <key
104             sequence="Ctrl+Shift+H"
105             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
106             commandId="net.sourceforge.phpdt.phphelp.actions.contexthelp"
107             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
108       </key>
109    </extension>
110
111    <extension
112          point="org.eclipse.ui.popupMenus">
113      <viewerContribution
114             targetID="#PHPEditorContext"
115             id="net.sourceforge.phpdt.phphelp.actions.httpquery">
116            <menu
117                         id="httpqueryMenu"
118                         label="%HTTPQuery.label"
119                         path="rest">
120                  </menu>
121                  <action
122                label="Koders.com Search"
123                class="net.sourceforge.phpdt.httpquery.KodersAction"
124                menubarPath="httpqueryMenu/additions"
125                id="net.sourceforge.phpdt.httpquery.KodersAction">
126          </action>
127                  <action
128                label="Google Search"
129                class="net.sourceforge.phpdt.httpquery.GoogleAction"
130                menubarPath="httpqueryMenu/additions"
131                id="net.sourceforge.phpdt.httpquery.GoogleAction">
132          </action>
133          <action
134                label="PHP Online Manual"
135                class="net.sourceforge.phpdt.httpquery.PHPHelpAction"
136                menubarPath="httpqueryMenu/additions"
137                id="net.sourceforge.phpdt.httpquery.PHPHelpAction">
138          </action>
139                  <action
140                label="HTTP Query..."
141                class="net.sourceforge.phpdt.httpquery.HTTPQueryAction"
142                menubarPath="httpqueryMenu/additions"
143                id="net.sourceforge.phpdt.httpquery.HTTPQueryAction">
144          </action>
145       </viewerContribution>
146       <viewerContribution
147             targetID="#EditorContext"
148             id="net.sourceforge.phpeclipse.wiki.texteditor.viewercontribution">
149          <menu
150                         id="httpqueryMenu"
151                         label="%HTTPQuery.label"
152                         path="rest">
153                  </menu>
154                  <action
155                label="Koders.com Search"
156                class="net.sourceforge.phpdt.httpquery.KodersAction"
157                menubarPath="httpqueryMenu/additions"
158                id="net.sourceforge.phpdt.httpquery.KodersAction">
159          </action>
160                  <action
161                label="Google Search"
162                class="net.sourceforge.phpdt.httpquery.GoogleAction"
163                menubarPath="httpqueryMenu/additions"
164                id="net.sourceforge.phpdt.httpquery.GoogleAction">
165          </action>
166                  <action
167                label="HTTP Query..."
168                class="net.sourceforge.phpdt.httpquery.HTTPQueryAction"
169                menubarPath="httpqueryMenu/additions"
170                id="net.sourceforge.phpdt.httpquery.HTTPQueryAction">
171          </action>
172       </viewerContribution>
173   </extension>
174 </plugin>