first PHP parser version (doesn't work actually)
[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
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"
82             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
83             class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
84             id="net.sourceforge.phpeclipse.PHPEditor">
85       </editor>
86       <editor
87             name="%phpEditorName"
88             icon="icons/obj16/java.gif"
89             extensions="php3"
90             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
91             class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
92             id="net.sourceforge.phpeclipse.PHPEditor">
93       </editor>
94       <editor
95             name="%phpEditorName"
96             icon="icons/obj16/java.gif"
97             extensions="php4"
98             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
99             class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
100             id="net.sourceforge.phpeclipse.PHPEditor">
101       </editor>
102    </extension>
103    <extension
104          point="org.eclipse.ui.popupMenus">
105       <objectContribution
106             objectClass="org.eclipse.core.resources.IFile"
107             nameFilter="*.php"
108             id="net.sourceforge.phpeclipse.actions.popupShowAction">
109          <action
110                label="Open PHP Browser"
111                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
112                menubarPath="additions"
113                id="net.sourceforge.phpeclipse.actions.showAction">
114          </action>
115       </objectContribution>
116             <objectContribution
117             objectClass="org.eclipse.core.resources.IFile"
118             nameFilter="*.php3"
119             id="net.sourceforge.phpeclipse.actions.popupShowAction">
120          <action
121                label="Open PHP Browser"
122                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
123                menubarPath="additions"
124                id="net.sourceforge.phpeclipse.actions.showAction">
125          </action>
126       </objectContribution>
127             <objectContribution
128             objectClass="org.eclipse.core.resources.IFile"
129             nameFilter="*.php4"
130             id="net.sourceforge.phpeclipse.actions.popupShowAction">
131          <action
132                label="Open PHP Browser"
133                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
134                menubarPath="additions"
135                id="net.sourceforge.phpeclipse.actions.showAction">
136          </action>
137       </objectContribution>
138       <viewerContribution
139             targetID="#PHPEditorContext"
140             id="net.sourceforge.phpeclipse.actions.popup.editor">
141          <action
142                label="PHP Help"
143                class="net.sourceforge.phpeclipse.actions.PHPEclipseShowContextHelp"
144                menubarPath="additions"
145                id="net.sourceforge.phpeclipse.actions.editor.contexthelp">
146          </action>
147       </viewerContribution> 
148    </extension>
149    <extension
150          point="org.eclipse.ui.preferencePages">
151       <page
152             name="PHP"
153             class="net.sourceforge.phpeclipse.PHPEclipsePreferencePage"
154             id="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage">
155       </page>
156    </extension>
157    <extension
158          point="org.eclipse.ui.documentProviders">
159       <provider
160             extensions="%phpFileExtension"
161             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
162             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
163       </provider>
164    </extension>
165       <extension
166          point="org.eclipse.ui.documentProviders">
167       <provider
168             extensions="%php3FileExtension"
169             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
170             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
171       </provider>
172    </extension>
173       <extension
174          point="org.eclipse.ui.documentProviders">
175       <provider
176             extensions="%php4FileExtension"
177             class="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider"
178             id="net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider">
179       </provider>
180    </extension>
181    <extension point="org.eclipse.help.toc">
182       <toc file="phphelp.xml" primary="true"/>
183    </extension>
184 </plugin>