Added new Option "Wrap PHPdocs and comments at print margin"
[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.2"
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/plog4u.jar"/>
19       <library name="lib/velocity-dep-1.4.jar"/>
20       <library name="lib/mysql-connector.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="Wikipedia Editor Configurations"
219            id="net.sourceforge.phpeclipse.wiki.ui.internal.configurationPreferencePage"
220            class="net.sourceforge.phpeclipse.wiki.ui.internal.ConfigurationPreferencePage"/>
221       <page
222             name="Templates"
223             category="net.sourceforge.phpeclipse.wiki.ui.internal.configurationPreferencePage"
224             class="net.sourceforge.phpeclipse.wiki.preferences.TemplatesPreferencePage"
225             id="net.sourceforge.phpeclipse.wiki.preferences.TemplatesPreferencePage"/>
226       <page
227            name="Wiki Project Defaults"
228            category="net.sourceforge.phpeclipse.wiki.ui.internal.configurationPreferencePage"
229            class="net.sourceforge.phpeclipse.wiki.preferences.WikiProjectPreferences"
230            id="net.sourceforge.phpeclipse.wiki.preferences.WikiProjectPreferences"/>
231     </extension>
232     <extension
233          point="org.eclipse.ui.propertyPages">
234       <page
235             objectClass="org.eclipse.core.resources.IProject"
236             name="Wiki Project Settings"
237             class="net.sourceforge.phpeclipse.wiki.preferences.WikiProjectPreferences"
238             id="net.sourceforge.phpeclipse.wiki.preferences.WikiProjectPreferences">
239       </page>
240     </extension>
241     
242     <extension
243          point="org.eclipse.ui.popupMenus">
244       <viewerContribution
245             targetID="#PHPEditorContext"
246             id="net.sourceforge.phpeclipse.wiki.phpeditor.viewercontribution">
247          <action
248                label="Open Wiki Link"
249                class="net.sourceforge.phpeclipse.wiki.actions.OpenWikiLinkEditorAction"
250                menubarPath="additions"
251                id="net.sourceforge.phpeclipse.wiki.actions.OpenWikiLinkEditorAction">
252          </action>
253       </viewerContribution>
254       
255       <viewerContribution
256             targetID="#CompilationUnitEditorContext"
257             id="net.sourceforge.phpeclipse.wiki.phpeditor.viewercontribution">
258          <action
259                label="Open Wiki Link"
260                class="net.sourceforge.phpeclipse.wiki.actions.OpenWikiLinkEditorAction"
261                menubarPath="additions"
262                id="net.sourceforge.phpeclipse.wiki.actions.OpenWikiLinkEditorAction">
263          </action>
264       </viewerContribution>
265       <viewerContribution
266             targetID="#EditorContext"
267             id="net.sourceforge.phpeclipse.wiki.texteditor.viewercontribution">
268          <action
269                label="Open Wiki Link"
270                class="net.sourceforge.phpeclipse.wiki.actions.OpenWikiLinkEditorAction"
271                menubarPath="additions"
272                id="net.sourceforge.phpeclipse.wiki.actions.OpenWikiLinkEditorAction">
273          </action>
274       </viewerContribution>            
275       <viewerContribution
276             targetID="#PHPEditorContext"
277             id="net.sourceforge.phpeclipse.wiki.phpeditor.viewercontribution">
278            <menu
279                         id="mediawikiMenu"
280                         label="%MediaWiki.label"
281                         path="rest">
282                  </menu>
283                  <action
284                label="Refresh Wikibooks-en"
285                class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikibooksENAction"
286                menubarPath="mediawikiMenu/additions"
287                id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikibooksENAction">
288          </action>
289                  <action
290                label="Refresh Wikipedia-en"
291                class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikipediaENAction"
292                menubarPath="mediawikiMenu/additions"
293                id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikipediaENAction">
294          </action>
295 <!--         <action
296                label="Download Link's Wiki Text (Wikibooks.org)"
297                class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikiLinkEditorAction"
298                menubarPath="mediawikiMenu/additions"
299                id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikiLinkEditorAction">
300          </action> -->
301          <action
302                label="Refresh Wikipedia..."
303                class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikipediaAction"
304                menubarPath="mediawikiMenu/additions"
305                id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikipediaAction">
306          </action>
307       </viewerContribution>
308             <viewerContribution
309             targetID="#EditorContext"
310             id="net.sourceforge.phpeclipse.wiki.texteditor.viewercontribution">
311          <menu
312                         id="blogwikiMenu"
313                         label="%BlogWiki.label"
314                         path="rest">
315                  </menu>
316                  <action
317                label="Blog a Wiki text"
318                class="net.sourceforge.phpeclipse.wiki.actions.blogwiki.NewPostBlogWikiAction"
319                menubarPath="blogwikiMenu/additions"
320                id="net.sourceforge.phpeclipse.wiki.actions.blogwiki.NewPostBlogWikiAction">
321          </action> 
322       </viewerContribution>   
323       <viewerContribution
324             targetID="#EditorContext"
325             id="net.sourceforge.phpeclipse.wiki.texteditor.viewercontribution">
326          <menu
327                         id="bloghtmlMenu"
328                         label="%BlogHTML.label"
329                         path="rest">
330                  </menu>
331                  <action
332                label="Blog a HTML text"
333                class="net.sourceforge.phpeclipse.wiki.actions.blogwiki.NewPostBlogHTMLAction"
334                menubarPath="bloghtmlMenu/additions"
335                id="net.sourceforge.phpeclipse.wiki.actions.blogwiki.NewPostBlogHTMLAction">
336          </action> 
337       </viewerContribution>       
338             <viewerContribution
339             targetID="#EditorContext"
340             id="net.sourceforge.phpeclipse.wiki.texteditor.viewercontribution">
341          <menu
342                         id="mediawikiUploadMenu"
343                         label="%MediaWiki.upload.label"
344                         path="rest">
345                  </menu>
346          <action
347                label="Upload to Wikipedia..."
348                class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.post.StoreWikipediaAction"
349                menubarPath="mediawikiUploadMenu/additions"
350                id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.post.StoreWikipediaAction">
351          </action>
352       </viewerContribution>
353       <viewerContribution
354             targetID="#EditorContext"
355             id="net.sourceforge.phpeclipse.wiki.texteditor.viewercontribution">
356          <menu
357                         id="mediawikiDownloadMenu"
358                         label="%MediaWiki.download.label"
359                         path="rest">
360                  </menu>  
361                  <action
362                label="Refresh Text from SQL"
363                class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.LoadWikipediaSQLAction"
364                menubarPath="mediawikiDownloadMenu/additions"
365                id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.LoadWikipediaSQLAction">
366          </action>
367                  <action
368                label="Download from Wikibooks-en"
369                class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikibooksENAction"
370                menubarPath="mediawikiDownloadMenu/additions"
371                id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikibooksENAction">
372          </action>
373          <action
374                label="Download from Wikipedia-en"
375                class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikipediaENAction"
376                menubarPath="mediawikiDownloadMenu/additions"
377                id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikipediaENAction">
378          </action>
379   <!--       <action 
380                label="Download Link's Wiki Text (Wikibooks.org)"
381                class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikiLinkEditorAction"
382                menubarPath="mediawikiDownloadMenu/additions"
383                id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikiLinkEditorAction">
384          </action> -->
385          <action
386                label="Download from Wikipedia..."
387                class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikipediaAction"
388                menubarPath="mediawikiDownloadMenu/additions"
389                id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikipediaAction">
390          </action>
391       </viewerContribution>   
392       
393       <viewerContribution
394             targetID="#CompilationUnitEditorContext"
395             id="net.sourceforge.phpeclipse.wiki.phpeditor.viewercontribution">
396            <menu
397                         id="httpqueryMenu"
398                         label="%HTTPQuery.label"
399                         path="rest">
400                  </menu>
401                  <action
402                label="Koders.com Search"
403                class="net.sourceforge.phpeclipse.wiki.actions.httpquery.KodersAction"
404                menubarPath="httpqueryMenu/additions"
405                id="net.sourceforge.phpeclipse.wiki.actions.httpquery.KodersAction">
406          </action>
407                  <action
408                label="Google Search"
409                class="net.sourceforge.phpeclipse.wiki.actions.httpquery.GoogleAction"
410                menubarPath="httpqueryMenu/additions"
411                id="net.sourceforge.phpeclipse.wiki.actions.httpquery.GoogleAction">
412          </action>
413                  <action
414                label="HTTP Query..."
415                class="net.sourceforge.phpeclipse.wiki.actions.httpquery.HTTPQueryAction"
416                menubarPath="httpqueryMenu/additions"
417                id="net.sourceforge.phpeclipse.wiki.actions.httpquery.HTTPQueryAction">
418          </action>
419       </viewerContribution>
420       <viewerContribution
421             targetID="#PHPEditorContext"
422             id="net.sourceforge.phpeclipse.wiki.phpeditor.viewercontribution">
423            <menu
424                         id="httpqueryMenu"
425                         label="%HTTPQuery.label"
426                         path="rest">
427                  </menu>
428                  <action
429                label="Koders.com Search"
430                class="net.sourceforge.phpeclipse.wiki.actions.httpquery.KodersAction"
431                menubarPath="httpqueryMenu/additions"
432                id="net.sourceforge.phpeclipse.wiki.actions.httpquery.KodersAction">
433          </action>
434                  <action
435                label="Google Search"
436                class="net.sourceforge.phpeclipse.wiki.actions.httpquery.GoogleAction"
437                menubarPath="httpqueryMenu/additions"
438                id="net.sourceforge.phpeclipse.wiki.actions.httpquery.GoogleAction">
439          </action>
440                  <action
441                label="HTTP Query..."
442                class="net.sourceforge.phpeclipse.wiki.actions.httpquery.HTTPQueryAction"
443                menubarPath="httpqueryMenu/additions"
444                id="net.sourceforge.phpeclipse.wiki.actions.httpquery.HTTPQueryAction">
445          </action>
446       </viewerContribution>
447       <viewerContribution
448             targetID="#EditorContext"
449             id="net.sourceforge.phpeclipse.wiki.texteditor.viewercontribution">
450          <menu
451                         id="httpqueryMenu"
452                         label="%HTTPQuery.label"
453                         path="rest">
454                  </menu>
455                  <action
456                label="Koders.com Search"
457                class="net.sourceforge.phpeclipse.wiki.actions.httpquery.KodersAction"
458                menubarPath="httpqueryMenu/additions"
459                id="net.sourceforge.phpeclipse.wiki.actions.httpquery.KodersAction">
460          </action>
461                  <action
462                label="Google Search"
463                class="net.sourceforge.phpeclipse.wiki.actions.httpquery.GoogleAction"
464                menubarPath="httpqueryMenu/additions"
465                id="net.sourceforge.phpeclipse.wiki.actions.httpquery.GoogleAction">
466          </action>
467                  <action
468                label="HTTP Query..."
469                class="net.sourceforge.phpeclipse.wiki.actions.httpquery.HTTPQueryAction"
470                menubarPath="httpqueryMenu/additions"
471                id="net.sourceforge.phpeclipse.wiki.actions.httpquery.HTTPQueryAction">
472          </action>
473       </viewerContribution>   
474   </extension>
475   <extension 
476          name="Wikipedia"
477          point="org.eclipse.ui.exportWizards">
478       <wizard 
479             name="Wikipedia"
480             class="net.sourceforge.phpeclipse.wiki.export.WikiExportWizard"
481             id="WikiWizard">
482       </wizard>
483    </extension>
484 </plugin>