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