*** empty log message ***
[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.2"
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    </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       <viewerContribution
47             targetID="#PHPEditorContext"
48             id="net.sourceforge.phpdt.tidy.editorpopup">
49          <menu
50                label="JTidy"
51                path="additions"
52                id="net.sourceforge.phpdt.tidy.menu2">
53             <separator
54                   name="group1">
55             </separator>
56          </menu>
57          <action
58                label="Check Markup"
59                class="net.sourceforge.phpdt.tidy.actions.ParseWithJTidyEditorAction"
60                menubarPath="net.sourceforge.phpdt.tidy.menu2/group1"
61                
62                id="net.sourceforge.phpdt.tidy.ParseEditorAction">
63          </action>
64          <action
65                label="Format"
66                class="net.sourceforge.phpdt.tidy.actions.FormatWithJTidyEditorAction"
67                menubarPath="net.sourceforge.phpdt.tidy.menu2/group1"
68               
69                id="net.sourceforge.phpdt.tidy.FormatEditorAction">
70          </action>
71       </viewerContribution> 
72       <objectContribution
73             objectClass="org.eclipse.core.resources.IFile"
74             nameFilter="*.htm*"
75             id="net.sourceforge.phpdt.tidy.filepopups">
76          <menu
77                label="JTidy"
78                path="additions"
79                id="net.sourceforge.phpdt.tidy.menu1">
80             <separator
81                   name="group1">
82             </separator>
83          </menu>
84          <action
85                label="Check Markup"
86                class="net.sourceforge.phpdt.tidy.actions.ParseWithJTidyAction"
87                menubarPath="net.sourceforge.phpdt.tidy.menu1/group1"
88                enablesFor="+"
89                id="net.sourceforge.phpdt.tidy.ParseAction">
90          </action>
91          <action
92                label="Format"
93                class="net.sourceforge.phpdt.tidy.actions.FormatWithJTidyAction"
94                menubarPath="net.sourceforge.phpdt.tidy.menu1/group1"
95                enablesFor="+"
96                id="net.sourceforge.phpdt.tidy.FormatAction">
97          </action>
98       </objectContribution>
99       <objectContribution
100             objectClass="org.eclipse.core.resources.IFile"
101             nameFilter="*.php*"
102             id="net.sourceforge.phpdt.tidy.filepopups">
103          <menu
104                label="JTidy"
105                path="additions"
106                id="net.sourceforge.phpdt.tidy.menu1">
107             <separator
108                   name="group1">
109             </separator>
110          </menu>
111          <action
112                label="Check Markup"
113                class="net.sourceforge.phpdt.tidy.actions.ParseWithJTidyAction"
114                menubarPath="net.sourceforge.phpdt.tidy.menu1/group1"
115                enablesFor="+"
116                id="net.sourceforge.phpdt.tidy.ParseAction">
117          </action>
118          <action
119                label="Format"
120                class="net.sourceforge.phpdt.tidy.actions.FormatWithJTidyAction"
121                menubarPath="net.sourceforge.phpdt.tidy.menu1/group1"
122                enablesFor="+"
123                id="net.sourceforge.phpdt.tidy.FormatAction">
124          </action>
125       </objectContribution>
126    </extension>
127
128     <extension
129          point="org.eclipse.ui.preferencePages">
130           <page
131             name="HTML JTidy"
132             class="net.sourceforge.phpdt.tidy.preferences.JTidyGeneralPreferences"
133             id="net.sourceforge.phpdt.tidy.preferences.general">
134       </page>
135   <!--    <page
136             name="General"
137             class="net.sourceforge.phpdt.tidy.preferences.JTidyPreferences"
138             id="net.sourceforge.phpdt.tidy.preferences.JTidyPreferences"
139             category="net.sourceforge.phpdt.tidy.preferences.general">
140       </page> -->
141       <page
142                 name="Format"
143                 class="net.sourceforge.phpdt.tidy.preferences.JTidyOutputPreferences"
144                 id="net.sourceforge.phpdt.tidy.preferences.OutputFormat"
145                 category="net.sourceforge.phpdt.tidy.preferences.general">
146       </page>
147       <page
148                 name="Output"
149                 class="net.sourceforge.phpdt.tidy.preferences.JTidyOutputLookPreferences"
150                 id="net.sourceforge.phpdt.tidy.preferences.OutputLook"
151                 category="net.sourceforge.phpdt.tidy.preferences.general">
152       </page>
153       <page
154                 name="Indentation, Wrapping"
155                 class="net.sourceforge.phpdt.tidy.preferences.JTidyWrapIndentPreferences"
156                 id="net.sourceforge.phpdt.tidy.preferences.WrapIndent"
157                 category="net.sourceforge.phpdt.tidy.preferences.general">
158       </page>    
159       <page
160                 name="New Tags"
161                 class="net.sourceforge.phpdt.tidy.preferences.JTidyNewTagsPreferences"
162                 id="net.sourceforge.phpdt.tidy.preferences.NewTags"
163                 category="net.sourceforge.phpdt.tidy.preferences.general">
164       </page>
165    </extension>
166    <extension
167          point="org.eclipse.ui.views">
168       <view
169             name="JTidy Console"
170             icon="icons/obj16/jtidy.gif"
171             class="net.sourceforge.phpdt.tidy.JTidyConsole"
172             id="net.sourceforge.phpdt.tidy.consoleview">
173       </view>
174    </extension>
175
176 </plugin>