dc2699f07e3d002bc61745856e76413badf0458f
[phpeclipse.git] / net.sourceforge.phpeclipse / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <plugin
3    id="PHPEclipse"
4    name="%pluginName"
5    version="1.0.1"
6    provider-name="%providerName"
7    class="net.sourceforge.phpeclipse.PHPeclipsePlugin">
8
9    <runtime>
10       <library name="PHPEclipse.jar"/>
11    </runtime>
12    <requires>
13       <import plugin="org.eclipse.core.resources"/>
14       <import plugin="org.eclipse.ui"/>
15       <import plugin="org.eclipse.jdt"/>
16       <import plugin="org.eclipse.jdt.ui"/>
17    </requires>
18
19
20    <extension
21          point="org.eclipse.ui.editors">
22       <editor
23             name="%phpEditorName"
24             icon="icons/obj16/java.gif"
25             extensions="php"
26             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
27             class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
28             id="net.sourceforge.phpeclipse.PHPEditor">
29       </editor>
30    </extension>
31    <extension
32          point="org.eclipse.ui.popupMenus">
33       <objectContribution
34             objectClass="org.eclipse.core.resources.IFile"
35             nameFilter="*.php"
36             id="net.sourceforge.phpeclipse.actions.popupShowAction">
37          <action
38                label="Open in Browser"
39                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
40                menubarPath="additions"
41                id="net.sourceforge.phpeclipse.actions.showAction">
42          </action>
43       </objectContribution>
44       <viewerContribution
45             targetID="#TextEditorContext"
46             id="net.sourceforge.phpeclipse.actions.popup.editor">
47          <action
48                label="PHP Help"
49                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowContextHelp"
50                menubarPath="additions"
51                id="net.sourceforge.phpeclipse.actions.editor.contexthelp">
52          </action>
53          &gt;
54       </viewerContribution>
55    </extension>
56    <extension
57          point="org.eclipse.ui.preferencePages">
58       <page
59             name="PHP"
60             class="net.sourceforge.phpeclipse.PHPEclipsePreferencePage"
61             id="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage">
62       </page>
63    </extension>
64    <extension
65          point="org.eclipse.ui.documentProviders">
66       <provider
67             extensions="%phpFileExtension"
68             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
69             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
70       </provider>
71    </extension>
72
73 </plugin>