Improved rendering
[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   
44    <extension
45          point="org.eclipse.ui.editorActions">
46       <editorContribution 
47             id="net.sourceforge.phpdt.phphelp.actions"
48             targetID="net.sourceforge.phpeclipse.PHPUnitEditor">
49          <action
50                definitionId="net.sourceforge.phpdt.phphelp.actions.contexthelp"
51                label="PHP Help"
52                class="net.sourceforge.phpdt.phphelp.actions.PHPEclipseShowContextHelp"
53                id="net.sourceforge.phpdt.phphelp.actions.PHPEclipseShowContextHelp">
54          </action>
55       </editorContribution>
56    </extension>   
57    
58    <extension point="org.eclipse.ui.contexts">
59       <context 
60         name="%context.editingPHPSource.name" 
61         description="%context.editingPHPSource.description" 
62         parentId="org.eclipse.ui.textEditorScope" 
63         id="net.sourceforge.phpdt.ui.phpEditorScope" /> 
64    </extension>
65    <extension
66          point="org.eclipse.ui.commands">
67       <category
68             name="%category.source.name"
69             description="%category.source.description"
70             id="net.sourceforge.phpeclipse.ui.category.source">
71       </category>
72     
73       <command
74             name="%ActionDefinition.contexthelp.name"
75             description="%ActionDefinition.contexthelp.description"
76             category="net.sourceforge.phpeclipse.ui.category.source"
77             id="net.sourceforge.phpdt.phphelp.actions.contexthelp">
78       </command>
79      
80       <keyBinding
81             string="Ctrl+Shift+H"
82             scope="net.sourceforge.phpdt.ui.phpEditorScope"
83             command="net.sourceforge.phpdt.phphelp.actions.contexthelp"
84             configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
85       </keyBinding>
86   </extension>
87   
88   <extension
89          point="org.eclipse.help.toc">
90       <toc
91             file="phphelp.xml"
92             primary="true">
93       </toc>
94    </extension>
95    <extension
96          point="org.eclipse.ui.preferencePages">
97       <page
98             name="%phphelpFormat"
99             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
100             class="net.sourceforge.phpdt.phphelp.PHPHelpPreferencePage"
101             id="net.sourceforge.phpdt.phphelp.PHPHelpPreferencePage">
102       </page>
103    </extension>
104 </plugin>