changes to install phpeclipse under wampp distribution
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.jtidy / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <plugin
3    id="net.sourceforge.phpeclipse.tidy"
4    name="%pluginName"
5    version="1.0.3"
6    provider-name="%providerName"
7    class="net.sourceforge.phpdt.tidy.JtidyPlugin">
8
9    <runtime>
10       <library name="jtidy.jar"/>
11    </runtime>
12    <requires>
13       <import plugin="org.eclipse.core.resources"/>
14       <import plugin="org.eclipse.ui"/>
15       <import plugin="org.eclipse.swt"/>
16    </requires>
17
18
19    <extension
20          point="org.eclipse.ui.popupMenus">
21       <viewerContribution
22          id="net.sourceforge.phpdt.tidy.editorpopup"
23          targetID="#TextEditorContext">
24          <menu
25                label="JTidy"
26                path="additions"
27                id="net.sourceforge.phpdt.tidy.menu2">
28             <separator
29                   name="group1">
30             </separator>
31          </menu>
32          <action
33                label="Check Markup"
34                class="net.sourceforge.phpdt.tidy.actions.ParseWithJTidyEditorAction"
35                menubarPath="net.sourceforge.phpdt.tidy.menu2/group1"
36                
37                id="net.sourceforge.phpdt.tidy.ParseEditorAction">
38          </action>
39          <action
40                label="Format"
41                class="net.sourceforge.phpdt.tidy.actions.FormatWithJTidyEditorAction"
42                menubarPath="net.sourceforge.phpdt.tidy.menu2/group1"
43               
44                id="net.sourceforge.phpdt.tidy.FormatEditorAction">
45          </action>
46       </viewerContribution>
47       <viewerContribution
48             targetID="#PHPEditorContext"
49             id="net.sourceforge.phpdt.tidy.editorpopup">
50          <menu
51                label="JTidy"
52                path="additions"
53                id="net.sourceforge.phpdt.tidy.menu2">
54             <separator
55                   name="group1">
56             </separator>
57          </menu>
58          <action
59                label="Check Markup"
60                class="net.sourceforge.phpdt.tidy.actions.ParseWithJTidyEditorAction"
61                menubarPath="net.sourceforge.phpdt.tidy.menu2/group1"
62                
63                id="net.sourceforge.phpdt.tidy.ParseEditorAction">
64          </action>
65          <action
66                label="Format"
67                class="net.sourceforge.phpdt.tidy.actions.FormatWithJTidyEditorAction"
68                menubarPath="net.sourceforge.phpdt.tidy.menu2/group1"
69               
70                id="net.sourceforge.phpdt.tidy.FormatEditorAction">
71          </action>
72       </viewerContribution> 
73       <objectContribution
74             objectClass="org.eclipse.core.resources.IFile"
75             nameFilter="*.htm*"
76             id="net.sourceforge.phpdt.tidy.filepopups">
77          <menu
78                label="JTidy"
79                path="additions"
80                id="net.sourceforge.phpdt.tidy.menu1">
81             <separator
82                   name="group1">
83             </separator>
84          </menu>
85          <action
86                label="Check Markup"
87                class="net.sourceforge.phpdt.tidy.actions.ParseWithJTidyAction"
88                menubarPath="net.sourceforge.phpdt.tidy.menu1/group1"
89                enablesFor="+"
90                id="net.sourceforge.phpdt.tidy.ParseAction">
91          </action>
92          <action
93                label="Format"
94                class="net.sourceforge.phpdt.tidy.actions.FormatWithJTidyAction"
95                menubarPath="net.sourceforge.phpdt.tidy.menu1/group1"
96                enablesFor="+"
97                id="net.sourceforge.phpdt.tidy.FormatAction">
98          </action>
99       </objectContribution>
100       <objectContribution
101             objectClass="org.eclipse.core.resources.IFile"
102             nameFilter="*.php*"
103             id="net.sourceforge.phpdt.tidy.filepopups">
104          <menu
105                label="JTidy"
106                path="additions"
107                id="net.sourceforge.phpdt.tidy.menu1">
108             <separator
109                   name="group1">
110             </separator>
111          </menu>
112          <action
113                label="Check Markup"
114                class="net.sourceforge.phpdt.tidy.actions.ParseWithJTidyAction"
115                menubarPath="net.sourceforge.phpdt.tidy.menu1/group1"
116                enablesFor="+"
117                id="net.sourceforge.phpdt.tidy.ParseAction">
118          </action>
119          <action
120                label="Format"
121                class="net.sourceforge.phpdt.tidy.actions.FormatWithJTidyAction"
122                menubarPath="net.sourceforge.phpdt.tidy.menu1/group1"
123                enablesFor="+"
124                id="net.sourceforge.phpdt.tidy.FormatAction">
125          </action>
126       </objectContribution>
127    </extension>
128
129     <extension
130          point="org.eclipse.ui.preferencePages">
131           <page
132             name="HTML JTidy"
133             class="net.sourceforge.phpdt.tidy.preferences.JTidyGeneralPreferences"
134             id="net.sourceforge.phpdt.tidy.preferences.general">
135       </page>
136   <!--    <page
137             name="General"
138             class="net.sourceforge.phpdt.tidy.preferences.JTidyPreferences"
139             id="net.sourceforge.phpdt.tidy.preferences.JTidyPreferences"
140             category="net.sourceforge.phpdt.tidy.preferences.general">
141       </page> -->
142       <page
143                 name="Format"
144                 class="net.sourceforge.phpdt.tidy.preferences.JTidyOutputPreferences"
145                 id="net.sourceforge.phpdt.tidy.preferences.OutputFormat"
146                 category="net.sourceforge.phpdt.tidy.preferences.general">
147       </page>
148       <page
149                 name="Output"
150                 class="net.sourceforge.phpdt.tidy.preferences.JTidyOutputLookPreferences"
151                 id="net.sourceforge.phpdt.tidy.preferences.OutputLook"
152                 category="net.sourceforge.phpdt.tidy.preferences.general">
153       </page>
154       <page
155                 name="Indentation, Wrapping"
156                 class="net.sourceforge.phpdt.tidy.preferences.JTidyWrapIndentPreferences"
157                 id="net.sourceforge.phpdt.tidy.preferences.WrapIndent"
158                 category="net.sourceforge.phpdt.tidy.preferences.general">
159       </page>    
160       <page
161                 name="New Tags"
162                 class="net.sourceforge.phpdt.tidy.preferences.JTidyNewTagsPreferences"
163                 id="net.sourceforge.phpdt.tidy.preferences.NewTags"
164                 category="net.sourceforge.phpdt.tidy.preferences.general">
165       </page>
166    </extension>
167    <extension
168          point="org.eclipse.ui.views">
169       <view
170             name="JTidy Console"
171             icon="icons/obj16/jtidy.gif"
172             class="net.sourceforge.phpdt.tidy.JTidyConsole"
173             id="net.sourceforge.phpdt.tidy.consoleview">
174       </view>
175    </extension>
176
177 </plugin>