85b01beb9f2a0dd0ed0e018b73c45a5b23d6d58a
[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.2"
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.help"/>
16       <import plugin="org.eclipse.swt"/>
17    </requires>
18
19    <extension
20          point="org.eclipse.ui.actionSets">
21       <actionSet
22             label="PHP/Apache"
23             description="Starting MySQL and Apache."
24             visible="true"
25             id="net.sourceforge.phpeclipse.PHPActionSet">
26          <menu
27                label="PHP/Apache"
28                id="net.sourceforge.phpeclipse.PHPMenu">
29             <separator
30                   name="phpeclipse">
31             </separator>
32          </menu>
33          <action
34                label="Restart Apache"
35                icon="icons/obj16/apache.gif"
36                tooltip="Restart Apache"
37                class="net.sourceforge.phpeclipse.actions.PHPRestartApacheAction"
38                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
39                toolbarPath="Normal"
40                start="true"
41                id="net.sourceforge.phpeclipse.actions.PHPRestartApacheAction">
42          </action>
43          <action
44                label="Stop Apache"
45                icon="icons/obj16/apache.gif"
46                tooltip="Stop Apache"
47                class="net.sourceforge.phpeclipse.actions.PHPStopApacheAction"
48                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
49                toolbarPath="Normal"
50                start="true"
51                id="net.sourceforge.phpeclipse.actions.PHPStopApacheAction">
52          </action>
53          <action
54                label="Start Apache"
55                icon="icons/obj16/apache.gif"
56                tooltip="Start Apache"
57                class="net.sourceforge.phpeclipse.actions.PHPStartApacheAction"
58                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
59                toolbarPath="Normal"
60                start="true"
61                id="net.sourceforge.phpeclipse.actions.PHPStartApacheAction">
62          </action>
63          <action
64                label="Start MySQL"
65                icon="icons/obj16/apache.gif"
66                tooltip="Start MySQL"
67                class="net.sourceforge.phpeclipse.actions.PHPStartMySQLAction"
68                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
69                toolbarPath="Normal"
70                start="true"
71                id="net.sourceforge.phpeclipse.actions.PHPStartMySQLAction">
72          </action>
73       </actionSet>
74    </extension>
75    <extension
76          point="org.eclipse.ui.editors">
77       <editor
78             name="%phpEditorName"
79             icon="icons/obj16/java.gif"
80             extensions="php"
81             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
82             class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
83             id="net.sourceforge.phpeclipse.PHPEditor">
84       </editor>
85       <editor
86             name="%phpEditorName"
87             icon="icons/obj16/java.gif"
88             extensions="php3"
89             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
90             class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
91             id="net.sourceforge.phpeclipse.PHPEditor">
92       </editor>
93       <editor
94             name="%phpEditorName"
95             icon="icons/obj16/java.gif"
96             extensions="php4"
97             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
98             class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
99             id="net.sourceforge.phpeclipse.PHPEditor">
100       </editor>
101    </extension>
102    <extension
103          point="org.eclipse.ui.popupMenus">
104       <objectContribution
105             objectClass="org.eclipse.core.resources.IFile"
106             nameFilter="*.php"
107             id="net.sourceforge.phpeclipse.actions.popupShowAction">
108          <action
109                label="Open PHP Browser"
110                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
111                menubarPath="additions"
112                id="net.sourceforge.phpeclipse.actions.showAction">
113          </action>
114       </objectContribution>
115       <objectContribution
116             objectClass="org.eclipse.core.resources.IFile"
117             nameFilter="*.php3"
118             id="net.sourceforge.phpeclipse.actions.popupShowAction">
119          <action
120                label="Open PHP Browser"
121                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
122                menubarPath="additions"
123                id="net.sourceforge.phpeclipse.actions.showAction">
124          </action>
125       </objectContribution>
126       <objectContribution
127             objectClass="org.eclipse.core.resources.IFile"
128             nameFilter="*.php4"
129             id="net.sourceforge.phpeclipse.actions.popupShowAction">
130          <action
131                label="Open PHP Browser"
132                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
133                menubarPath="additions"
134                id="net.sourceforge.phpeclipse.actions.showAction">
135          </action>
136       </objectContribution>
137       <viewerContribution
138             targetID="#PHPEditorContext"
139             id="net.sourceforge.phpeclipse.actions.popup.editor">
140          <action
141                label="PHP Help"
142                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowContextHelp"
143                menubarPath="additions"
144                id="net.sourceforge.phpeclipse.actions.editor.contexthelp">
145          </action>
146       </viewerContribution>
147    </extension>
148    <extension
149          point="org.eclipse.ui.preferencePages">
150       <page
151             name="PHP"
152             class="net.sourceforge.phpeclipse.PHPEclipsePreferencePage"
153             id="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage">
154       </page>
155    </extension>
156    <extension
157          point="org.eclipse.ui.documentProviders">
158       <provider
159             extensions="%phpFileExtension"
160             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
161             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
162       </provider>
163    </extension>
164    <extension
165          point="org.eclipse.ui.documentProviders">
166       <provider
167             extensions="%php3FileExtension"
168             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
169             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
170       </provider>
171    </extension>
172    <extension
173          point="org.eclipse.ui.documentProviders">
174       <provider
175             extensions="%php4FileExtension"
176             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
177             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
178       </provider>
179    </extension>
180    <extension
181          point="org.eclipse.ui.views">
182       <view
183             name="%phpConsoleView"
184             icon="icons/obj16/java.gif"
185             class="net.sourceforge.phpeclipse.views.PHPConsole"
186             id="net.sourceforge.phpeclipse.views.phpconsoleview">
187       </view>
188    </extension>
189    <extension
190          point="org.eclipse.ui.newWizards">
191       <category
192             name="PHP"
193             id="net.sourceforge.phpeclipse.wizardCategory">
194       </category>
195       <wizard
196             name="PHP File"
197             icon="icons/obj16/java.gif"
198             category="net.sourceforge.phpeclipse.wizardCategory"
199             class="net.sourceforge.phpeclipse.wizards.PHPFileWizard"
200             id="net.sourceforge.phpeclipse.wizards.PHPFileWizard">
201       </wizard>
202    </extension>
203    <extension
204          point="org.eclipse.help.toc">
205       <toc
206             file="phphelp.xml"
207             primary="true">
208       </toc>
209    </extension>
210
211 </plugin>