Implemeted action for uploading Wikipedia articles (thanks to D.Wunsch)
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.wiki / plugin.xml
index 9cce801..beafde2 100644 (file)
@@ -3,7 +3,7 @@
 <plugin
    id="net.sourceforge.phpeclipse.wiki"
    name="Wikipedia Editor Plug-in"
-   version="1.1.1"
+   version="1.1.2"
    provider-name="www.phpeclipse.de"
    class="net.sourceforge.phpeclipse.wiki.editor.WikiEditorPlugin">
 
@@ -15,8 +15,9 @@
       <library name="lib/radeox.jar"/>
       <library name="lib/commons-logging.jar"/>
       <library name="lib/commons-httpclient-2.0.2.jar"/>
-      <library name="lib/java2html_4.1.jar"/>
       <library name="lib/plog4u.jar"/>
+      <library name="lib/velocity-dep-1.4.jar"/>
+      <library name="lib/mysql-connector.jar"/>
    </runtime>
    <requires>
       <import plugin="org.eclipse.core.runtime.compatibility"/>
     
     <extension point="org.eclipse.ui.preferencePages">
       <page
-           name="Wiki Configurations"
+           name="Wikipedia Editor Configurations"
            id="net.sourceforge.phpeclipse.wiki.ui.internal.configurationPreferencePage"
            class="net.sourceforge.phpeclipse.wiki.ui.internal.ConfigurationPreferencePage"/>
       <page
+            name="Templates"
+            category="net.sourceforge.phpeclipse.wiki.ui.internal.configurationPreferencePage"
+            class="net.sourceforge.phpeclipse.wiki.preferences.TemplatesPreferencePage"
+            id="net.sourceforge.phpeclipse.wiki.preferences.TemplatesPreferencePage"/>
+      <page
            name="Wiki Project Defaults"
+           category="net.sourceforge.phpeclipse.wiki.ui.internal.configurationPreferencePage"
            class="net.sourceforge.phpeclipse.wiki.preferences.WikiProjectPreferences"
-           id="net.sourceforge.phpeclipse.wiki.preferences.WikiProjectPreferences">
-      </page>
+           id="net.sourceforge.phpeclipse.wiki.preferences.WikiProjectPreferences"/>
     </extension>
     <extension
          point="org.eclipse.ui.propertyPages">
       <page
             objectClass="org.eclipse.core.resources.IProject"
-            name="Static Wiki Project Settings"
+            name="Wiki Project Settings"
             class="net.sourceforge.phpeclipse.wiki.preferences.WikiProjectPreferences"
             id="net.sourceforge.phpeclipse.wiki.preferences.WikiProjectPreferences">
       </page>
                menubarPath="additions"
                id="net.sourceforge.phpeclipse.wiki.actions.OpenWikiLinkEditorAction">
          </action>
-         <action
-               label="Post to pLog4U.de"
-               class="net.sourceforge.phpeclipse.wiki.actions.NewPostBlogEditorAction"
-               menubarPath="additions"
-               id="net.sourceforge.phpeclipse.wiki.actions.NewPostBlogEditorAction">
-         </action>
       </viewerContribution>
       
       <viewerContribution
                menubarPath="additions"
                id="net.sourceforge.phpeclipse.wiki.actions.OpenWikiLinkEditorAction">
          </action>
-         <action
-               label="Post to pLog4U.de"
-               class="net.sourceforge.phpeclipse.wiki.actions.NewPostBlogEditorAction"
-               menubarPath="additions"
-               id="net.sourceforge.phpeclipse.wiki.actions.NewPostBlogEditorAction">
-         </action>
       </viewerContribution>
       <viewerContribution
             targetID="#EditorContext"
                menubarPath="additions"
                id="net.sourceforge.phpeclipse.wiki.actions.OpenWikiLinkEditorAction">
          </action>
-         <action
-               label="Post to pLog4U.de"
-               class="net.sourceforge.phpeclipse.wiki.actions.NewPostBlogEditorAction"
-               menubarPath="additions"
-               id="net.sourceforge.phpeclipse.wiki.actions.NewPostBlogEditorAction">
-         </action>
       </viewerContribution>            
       <viewerContribution
             targetID="#PHPEditorContext"
                        path="rest">
                 </menu>
                 <action
-               label="Refresh Current Wiki Text (Wikibooks.org)"
-               class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.RefreshWikiTextEditorAction"
+               label="Refresh Wikibooks-en"
+               class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikibooksENAction"
                menubarPath="mediawikiMenu/additions"
-               id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.RefreshWikiTextEditorAction">
+               id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikibooksENAction">
          </action>
-         <action
+                <action
+               label="Refresh Wikipedia-en"
+               class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikipediaENAction"
+               menubarPath="mediawikiMenu/additions"
+               id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikipediaENAction">
+         </action>
+<!--         <action
                label="Download Link's Wiki Text (Wikibooks.org)"
                class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikiLinkEditorAction"
                menubarPath="mediawikiMenu/additions"
                id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikiLinkEditorAction">
+         </action> -->
+         <action
+               label="Refresh Wikipedia..."
+               class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikipediaAction"
+               menubarPath="mediawikiMenu/additions"
+               id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikipediaAction">
          </action>
       </viewerContribution>
+            <viewerContribution
+            targetID="#EditorContext"
+            id="net.sourceforge.phpeclipse.wiki.texteditor.viewercontribution">
+         <menu
+                       id="blogwikiMenu"
+                       label="%BlogWiki.label"
+                       path="rest">
+                </menu>
+                <action
+               label="Blog a Wiki text"
+               class="net.sourceforge.phpeclipse.wiki.actions.blogwiki.NewPostBlogWikiAction"
+               menubarPath="blogwikiMenu/additions"
+               id="net.sourceforge.phpeclipse.wiki.actions.blogwiki.NewPostBlogWikiAction">
+         </action> 
+      </viewerContribution>   
+      <viewerContribution
+            targetID="#EditorContext"
+            id="net.sourceforge.phpeclipse.wiki.texteditor.viewercontribution">
+         <menu
+                       id="bloghtmlMenu"
+                       label="%BlogHTML.label"
+                       path="rest">
+                </menu>
+                <action
+               label="Blog a HTML text"
+               class="net.sourceforge.phpeclipse.wiki.actions.blogwiki.NewPostBlogHTMLAction"
+               menubarPath="bloghtmlMenu/additions"
+               id="net.sourceforge.phpeclipse.wiki.actions.blogwiki.NewPostBlogHTMLAction">
+         </action> 
+      </viewerContribution>       
+      
       <viewerContribution
             targetID="#EditorContext"
             id="net.sourceforge.phpeclipse.wiki.texteditor.viewercontribution">
                        label="%MediaWiki.label"
                        path="rest">
                 </menu>
-         <action
-               label="Refresh Current Wiki Text (Wikibooks.org)"
-               class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.RefreshWikiTextEditorAction"
+                <action
+               label="Refresh Text from SQL"
+               class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.LoadWikipediaSQLAction"
+               menubarPath="mediawikiMenu/additions"
+               id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.LoadWikipediaSQLAction">
+         </action>
+                <action
+               label="Refresh Wikibooks-en"
+               class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikibooksENAction"
                menubarPath="mediawikiMenu/additions"
-               id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.RefreshWikiTextEditorAction">
+               id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikibooksENAction">
          </action>
          <action
+               label="Refresh Wikipedia-en"
+               class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikipediaENAction"
+               menubarPath="mediawikiMenu/additions"
+               id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikipediaENAction">
+         </action>
+  <!--       <action 
                label="Download Link's Wiki Text (Wikibooks.org)"
                class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikiLinkEditorAction"
                menubarPath="mediawikiMenu/additions"
                id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikiLinkEditorAction">
+         </action> -->
+         <action
+               label="Refresh Wikipedia..."
+               class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikipediaAction"
+               menubarPath="mediawikiMenu/additions"
+               id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikipediaAction">
          </action>
       </viewerContribution>   
       <viewerContribution
                        path="rest">
                 </menu>
                 <action
-               label="Run HTTP Query"
+               label="Koders.com Search"
+               class="net.sourceforge.phpeclipse.wiki.actions.httpquery.KodersAction"
+               menubarPath="httpqueryMenu/additions"
+               id="net.sourceforge.phpeclipse.wiki.actions.httpquery.KodersAction">
+         </action>
+                <action
+               label="Google Search"
+               class="net.sourceforge.phpeclipse.wiki.actions.httpquery.GoogleAction"
+               menubarPath="httpqueryMenu/additions"
+               id="net.sourceforge.phpeclipse.wiki.actions.httpquery.GoogleAction">
+         </action>
+                <action
+               label="HTTP Query..."
                class="net.sourceforge.phpeclipse.wiki.actions.httpquery.HTTPQueryAction"
                menubarPath="httpqueryMenu/additions"
                id="net.sourceforge.phpeclipse.wiki.actions.httpquery.HTTPQueryAction">
                        path="rest">
                 </menu>
                 <action
-               label="Run HTTP Query"
+               label="Koders.com Search"
+               class="net.sourceforge.phpeclipse.wiki.actions.httpquery.KodersAction"
+               menubarPath="httpqueryMenu/additions"
+               id="net.sourceforge.phpeclipse.wiki.actions.httpquery.KodersAction">
+         </action>
+                <action
+               label="Google Search"
+               class="net.sourceforge.phpeclipse.wiki.actions.httpquery.GoogleAction"
+               menubarPath="httpqueryMenu/additions"
+               id="net.sourceforge.phpeclipse.wiki.actions.httpquery.GoogleAction">
+         </action>
+                <action
+               label="HTTP Query..."
                class="net.sourceforge.phpeclipse.wiki.actions.httpquery.HTTPQueryAction"
                menubarPath="httpqueryMenu/additions"
                id="net.sourceforge.phpeclipse.wiki.actions.httpquery.HTTPQueryAction">
                        label="%HTTPQuery.label"
                        path="rest">
                 </menu>
-         <action
-               label="Run HTTP Query"
+                <action
+               label="Koders.com Search"
+               class="net.sourceforge.phpeclipse.wiki.actions.httpquery.KodersAction"
+               menubarPath="httpqueryMenu/additions"
+               id="net.sourceforge.phpeclipse.wiki.actions.httpquery.KodersAction">
+         </action>
+                <action
+               label="Google Search"
+               class="net.sourceforge.phpeclipse.wiki.actions.httpquery.GoogleAction"
+               menubarPath="httpqueryMenu/additions"
+               id="net.sourceforge.phpeclipse.wiki.actions.httpquery.GoogleAction">
+         </action>
+                <action
+               label="HTTP Query..."
                class="net.sourceforge.phpeclipse.wiki.actions.httpquery.HTTPQueryAction"
                menubarPath="httpqueryMenu/additions"
                id="net.sourceforge.phpeclipse.wiki.actions.httpquery.HTTPQueryAction">