implemented 1416503, automatic closing of braces
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.wiki / plugin.xml
index 4548f82..1e053db 100644 (file)
@@ -3,7 +3,7 @@
 <plugin
    id="net.sourceforge.phpeclipse.wiki"
    name="Wikipedia Editor Plug-in"
-   version="1.1.2"
+   version="1.1.4"
    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/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>
@@ -33,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"
             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">
             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">
       <viewerContribution
             targetID="#EditorContext"
             id="net.sourceforge.phpeclipse.wiki.texteditor.viewercontribution">
+            <action
+               label="Create files from Category"
+               class="net.sourceforge.phpeclipse.wiki.actions.category.CreateFilesFromCategoryEditorAction"
+               menubarPath="additions"
+               id="net.sourceforge.phpeclipse.wiki.actions.category.CreateFilesFromCategoryEditorAction">
+         </action>
          <action
-               label="Open Wiki Link"
+               label="Create files for Wiki links"
+               class="net.sourceforge.phpeclipse.wiki.actions.CreateFilesFromLinksEditorAction"
+               menubarPath="additions"
+               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="#PHPEditorContext"
-            id="net.sourceforge.phpeclipse.wiki.phpeditor.viewercontribution">
-           <menu
-                       id="mediawikiMenu"
-                       label="%MediaWiki.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">
-         </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
+  <!-- <viewerContribution
             targetID="#EditorContext"
             id="net.sourceforge.phpeclipse.wiki.texteditor.viewercontribution">
          <menu
                menubarPath="bloghtmlMenu/additions"
                id="net.sourceforge.phpeclipse.wiki.actions.blogwiki.NewPostBlogHTMLAction">
          </action> 
-      </viewerContribution>       
-      
-      <viewerContribution
+      </viewerContribution>       -->
+   <!--         <viewerContribution
             targetID="#EditorContext"
             id="net.sourceforge.phpeclipse.wiki.texteditor.viewercontribution">
          <menu
-                       id="mediawikiMenu"
-                       label="%MediaWiki.label"
+                       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="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="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
+            targetID="#EditorContext"
+            id="net.sourceforge.phpeclipse.wiki.texteditor.viewercontribution">
+         <menu
+                       id="mediawikiDownloadMenu"
+                       label="%MediaWiki.download.label"
+                       path="rest">
+                </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>