allow more default parser include paths
[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.2"
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.compatibility"/>
17       <import plugin="org.eclipse.ui.ide"/>
18       <import plugin="org.eclipse.ui.views"/>
19       <import plugin="org.eclipse.jface.text"/>
20       <import plugin="org.eclipse.ui.workbench.texteditor"/>
21       <import plugin="org.eclipse.ui.editors"/>
22       <import plugin="org.eclipse.core.resources"/>
23       <import plugin="org.eclipse.ui"/>
24       <import plugin="org.eclipse.help"/>
25       <import plugin="org.eclipse.swt"/>
26       <import plugin="net.sourceforge.phpeclipse"/>
27       <import plugin="net.sourceforge.phpeclipse.quantum.sql"/>
28    </requires>
29    <extension
30          point="org.eclipse.ui.popupMenus">   
31       <viewerContribution
32             targetID="#PHPEditorContext"
33             id="net.sourceforge.phpdt.phphelp.actions.popup.editor">
34          <action
35                definitionId="net.sourceforge.phpdt.phphelp.actions.contexthelp"
36                label="%phphelpLabel"
37                class="net.sourceforge.phpdt.phphelp.actions.PHPEclipseShowContextHelp"
38                menubarPath="additions"
39                id="net.sourceforge.phpdt.phphelp.actions.PHPEclipseShowContextHelp">
40          </action>
41       </viewerContribution>
42    </extension>
43    <extension
44          point="org.eclipse.help.toc">
45       <toc
46             file="phphelp.xml"
47             primary="true">
48       </toc>
49    </extension>
50    <extension
51          point="org.eclipse.ui.preferencePages">
52       <page
53             name="%phphelpFormat"
54             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
55             class="net.sourceforge.phpdt.phphelp.PHPHelpPreferencePage"
56             id="net.sourceforge.phpdt.phphelp.PHPHelpPreferencePage">
57       </page>
58    </extension>
59    
60    <extension
61          point="org.eclipse.ui.editorActions">
62       <editorContribution 
63             id="net.sourceforge.phpdt.phphelp.actions"
64             targetID="net.sourceforge.phpeclipse.PHPUnitEditor">
65          <action
66                definitionId="net.sourceforge.phpdt.phphelp.actions.contexthelp"
67                label="PHP Help"
68                class="net.sourceforge.phpdt.phphelp.actions.PHPEclipseShowContextHelp"
69                id="net.sourceforge.phpdt.phphelp.actions.PHPEclipseShowContextHelp">
70          </action>
71       </editorContribution>
72    </extension>   
73    
74    <extension point="org.eclipse.ui.contexts">
75       <context 
76         name="%context.editingPHPSource.name" 
77         description="%context.editingPHPSource.description" 
78         parentId="org.eclipse.ui.textEditorScope" 
79         id="net.sourceforge.phpdt.ui.phpEditorScope" /> 
80    </extension>
81    <extension
82          point="org.eclipse.ui.commands">
83       <category
84             name="%category.source.name"
85             description="%category.source.description"
86             id="net.sourceforge.phpeclipse.ui.category.source">
87       </category>
88     
89       <command
90             name="%ActionDefinition.contexthelp.name"
91             description="%ActionDefinition.contexthelp.description"
92             category="net.sourceforge.phpeclipse.ui.category.source"
93             id="net.sourceforge.phpdt.phphelp.actions.contexthelp">
94       </command>
95      
96       <keyBinding
97             string="Ctrl+Shift+H"
98             scope="net.sourceforge.phpdt.ui.phpEditorScope"
99             command="net.sourceforge.phpdt.phphelp.actions.contexthelp"
100             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
101       </keyBinding>
102   </extension>
103 </plugin>