reduced dependencies
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.wiki / plugin.xml
index de70df9..1e053db 100644 (file)
@@ -3,7 +3,7 @@
 <plugin
    id="net.sourceforge.phpeclipse.wiki"
    name="Wikipedia Editor Plug-in"
-   version="1.1.1"
+   version="1.1.4"
    provider-name="www.phpeclipse.de"
    class="net.sourceforge.phpeclipse.wiki.editor.WikiEditorPlugin">
 
       <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/xstream-1.1.jar"/>
       <library name="lib/plog4u.jar"/>
+      <library name="lib/itext.jar"/>
       <library name="lib/velocity-dep-1.4.jar"/>
+      <library name="lib/mysql-connector.jar"/>
    </runtime>
    <requires>
       <import plugin="org.eclipse.core.runtime.compatibility"/>
@@ -32,6 +34,7 @@
       <import plugin="org.eclipse.ui"/>
       <import plugin="org.eclipse.ui.views"/>
       <import plugin="org.eclipse.ui.editors"/>
+      <import plugin="org.eclipse.ui.console"/>
       <import plugin="org.eclipse.ui.workbench.texteditor"/>
       <import plugin="net.sourceforge.phpeclipse.webbrowser"/>
    </requires>
              adaptable="false"
              objectClass="org.eclipse.core.resources.IProject"
              id="net.sourceforge.phpeclipse.wiki.addwikibuilder">
-         <action
+         <action 
                label="Add Wiki Builder"
                class="net.sourceforge.phpeclipse.wiki.builder.AddBuilderAction"
                menubarPath="additions"
                id="net.sourceforge.phpeclipse.wiki.builder.AddBuilderAction">
          </action>
       </objectContribution>
+      <objectContribution
+             adaptable="false"
+             objectClass="org.eclipse.core.resources.IResource"
+             id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.refreshwikis">
+         <menu
+                       id="mediawikiDownloadMenu"
+                       label="%MediaWiki.download.label"
+                       path="rest">
+                </menu>
+         <action 
+               label="Refresh Wikipages from Web"
+               class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.RefreshWikiFilesAction"
+               menubarPath="mediawikiDownloadMenu/additions"
+               id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.RefreshWikiFilesAction">
+         </action>
+         <action 
+               label="Refresh Wikipages - www.Plog4U.org"
+               class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.RefreshPlog4UORGFilesAction"
+               menubarPath="mediawikiDownloadMenu/additions"
+               id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.RefreshPlog4UORGFilesAction">
+         </action>
+         <action  
+               label="Refresh Wikipages - www.Plog4U.de"
+               class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.RefreshPlog4UDEFilesAction"
+               menubarPath="mediawikiDownloadMenu/additions"
+               id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.RefreshPlog4UDEFilesAction">
+         </action>
+      </objectContribution>
+      <objectContribution
+             adaptable="false"
+             objectClass="org.eclipse.core.resources.IResource"
+             id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.refreshwikis">
+         <menu
+                       id="mediawikiUploadMenu"
+                       label="%MediaWiki.upload.label"
+                       path="rest">
+                </menu>
+         <action
+               label="Upload Wikipages to Web"
+               class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.post.PostWikiFilesAction"
+               menubarPath="mediawikiUploadMenu/additions"
+               id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.post.PostWikiFilesAction">
+         </action>
+         <action
+               label="Upload Wikipages - www.Plog4U.org"
+               class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.post.PostPlog4UORGFilesAction"
+               menubarPath="mediawikiUploadMenu/additions"
+               id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.post.PostPlog4UORGFilesAction">
+         </action>
+         <action
+               label="Upload Wikipages - www.Plog4U.de"
+               class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.post.PostPlog4UDEFilesAction"
+               menubarPath="mediawikiUploadMenu/additions"
+               id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.post.PostPlog4UDEFilesAction">
+         </action>
+      </objectContribution>
   <!--    <objectContribution
              adaptable="false"
              objectClass="org.eclipse.core.resources.IFile"
     
     <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>
             targetID="#PHPEditorContext"
             id="net.sourceforge.phpeclipse.wiki.phpeditor.viewercontribution">
          <action
-               label="Open Wiki Link"
+               label="Open Wiki link"
                class="net.sourceforge.phpeclipse.wiki.actions.OpenWikiLinkEditorAction"
                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="#CompilationUnitEditorContext"
             id="net.sourceforge.phpeclipse.wiki.phpeditor.viewercontribution">
          <action
-               label="Open Wiki Link"
+               label="Open Wiki link"
                class="net.sourceforge.phpeclipse.wiki.actions.OpenWikiLinkEditorAction"
                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"
             id="net.sourceforge.phpeclipse.wiki.texteditor.viewercontribution">
-         <action
-               label="Open Wiki Link"
-               class="net.sourceforge.phpeclipse.wiki.actions.OpenWikiLinkEditorAction"
+            <action
+               label="Create files from Category"
+               class="net.sourceforge.phpeclipse.wiki.actions.category.CreateFilesFromCategoryEditorAction"
                menubarPath="additions"
-               id="net.sourceforge.phpeclipse.wiki.actions.OpenWikiLinkEditorAction">
+               id="net.sourceforge.phpeclipse.wiki.actions.category.CreateFilesFromCategoryEditorAction">
          </action>
          <action
-               label="Post to pLog4U.de"
-               class="net.sourceforge.phpeclipse.wiki.actions.NewPostBlogEditorAction"
+               label="Create files for Wiki links"
+               class="net.sourceforge.phpeclipse.wiki.actions.CreateFilesFromLinksEditorAction"
                menubarPath="additions"
-               id="net.sourceforge.phpeclipse.wiki.actions.NewPostBlogEditorAction">
+               id="net.sourceforge.phpeclipse.wiki.actions.CreateFilesFromLinksEditorAction">
+         </action>
+         <action 
+               label="Open Wiki link"
+               class="net.sourceforge.phpeclipse.wiki.actions.OpenWikiLinkEditorAction"
+               menubarPath="additions"
+               id="net.sourceforge.phpeclipse.wiki.actions.OpenWikiLinkEditorAction">
          </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="#PHPEditorContext"
-            id="net.sourceforge.phpeclipse.wiki.phpeditor.viewercontribution">
-           <menu
-                       id="mediawikiMenu"
-                       label="%MediaWiki.label"
+            targetID="#EditorContext"
+            id="net.sourceforge.phpeclipse.wiki.texteditor.viewercontribution">
+         <menu
+                       id="bloghtmlMenu"
+                       label="%BlogHTML.label"
                        path="rest">
                 </menu>
                 <action
-               label="Refresh Wikibooks-en"
-               class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikibooksENAction"
-               menubarPath="mediawikiMenu/additions"
-               id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikibooksENAction">
+               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">
+         <menu
+                       id="mediawikiUploadMenu"
+                       label="%MediaWiki.upload.label"
+                       path="rest">
+                </menu>
+         <action
+               label="Upload to Wikipedia..."
+               class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.post.StoreWikipediaAction"
+               menubarPath="mediawikiUploadMenu/additions"
+               id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.post.StoreWikipediaAction">
          </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  
+               label="Upload www.Plog4U.org"
+               class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.post.StorePlog4UORGAction"
+               menubarPath="mediawikiUploadMenu/additions"
+               id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.post.StorePlog4UORGAction">
          </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">
+               label="Upload www.Plog4U.de"
+               class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.post.StorePlog4UDEAction"
+               menubarPath="mediawikiUploadMenu/additions"
+               id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.post.StorePlog4UDEAction">
          </action>
-      </viewerContribution>
+      </viewerContribution> -->
       <viewerContribution
             targetID="#EditorContext"
             id="net.sourceforge.phpeclipse.wiki.texteditor.viewercontribution">
          <menu
-                       id="mediawikiMenu"
-                       label="%MediaWiki.label"
+                       id="mediawikiDownloadMenu"
+                       label="%MediaWiki.download.label"
                        path="rest">
-                </menu>
+                </menu>  
                 <action
-               label="Refresh Wikibooks-en"
+               label="Refresh Text from SQL"
+               class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.LoadWikipediaSQLAction"
+               menubarPath="mediawikiDownloadMenu/additions"
+               id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.LoadWikipediaSQLAction">
+         </action>
+  <!--  <action
+               label="Refresh from Wikibooks-en"
                class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikibooksENAction"
-               menubarPath="mediawikiMenu/additions"
+               menubarPath="mediawikiDownloadMenu/additions"
                id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikibooksENAction">
          </action>
          <action
-               label="Refresh Wikipedia-en"
+               label="Refresh  from Wikipedia-en"
                class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikipediaENAction"
-               menubarPath="mediawikiMenu/additions"
+               menubarPath="mediawikiDownloadMenu/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..."
+               label="Refresh from Wikipedia..."
                class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikipediaAction"
-               menubarPath="mediawikiMenu/additions"
+               menubarPath="mediawikiDownloadMenu/additions"
                id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadWikipediaAction">
          </action>
+         <action
+               label="Refresh from Plog4U.org"
+               class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadPlog4UORGAction"
+               menubarPath="mediawikiDownloadMenu/additions"
+               id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadPlog4UORGAction">
+         </action>
+         <action
+               label="Refresh from Plog4U.de"
+               class="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadPlog4UDEAction"
+               menubarPath="mediawikiDownloadMenu/additions"
+               id="net.sourceforge.phpeclipse.wiki.actions.mediawiki.DownloadPlog4UDEAction">
+         </action>  -->
       </viewerContribution>   
+      
       <viewerContribution
             targetID="#CompilationUnitEditorContext"
             id="net.sourceforge.phpeclipse.wiki.phpeditor.viewercontribution">
          </action>
       </viewerContribution>   
   </extension>
+     <extension
+         point="org.eclipse.ui.newWizards">
+      <category
+            name="%newWizardCategory.name"
+            id="net.sourceforge.phpeclipse.wiki.wizards.NewWizardCategory">
+      </category>
+      <wizard
+            name="%newWizardProject.name"
+            icon="icons/step.gif"
+            category="net.sourceforge.phpeclipse.wiki.wizards.NewWizardCategory"
+            class="net.sourceforge.phpeclipse.wiki.wizards.NewProjectCreationWizard"
+            project="true"
+            id="net.sourceforge.phpeclipse.wiki.wizards.NewWizardProjectCreation">
+         <description>
+            Create a new Wikipedia project.
+         </description>
+      </wizard>
+      </extension>
   <extension 
          name="Wikipedia"
          point="org.eclipse.ui.exportWizards">
       <wizard 
-            name="Wikipedia"
-            class="net.sourceforge.phpeclipse.wiki.export.WikiExportWizard"
-            id="WikiWizard">
+            name="Wikipedia to HTML"
+            icon="icons/step.gif"
+            class="net.sourceforge.phpeclipse.wiki.export.html.WikiHTMLExportWizard"
+            id="WikiHTMLWizard">
+      </wizard>
+      <wizard 
+            name="Wikipedia to PDF"
+            icon="icons/step.gif"
+            class="net.sourceforge.phpeclipse.wiki.export.pdf.WikiPDFExportWizard"
+            id="WikiPDFWizard">
       </wizard>
    </extension>
 </plugin>