HTML Tidy plugin initial version
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.jtidy / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <plugin
3    id="net.sourceforge.phpdt.tidy"
4    name="Jtidy Plug-in"
5    version="1.0.1"
6    provider-name="Jan Schulz"
7    class="net.sourceforge.phpdt.tidy.JtidyPlugin">
8
9    <runtime>
10       <library name="jtidy_plugin.jar"/>
11    </runtime>
12    <requires>
13       <import plugin="org.eclipse.core.resources" export="true"/>
14       <import plugin="org.eclipse.ui" export="true"/>
15    </requires>
16
17
18    <extension
19          point="org.eclipse.ui.popupMenus">
20          <viewerContribution
21          id="net.sourceforge.phpdt.tidy.EditorPopUp"
22          targetID="#TextEditorContext">
23          <menu
24                label="JTidy"
25                path="additions"
26                id="net.sourceforge.phpdt.tidy.menu2">
27             <separator
28                   name="group1">
29             </separator>
30          </menu>
31          <action
32                label="Check Markup"
33                class="net.sourceforge.phpdt.tidy.actions.ParseWithJTidyEditorAction"
34                menubarPath="net.sourceforge.phpdt.tidy.menu2/group1"
35                
36                id="net.sourceforge.phpdt.tidy.ParseEditorAction">
37          </action>
38          <action
39                label="Format"
40                class="net.sourceforge.phpdt.tidy.actions.FormatWithJTidyEditorAction"
41                menubarPath="net.sourceforge.phpdt.tidy.menu2/group1"
42               
43                id="net.sourceforge.phpdt.tidy.FormatEditorAction">
44          </action>
45       </viewerContribution>
46       <objectContribution
47             objectClass="org.eclipse.core.resources.IFile"
48             nameFilter="*.htm*"
49             id="net.sourceforge.phpdt.tidy.contribution1">
50          <menu
51                label="JTidy"
52                path="additions"
53                id="net.sourceforge.phpdt.tidy.menu1">
54             <separator
55                   name="group1">
56             </separator>
57          </menu>
58          <action
59                label="Check Markup"
60                class="net.sourceforge.phpdt.tidy.actions.ParseWithJTidyAction"
61                menubarPath="net.sourceforge.phpdt.tidy.menu1/group1"
62                enablesFor="+"
63                id="net.sourceforge.phpdt.tidy.ParseAction">
64          </action>
65          <action
66                label="Format"
67                class="net.sourceforge.phpdt.tidy.actions.FormatWithJTidyAction"
68                menubarPath="net.sourceforge.phpdt.tidy.menu1/group1"
69                enablesFor="+"
70                id="net.sourceforge.phpdt.tidy.FormatAction">
71          </action>
72       </objectContribution>
73    </extension>
74    <extension
75          point="org.eclipse.ui.popupMenus">
76    </extension>
77     <extension
78          point="org.eclipse.ui.preferencePages">
79           <page
80             name="HTML JTidy"
81             class="net.sourceforge.phpdt.tidy.preferences.JTidyGeneralPreferences"
82             id="net.sourceforge.phpdt.tidy.preferences.general">
83       </page>
84   <!--    <page
85             name="General"
86             class="net.sourceforge.phpdt.tidy.preferences.JTidyPreferences"
87             id="net.sourceforge.phpdt.tidy.preferences.JTidyPreferences"
88             category="net.sourceforge.phpdt.tidy.preferences.general">
89       </page> -->
90       <page
91                 name="Format"
92                 class="net.sourceforge.phpdt.tidy.preferences.JTidyOutputPreferences"
93                 id="net.sourceforge.phpdt.tidy.preferences.OutputFormat"
94                 category="net.sourceforge.phpdt.tidy.preferences.general">
95       </page>
96       <page
97                 name="Output"
98                 class="net.sourceforge.phpdt.tidy.preferences.JTidyOutputLookPreferences"
99                 id="net.sourceforge.phpdt.tidy.preferences.OutputLook"
100                 category="net.sourceforge.phpdt.tidy.preferences.general">
101       </page>
102       <page
103                 name="Indentation, Wrapping"
104                 class="net.sourceforge.phpdt.tidy.preferences.JTidyWrapIndentPreferences"
105                 id="net.sourceforge.phpdt.tidy.preferences.WrapIndent"
106                 category="net.sourceforge.phpdt.tidy.preferences.general">
107       </page>    
108       <page
109                 name="New Tags"
110                 class="net.sourceforge.phpdt.tidy.preferences.JTidyNewTagsPreferences"
111                 id="net.sourceforge.phpdt.tidy.preferences.NewTags"
112                 category="net.sourceforge.phpdt.tidy.preferences.general">
113       </page>
114    </extension>
115    <extension
116          point="org.eclipse.ui.views">
117       <view
118             name="JTidy Console"
119             icon="icons/obj16/jtidy.gif"
120             class="net.sourceforge.phpdt.tidy.JTidyConsole"
121             id="net.sourceforge.phpdt.tidy.consoleview">
122       </view>
123    </extension>
124
125 </plugin>