Refactory: smarty.ui plugin.
[phpeclipse.git] / net.sourceforge.phpeclipse / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.2"?>
3 <plugin>
4     <extension
5                  id="phpnature"
6                  name="%naturePHP.name"
7                  point="org.eclipse.core.resources.natures">
8           <runtime>
9                  <run
10                   class="net.sourceforge.phpdt.internal.core.JavaProject">
11                  </run>
12           </runtime>
13    </extension>
14
15    <extension
16                  id="parserbuilder"
17                  name="PHP Builder"
18                  point="org.eclipse.core.resources.builders">
19           <builder>
20                  <run
21                    class="net.sourceforge.phpdt.internal.core.builder.PHPBuilder">
22                  </run>
23           </builder>
24    </extension>
25    <!-- =================================================================================== -->
26 <!-- Extension: Java Markers                                                             -->
27 <!-- =================================================================================== -->
28
29 <!-- Java problems -->
30
31 <extension id="problem" point="org.eclipse.core.resources.markers" name="%phpProblemName">
32         <super type="org.eclipse.core.resources.problemmarker"/>
33         <super type="org.eclipse.core.resources.textmarker"/>
34         <persistent value="true"/>
35         <attribute name="id"/>
36         <attribute name="flags"/>
37         <attribute name="arguments"/>
38 </extension>
39
40 <!-- Java transient problems -->
41
42 <extension id="transient_problem" point="org.eclipse.core.resources.markers" name="%transientPHPProblemName">
43         <super type="org.eclipse.core.resources.textmarker"/>
44         <persistent value="false"/>
45         <attribute name="id"/>
46         <attribute name="flags"/>
47         <attribute name="arguments"/>
48 </extension>
49
50 <!-- PHP tasks -->
51
52 <extension id="task" name="%phpTaskName" point="org.eclipse.core.resources.markers">
53         <super type="org.eclipse.core.resources.taskmarker"/>
54         <persistent value="true"/>
55 </extension>
56
57 <extension-point id="phpElementFilters" name="%elementFiltersName" schema="schema/phpElementFilters.exsd"/>
58 <extension-point id="phpEditorTextHovers" name="%phpEditorTextHoversName" schema="schema/phpEditorTextHovers.exsd"/>
59 <extension-point id="foldingStructureProviders" name="%foldingStructureProvidersExtensionPoint" schema="schema/foldingStructureProviders.exsd"/>
60
61
62    <extension
63                  point="org.eclipse.team.core.fileTypes">
64           <fileTypes type="text" extension="php" />
65           <fileTypes type="text" extension="phpc" />
66           <fileTypes type="text" extension="php3" />
67           <fileTypes type="text" extension="php4" />
68           <fileTypes type="text" extension="php5" />
69           <fileTypes type="text" extension="phtml" />
70           <fileTypes type="text" extension="inc" />
71           <fileTypes type="text" extension="module" />
72           <fileTypes type="text" extension="phpt" />
73           <fileTypes type="text" extension="ctp" />
74    </extension>
75
76 <!-- declares a content type for PHP Source files -->
77
78    <extension point="org.eclipse.core.runtime.contentTypes">
79         <content-type id="phpSource" name="%phpSourceName"
80                 base-type="org.eclipse.core.runtime.text"
81                 priority="high"
82                 file-extensions="php,phpc,php3,php4,php5,phtml,inc,module,phpt,ctp"/>
83    </extension>
84
85    <extension
86                  id="net.sourceforge.phpeclipse.JavaDocumentFactory"
87                  name="%javaDocumentFactory"
88                  point="org.eclipse.core.filebuffers.documentCreation">
89           <factory
90                         contentTypeId="net.sourceforge.phpeclipse.phpSource"
91                         class="net.sourceforge.phpeclipse.phpeditor.JavaDocumentFactory">
92           </factory>
93    </extension>
94
95
96 <!-- external tools -->
97 <!-- extension point definitions -->
98         <extension-point id="configurationDuplicationMaps" name="%ExtPoint.configurationDuplicationMaps"/>
99         <extension-point id="argumentVariables" name="%ExtPoint.argumentVariables"/>
100         <extension-point id="directoryVariables" name="%ExtPoint.directoryVariables"/>
101         <extension-point id="fileVariables" name="%ExtPoint.fileVariables"/>
102         <extension-point id="refreshVariables" name="%ExtPoint.refreshVariables"/>
103
104 </plugin>