make compilable in 3.2
[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="org.eclipse.ui.editors"/>
24       <import plugin="org.eclipse.ui.workbench.texteditor"/>
25    </requires>
26    <extension
27          point="org.eclipse.ui.popupMenus">
28       <viewerContribution
29             targetID="#PHPEditorContext"
30             id="net.sourceforge.phpdt.phphelp.actions.popup.editor">
31          <action
32                definitionId="net.sourceforge.phpdt.phphelp.actions.contexthelp"
33                label="%phphelpLabel"
34                class="net.sourceforge.phpdt.phphelp.actions.PHPEclipseShowContextHelp"
35                menubarPath="additions"
36                id="net.sourceforge.phpdt.phphelp.actions.PHPEclipseShowContextHelp">
37          </action>
38       </viewerContribution>
39    </extension>
40
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       </editorContribution>
53    </extension>
54
55    <extension point="org.eclipse.ui.contexts">
56       <context
57         name="%context.editingPHPSource.name"
58         description="%context.editingPHPSource.description"
59         parentId="org.eclipse.ui.textEditorScope"
60         id="net.sourceforge.phpdt.ui.phpEditorScope" />
61    </extension>
62    <extension
63          point="org.eclipse.ui.commands">
64       <category
65             name="%category.source.name"
66             description="%category.source.description"
67             id="net.sourceforge.phpeclipse.ui.category.source">
68       </category>
69
70       <command
71             name="%ActionDefinition.contexthelp.name"
72             description="%ActionDefinition.contexthelp.description"
73             categoryId="net.sourceforge.phpeclipse.ui.category.source"
74             id="net.sourceforge.phpdt.phphelp.actions.contexthelp">
75       </command>
76   </extension>
77
78   <extension
79          point="org.eclipse.help.toc">
80       <toc
81             file="phphelp.xml"
82             primary="true">
83       </toc>
84    </extension>
85    <extension
86          point="org.eclipse.ui.preferencePages">
87       <page
88             name="%phphelpFormat"
89             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
90             class="net.sourceforge.phpdt.phphelp.PHPHelpPreferencePage"
91             id="net.sourceforge.phpdt.phphelp.PHPHelpPreferencePage">
92       </page>
93    </extension>
94    <extension
95          point="org.eclipse.ui.bindings">
96       <key
97             sequence="Ctrl+Shift+H"
98             contextId="net.sourceforge.phpdt.ui.phpEditorScope"
99             commandId="net.sourceforge.phpdt.phphelp.actions.contexthelp"
100             schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
101       </key>
102    </extension>
103 </plugin>