newest feature.xml
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.wiki / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.0"?>
3 <plugin
4    id="net.sourceforge.phpeclipse.wiki"
5    name="Wikipedia Editor Plug-in"
6    version="1.1.1"
7    provider-name="www.phpeclipse.de"
8    class="net.sourceforge.phpeclipse.wiki.editor.WikiEditorPlugin">
9
10    <runtime>
11       <library name="wiki.jar">
12         <export name="*"/>
13       </library>
14       <library name="lib/xmlrpc-1.1.jar"/>
15       <library name="lib/radeox.jar"/>
16       <library name="lib/commons-logging.jar"/>
17       <library name="lib/commons-httpclient-2.0.2.jar"/>
18       <library name="lib/java2html_4.1.jar"/>
19       <library name="lib/plog4u.jar"/>
20       <library name="lib/velocity-dep-1.4.jar"/>
21    </runtime>
22    <requires>
23       <import plugin="org.eclipse.core.runtime.compatibility"/>
24       <import plugin="org.eclipse.ui.ide"/>
25       <import plugin="org.eclipse.core.resources"/>
26       <import plugin="org.eclipse.ui"/>
27       <import plugin="org.eclipse.swt"/>
28       <import plugin="org.eclipse.ui.forms"/>
29       <import plugin="org.eclipse.ui.views"/>
30       <import plugin="org.eclipse.core.runtime"/>
31       <import plugin="org.eclipse.jface.text"/>
32       <import plugin="org.eclipse.ui"/>
33       <import plugin="org.eclipse.ui.views"/>
34       <import plugin="org.eclipse.ui.editors"/>
35       <import plugin="org.eclipse.ui.workbench.texteditor"/>
36       <import plugin="net.sourceforge.phpeclipse.webbrowser"/>
37    </requires>
38    
39    <extension
40          point="org.eclipse.ui.editors">
41       <editor
42             icon="icons/text.gif"
43             class="net.sourceforge.phpeclipse.wiki.editor.WikiEditor"
44             default="true"
45             contributorClass="net.sourceforge.phpeclipse.wiki.editor.WikiEditorContributor"
46             name="WikiEditor"
47             id="net.sourceforge.phpeclipse.wiki.editor"
48             extensions="wp"/>
49    </extension>
50    <extension
51          point="org.eclipse.ui.editors.templates">
52       <contextType
53             class="org.eclipse.jface.text.templates.TemplateContextType"
54             name="Wikipedia Templates"
55             id="net.sourceforge.phpeclipse.wiki.editor.templates"/>
56       <include file="templates/templates.xml"/>
57    </extension>
58
59    <extension
60          point="org.eclipse.ui.editors.markerAnnotationSpecification">
61       <specification
62             annotationType="net.sourceforge.phpeclipse.wiki.editor.highlightannotation"
63             verticalRulerPreferenceKey="highlight.rulers.vertical"
64             textPreferenceKey="highlight.text"
65             colorPreferenceKey="highlight.color"
66             highlightPreferenceKey="highlight.background"
67             textPreferenceValue="false"
68             textStylePreferenceValue="UNDERLINE"
69             overviewRulerPreferenceKey="highlight.rulers.overview"
70             presentationLayer="4"
71             highlightPreferenceValue="true"
72             label="Zutaten"
73             icon="icons/occurrence.gif"
74             colorPreferenceValue="253,255,157"
75             verticalRulerPreferenceValue="true"
76             overviewRulerPreferenceValue="true"
77             textStylePreferenceKey="highlight.text.style">
78       </specification>
79    </extension>
80
81    <!-- linked annotations -->
82    <extension
83          point="org.eclipse.ui.editors.markerAnnotationSpecification">
84           <specification
85             annotationType="org.eclipse.jdt.ui.link.master"
86             colorPreferenceValue="70,100,165"
87             colorPreferenceKey="linked.focus.color"
88             isGoToPreviousNavigationTarget="false"
89             isGoToPreviousNavigationTargetKey="linked.focus.navigation.previous"
90             showInNextPrevDropdownToolbarAction="false"
91             showInNextPrevDropdownToolbarActionKey="linked.focus.navigation.dropdown"
92             isGoToNextNavigationTarget="false"
93             isGoToNextNavigationTargetKey="linked.focus.navigation.next"
94             contributesToHeader="false"
95             overviewRulerPreferenceValue="false"
96             presentationLayer="4"
97             label="Linked Position (Focus)"
98             textPreferenceValue="true"
99             textPreferenceKey="linked.focus.text"
100             highlightPreferenceKey="linked.focus.highlight"
101             highlightPreferenceValue="false"
102             textStylePreferenceKey="linked.focus.text.style"
103             textStylePreferenceValue="BOX"
104             verticalRulerPreferenceKey="linked.focus.verticalruler"
105             verticalRulerPreferenceValue="false"
106             overviewRulerPreferenceKey="linked.focus.overviewruler">
107       </specification>      
108       <specification
109             annotationType="org.eclipse.jdt.ui.link.slave"
110             colorPreferenceValue="180,215,255"
111             colorPreferenceKey="linked.slave.color"
112             isGoToPreviousNavigationTarget="false"
113             isGoToPreviousNavigationTargetKey="linked.slave.navigation.previous"
114             showInNextPrevDropdownToolbarAction="false"
115             showInNextPrevDropdownToolbarActionKey="linked.slave.navigation.dropdown"
116             isGoToNextNavigationTarget="false"
117             isGoToNextNavigationTargetKey="linked.slave.navigation.next"
118             contributesToHeader="false"
119             overviewRulerPreferenceValue="false"
120             presentationLayer="4"
121             label="Linked Position (Slave)"
122             textPreferenceValue="false"
123             textPreferenceKey="linked.slave.text"
124             highlightPreferenceKey="linked.slave.highlight"
125             highlightPreferenceValue="true"
126             textStylePreferenceKey="linked.slave.text.style"
127             textStylePreferenceValue="NONE"
128             verticalRulerPreferenceKey="linked.slave.verticalruler"
129             verticalRulerPreferenceValue="false"
130             overviewRulerPreferenceKey="linked.slave.overviewruler">
131       </specification>      
132       <specification
133             annotationType="org.eclipse.jdt.ui.link.target"
134             colorPreferenceValue="70,100,165"
135             colorPreferenceKey="linked.target.color"
136             isGoToPreviousNavigationTarget="false"
137             isGoToPreviousNavigationTargetKey="linked.target.navigation.previous"
138             showInNextPrevDropdownToolbarAction="false"
139             showInNextPrevDropdownToolbarActionKey="linked.target.navigation.dropdown"
140             isGoToNextNavigationTarget="false"
141             isGoToNextNavigationTargetKey="linked.target.navigation.next"
142             contributesToHeader="false"
143             overviewRulerPreferenceValue="false"
144             presentationLayer="4"
145             label="Linked Position (Target)"
146             textPreferenceValue="true"
147             textPreferenceKey="linked.target.text"
148             highlightPreferenceKey="linked.target.highlight"
149             highlightPreferenceValue="false"
150             textStylePreferenceKey="linked.target.text.style"
151             textStylePreferenceValue="BOX"
152             verticalRulerPreferenceKey="linked.target.verticalruler"
153             verticalRulerPreferenceValue="false"
154             overviewRulerPreferenceKey="linked.target.overviewruler">
155       </specification>
156       <specification
157             annotationType="org.eclipse.jdt.ui.link.exit"
158             colorPreferenceValue="0,180,0"
159             colorPreferenceKey="linked.exit.color"
160             isGoToPreviousNavigationTarget="false"
161             isGoToPreviousNavigationTargetKey="linked.exit.navigation.previous"
162             showInNextPrevDropdownToolbarAction="false"
163             showInNextPrevDropdownToolbarActionKey="linked.exit.navigation.dropdown"
164             isGoToNextNavigationTarget="false"
165             isGoToNextNavigationTargetKey="linked.exit.navigation.next"
166             contributesToHeader="false"
167             overviewRulerPreferenceValue="false"
168             presentationLayer="4"
169             label="Linked Position (Exit)"
170             textPreferenceValue="true"
171             textPreferenceKey="linked.exit.text"
172             highlightPreferenceKey="linked.exit.highlight"
173             highlightPreferenceValue="false"
174             textStylePreferenceKey="linked.exit.text.style"
175             textStylePreferenceValue="IBEAM"
176             verticalRulerPreferenceKey="linked.exit.verticalruler"
177             verticalRulerPreferenceValue="false"
178             overviewRulerPreferenceKey="linked.exit.overviewruler">
179       </specification>
180         </extension>
181         <extension
182          id="wikibuilder"
183          name="Wiki Builder"
184          point="org.eclipse.core.resources.builders">
185       <builder>
186          <run class="net.sourceforge.phpeclipse.wiki.builder.WikiBuilder"/>  
187       </builder>
188    </extension>
189    
190    <extension
191          point="org.eclipse.ui.popupMenus">
192        <objectContribution
193              adaptable="false"
194              objectClass="org.eclipse.core.resources.IProject"
195              id="net.sourceforge.phpeclipse.wiki.addwikibuilder">
196          <action
197                label="Add Wiki Builder"
198                class="net.sourceforge.phpeclipse.wiki.builder.AddBuilderAction"
199                menubarPath="additions"
200                id="net.sourceforge.phpeclipse.wiki.builder.AddBuilderAction">
201          </action>
202       </objectContribution>
203   <!--    <objectContribution
204              adaptable="false"
205              objectClass="org.eclipse.core.resources.IFile"
206              id="net.sourceforge.phpeclipse.wiki.createpager">
207          <action
208                label="Create HTML Page"
209                class="net.sourceforge.phpeclipse.wiki.builder.CreatePageAction"
210                menubarPath="additions"
211                id="net.sourceforge.phpeclipse.wiki.builder.CreatePageAction">
212          </action>
213       </objectContribution> -->
214     </extension>
215     
216     <extension point="org.eclipse.ui.preferencePages">
217       <page
218            name="Wiki Configurations"
219            id="net.sourceforge.phpeclipse.wiki.ui.internal.configurationPreferencePage"
220            class="net.sourceforge.phpeclipse.wiki.ui.internal.ConfigurationPreferencePage"/>
221       <page
222            name="Wiki Project Defaults"
223            class="net.sourceforge.phpeclipse.wiki.preferences.WikiProjectPreferences"
224            id="net.sourceforge.phpeclipse.wiki.preferences.WikiProjectPreferences">
225       </page>
226     </extension>
227     <extension
228          point="org.eclipse.ui.propertyPages">
229       <page
230             objectClass="org.eclipse.core.resources.IProject"
231             name="Static Wiki Project Settings"
232             class="net.sourceforge.phpeclipse.wiki.preferences.WikiProjectPreferences"
233             id="net.sourceforge.phpeclipse.wiki.preferences.WikiProjectPreferences">
234       </page>
235     </extension>
236     
237     <extension
238          point="org.eclipse.ui.popupMenus">
239       <viewerContribution
240             targetID="#PHPEditorContext"
241             id="net.sourceforge.phpeclipse.wiki.phpeditor.viewercontribution">
242          <action
243                label="Open Wiki Link"
244                class="net.sourceforge.phpeclipse.wiki.actions.OpenWikiLinkEditorAction"
245                menubarPath="additions"
246                id="net.sourceforge.phpeclipse.wiki.actions.OpenWikiLinkEditorAction">
247          </action>
248          <action
249                label="Post to pLog4U.de"
250                class="net.sourceforge.phpeclipse.wiki.actions.NewPostBlogEditorAction"
251                menubarPath="additions"
252                id="net.sourceforge.phpeclipse.wiki.actions.NewPostBlogEditorAction">
253          </action>
254       </viewerContribution>
255       
256       <viewerContribution
257             targetID="#CompilationUnitEditorContext"
258             id="net.sourceforge.phpeclipse.wiki.phpeditor.viewercontribution">
259          <action
260                label="Open Wiki Link"
261                class="net.sourceforge.phpeclipse.wiki.actions.OpenWikiLinkEditorAction"
262                menubarPath="additions"
263                id="net.sourceforge.phpeclipse.wiki.actions.OpenWikiLinkEditorAction">
264          </action>
265          <action
266                label="Post to pLog4U.de"
267                class="net.sourceforge.phpeclipse.wiki.actions.NewPostBlogEditorAction"
268                menubarPath="additions"
269                id="net.sourceforge.phpeclipse.wiki.actions.NewPostBlogEditorAction">
270          </action>
271       </viewerContribution>
272       <viewerContribution
273             targetID="#EditorContext"
274             id="net.sourceforge.phpeclipse.wiki.texteditor.viewercontribution">
275          <action
276                label="Open Wiki Link"
277                class="net.sourceforge.phpeclipse.wiki.actions.OpenWikiLinkEditorAction"
278                menubarPath="additions"
279                id="net.sourceforge.phpeclipse.wiki.actions.OpenWikiLinkEditorAction">
280          </action>
281          <action
282                label="Post to pLog4U.de"
283                class="net.sourceforge.phpeclipse.wiki.actions.NewPostBlogEditorAction"
284                menubarPath="additions"
285                id="net.sourceforge.phpeclipse.wiki.actions.NewPostBlogEditorAction">
286          </action>
287       </viewerContribution>            
288       <viewerContribution
289             targetID="#PHPEditorContext"
290             id="net.sourceforge.phpeclipse.wiki.phpeditor.viewercontribution">
291            <menu
292                         id="mediawikiMenu"
293                         label="%MediaWiki.label"
294                         path="rest">
295                  </menu>
296                  <action
297                label="Refresh Wikibooks-en"
298                class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikibooksENAction"
299                menubarPath="mediawikiMenu/additions"
300                id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikibooksENAction">
301          </action>
302                  <action
303                label="Refresh Wikipedia-en"
304                class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikipediaENAction"
305                menubarPath="mediawikiMenu/additions"
306                id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikipediaENAction">
307          </action>
308 <!--         <action
309                label="Download Link's Wiki Text (Wikibooks.org)"
310                class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikiLinkEditorAction"
311                menubarPath="mediawikiMenu/additions"
312                id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikiLinkEditorAction">
313          </action> -->
314          <action
315                label="Refresh Wikipedia..."
316                class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikipediaAction"
317                menubarPath="mediawikiMenu/additions"
318                id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikipediaAction">
319          </action>
320       </viewerContribution>
321       <viewerContribution
322             targetID="#EditorContext"
323             id="net.sourceforge.phpeclipse.wiki.texteditor.viewercontribution">
324          <menu
325                         id="mediawikiMenu"
326                         label="%MediaWiki.label"
327                         path="rest">
328                  </menu>
329                  <action
330                label="Refresh Wikibooks-en"
331                class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikibooksENAction"
332                menubarPath="mediawikiMenu/additions"
333                id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikibooksENAction">
334          </action>
335          <action
336                label="Refresh Wikipedia-en"
337                class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikipediaENAction"
338                menubarPath="mediawikiMenu/additions"
339                id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikipediaENAction">
340          </action>
341   <!--       <action 
342                label="Download Link's Wiki Text (Wikibooks.org)"
343                class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikiLinkEditorAction"
344                menubarPath="mediawikiMenu/additions"
345                id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikiLinkEditorAction">
346          </action> -->
347          <action
348                label="Refresh Wikipedia..."
349                class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikipediaAction"
350                menubarPath="mediawikiMenu/additions"
351                id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikipediaAction">
352          </action>
353       </viewerContribution>   
354       <viewerContribution
355             targetID="#CompilationUnitEditorContext"
356             id="net.sourceforge.phpeclipse.wiki.phpeditor.viewercontribution">
357            <menu
358                         id="httpqueryMenu"
359                         label="%HTTPQuery.label"
360                         path="rest">
361                  </menu>
362                  <action
363                label="Koders.com Search"
364                class="net.sourceforge.phpeclipse.wiki.actions.httpquery.KodersAction"
365                menubarPath="httpqueryMenu/additions"
366                id="net.sourceforge.phpeclipse.wiki.actions.httpquery.KodersAction">
367          </action>
368                  <action
369                label="Google Search"
370                class="net.sourceforge.phpeclipse.wiki.actions.httpquery.GoogleAction"
371                menubarPath="httpqueryMenu/additions"
372                id="net.sourceforge.phpeclipse.wiki.actions.httpquery.GoogleAction">
373          </action>
374                  <action
375                label="HTTP Query..."
376                class="net.sourceforge.phpeclipse.wiki.actions.httpquery.HTTPQueryAction"
377                menubarPath="httpqueryMenu/additions"
378                id="net.sourceforge.phpeclipse.wiki.actions.httpquery.HTTPQueryAction">
379          </action>
380       </viewerContribution>
381       <viewerContribution
382             targetID="#PHPEditorContext"
383             id="net.sourceforge.phpeclipse.wiki.phpeditor.viewercontribution">
384            <menu
385                         id="httpqueryMenu"
386                         label="%HTTPQuery.label"
387                         path="rest">
388                  </menu>
389                  <action
390                label="Koders.com Search"
391                class="net.sourceforge.phpeclipse.wiki.actions.httpquery.KodersAction"
392                menubarPath="httpqueryMenu/additions"
393                id="net.sourceforge.phpeclipse.wiki.actions.httpquery.KodersAction">
394          </action>
395                  <action
396                label="Google Search"
397                class="net.sourceforge.phpeclipse.wiki.actions.httpquery.GoogleAction"
398                menubarPath="httpqueryMenu/additions"
399                id="net.sourceforge.phpeclipse.wiki.actions.httpquery.GoogleAction">
400          </action>
401                  <action
402                label="HTTP Query..."
403                class="net.sourceforge.phpeclipse.wiki.actions.httpquery.HTTPQueryAction"
404                menubarPath="httpqueryMenu/additions"
405                id="net.sourceforge.phpeclipse.wiki.actions.httpquery.HTTPQueryAction">
406          </action>
407       </viewerContribution>
408       <viewerContribution
409             targetID="#EditorContext"
410             id="net.sourceforge.phpeclipse.wiki.texteditor.viewercontribution">
411          <menu
412                         id="httpqueryMenu"
413                         label="%HTTPQuery.label"
414                         path="rest">
415                  </menu>
416                  <action
417                label="Koders.com Search"
418                class="net.sourceforge.phpeclipse.wiki.actions.httpquery.KodersAction"
419                menubarPath="httpqueryMenu/additions"
420                id="net.sourceforge.phpeclipse.wiki.actions.httpquery.KodersAction">
421          </action>
422                  <action
423                label="Google Search"
424                class="net.sourceforge.phpeclipse.wiki.actions.httpquery.GoogleAction"
425                menubarPath="httpqueryMenu/additions"
426                id="net.sourceforge.phpeclipse.wiki.actions.httpquery.GoogleAction">
427          </action>
428                  <action
429                label="HTTP Query..."
430                class="net.sourceforge.phpeclipse.wiki.actions.httpquery.HTTPQueryAction"
431                menubarPath="httpqueryMenu/additions"
432                id="net.sourceforge.phpeclipse.wiki.actions.httpquery.HTTPQueryAction">
433          </action>
434       </viewerContribution>   
435   </extension>
436   <extension 
437          name="Wikipedia"
438          point="org.eclipse.ui.exportWizards">
439       <wizard 
440             name="Wikipedia"
441             class="net.sourceforge.phpeclipse.wiki.export.WikiExportWizard"
442             id="WikiWizard">
443       </wizard>
444    </extension>
445 </plugin>