Integrated PHP help files; Fixed some bugs
[phpeclipse.git] / net.sourceforge.phpeclipse / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <plugin
3    id="net.sourceforge.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>s
13       <import plugin="org.eclipse.core.resources"/>
14       <import plugin="org.eclipse.ui"/>
15       <import plugin="org.eclipse.help"/>
16       <import plugin="org.eclipse.swt"/>
17    </requires>
18
19
20    <extension
21          point="org.eclipse.ui.actionSets">
22       <actionSet
23             label="PHP/Apache"
24             description="Starting MySQL and Apache."
25             visible="true"
26             id="net.sourceforge.phpeclipse.PHPActionSet">
27          <menu
28                label="PHP/Apache"
29                id="net.sourceforge.phpeclipse.PHPMenu">
30             <separator
31                   name="phpeclipse">
32             </separator>
33          </menu>
34          <action
35                label="Restart Apache"
36                icon="icons/obj16/apache.gif"
37                tooltip="Restart Apache"
38                class="net.sourceforge.phpeclipse.actions.PHPRestartApacheAction"
39                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
40                toolbarPath="Normal"
41                start="true"
42                id="net.sourceforge.phpeclipse.actions.PHPRestartApacheAction">
43          </action>
44          <action
45                label="Stop Apache"
46                icon="icons/obj16/apache.gif"
47                tooltip="Stop Apache"
48                class="net.sourceforge.phpeclipse.actions.PHPStopApacheAction"
49                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
50                toolbarPath="Normal"
51                start="true"
52                id="net.sourceforge.phpeclipse.actions.PHPStopApacheAction">
53          </action>
54          <action
55                label="Start Apache"
56                icon="icons/obj16/apache.gif"
57                tooltip="Start Apache"
58                class="net.sourceforge.phpeclipse.actions.PHPStartApacheAction"
59                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
60                toolbarPath="Normal"
61                start="true"
62                id="net.sourceforge.phpeclipse.actions.PHPStartApacheAction">
63          </action>
64          <action
65                label="Start MySQL"
66                icon="icons/obj16/apache.gif"
67                tooltip="Start MySQL"
68                class="net.sourceforge.phpeclipse.actions.PHPStartMySQLAction"
69                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
70                toolbarPath="Normal"
71                start="true"
72                id="net.sourceforge.phpeclipse.actions.PHPStartMySQLAction">
73          </action>
74       </actionSet>
75    </extension>
76    <extension
77          point="org.eclipse.ui.editors">
78       <editor
79             name="%phpEditorName"
80             icon="icons/obj16/java.gif"
81             extensions="php,php3,php4"
82             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
83             class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
84             id="net.sourceforge.phpeclipse.PHPEditor">
85       </editor>
86    </extension>
87    <extension
88          point="org.eclipse.ui.popupMenus">
89       <objectContribution
90             objectClass="org.eclipse.core.resources.IFile"
91             nameFilter="*.php"
92             id="net.sourceforge.phpeclipse.actions.popupShowAction">
93          <action
94                label="Open in Browser"
95                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
96                menubarPath="additions"
97                id="net.sourceforge.phpeclipse.actions.showAction">
98          </action>
99       </objectContribution>
100  <!--     <viewerContribution
101             targetID="#PHPEditorContext"
102             id="net.sourceforge.phpeclipse.actions.popup.editor">
103          <action
104                label="PHP Help"
105                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowContextHelp"
106                menubarPath="additions"
107                id="net.sourceforge.phpeclipse.actions.editor.contexthelp">
108          </action>
109       </viewerContribution> -->
110    </extension>
111    <extension
112          point="org.eclipse.ui.preferencePages">
113       <page
114             name="PHP"
115             class="net.sourceforge.phpeclipse.PHPEclipsePreferencePage"
116             id="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage">
117       </page>
118    </extension>
119    <extension
120          point="org.eclipse.ui.documentProviders">
121       <provider
122             extensions="%phpFileExtension"
123             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
124             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
125       </provider>
126    </extension>
127    <extension point="org.eclipse.help.toc">
128       <toc file="phphelp.xml" primary="true"/>
129    </extension>
130 </plugin>