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