HTML Tidy plugin initial version
authorkhartlage <khartlage>
Thu, 6 Feb 2003 20:34:45 +0000 (20:34 +0000)
committerkhartlage <khartlage>
Thu, 6 Feb 2003 20:34:45 +0000 (20:34 +0000)
archive/net.sourceforge.phpeclipse.jtidy/.classpath [new file with mode: 0644]
archive/net.sourceforge.phpeclipse.jtidy/.project [new file with mode: 0644]
archive/net.sourceforge.phpeclipse.jtidy/.template [new file with mode: 0644]
archive/net.sourceforge.phpeclipse.jtidy/build.properties [new file with mode: 0644]
archive/net.sourceforge.phpeclipse.jtidy/classpath_windows_eclipse_2.0.0.bak [new file with mode: 0644]
archive/net.sourceforge.phpeclipse.jtidy/classpath_windows_eclipse_2.1.0.bak [new file with mode: 0644]
archive/net.sourceforge.phpeclipse.jtidy/icons/obj16/jtidy.gif [new file with mode: 0644]
archive/net.sourceforge.phpeclipse.jtidy/plugin.xml [new file with mode: 0644]

diff --git a/archive/net.sourceforge.phpeclipse.jtidy/.classpath b/archive/net.sourceforge.phpeclipse.jtidy/.classpath
new file mode 100644 (file)
index 0000000..94ccb17
--- /dev/null
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+    <classpathentry kind="src" path="src/"/>
+    <classpathentry kind="var"
+        path="ECLIPSE_HOME/plugins/org.eclipse.core.resources_2.0.0/resources.jar" sourcepath="_ORG_ECLIPSE_PLATFORM_SOURCE/org.eclipse.core.resources_2.0.0/resourcessrc.zip"/>
+    <classpathentry kind="var"
+        path="ECLIPSE_HOME/plugins/org.eclipse.ui_2.0.0/workbench.jar" sourcepath="_ORG_ECLIPSE_PLATFORM_SOURCE/org.eclipse.ui_2.0.0/workbenchsrc.zip"/>
+    <classpathentry kind="var"
+        path="ECLIPSE_HOME/plugins/org.eclipse.ui.win32_2.0.0/workbenchwin32.jar" sourcepath="_ORG_ECLIPSE_PLATFORM_WIN32_SOURCE/org.eclipse.ui.win32_2.0.0/workbenchwin32src.zip"/>
+    <classpathentry kind="var"
+        path="ECLIPSE_HOME/plugins/org.eclipse.swt.win32_2.0.0/ws/win32/swt.jar" sourcepath="_ORG_ECLIPSE_PLATFORM_WIN32_SOURCE/org.eclipse.swt.win32_2.0.0/ws/win32/swtsrc.zip"/>
+    <classpathentry kind="var"
+        path="ECLIPSE_HOME/plugins/org.eclipse.core.runtime_2.0.0/runtime.jar" sourcepath="_ORG_ECLIPSE_PLATFORM_SOURCE/org.eclipse.core.runtime_2.0.0/runtimesrc.zip"/>
+    <classpathentry kind="var"
+        path="ECLIPSE_HOME/plugins/org.eclipse.core.boot_2.0.0/boot.jar" sourcepath="_ORG_ECLIPSE_PLATFORM_SOURCE/org.eclipse.core.boot_2.0.0/bootsrc.zip"/>
+    <classpathentry kind="var" path="JRE_LIB" rootpath="JRE_SRCROOT" sourcepath="JRE_SRC"/>
+    <classpathentry kind="output" path="bin"/>
+</classpath>
\ No newline at end of file
diff --git a/archive/net.sourceforge.phpeclipse.jtidy/.project b/archive/net.sourceforge.phpeclipse.jtidy/.project
new file mode 100644 (file)
index 0000000..32654ea
--- /dev/null
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>de.katzien.jtidy</name>
+       <comment></comment>
+       <projects>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.jdt.core.javabuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.pde.ManifestBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.pde.SchemaBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.eclipse.jdt.core.javanature</nature>
+               <nature>org.eclipse.pde.PluginNature</nature>
+       </natures>
+</projectDescription>
diff --git a/archive/net.sourceforge.phpeclipse.jtidy/.template b/archive/net.sourceforge.phpeclipse.jtidy/.template
new file mode 100644 (file)
index 0000000..f3bcd41
--- /dev/null
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<form>\r
+   <p/><p><b>Tips on working with this plug-in project</b></p><li>For the view of the new plug-in at a glance, go to the <img href="pageImage"/><a href="OverviewPage">Overview</a>.</li><li>You can test the contributions of this plug-in by launching another instance of the workbench. On the <b>Run</b> menu, click <b>Run As</b> and choose <img href="runTimeWorkbenchImage"/><a href="action.run">Run-time Workbench</a> from the available choices.</li><li>You can add more functionality to this plug-in by adding extensions using the <a href="action.newExtension">New Extension Wizard</a>.</li><li>The plug-in project contains Java code that you can debug. Place breakpoints in Java classes. On the <b>Run</b> menu, select <b>Debug As</b> and choose <img href="runTimeWorkbenchImage"/><a href="action.debug">Run-time Workbench</a> from the available choices.</li>\r
+</form>\r
diff --git a/archive/net.sourceforge.phpeclipse.jtidy/build.properties b/archive/net.sourceforge.phpeclipse.jtidy/build.properties
new file mode 100644 (file)
index 0000000..5a0215b
--- /dev/null
@@ -0,0 +1 @@
+source.jtidy.jar = src/
diff --git a/archive/net.sourceforge.phpeclipse.jtidy/classpath_windows_eclipse_2.0.0.bak b/archive/net.sourceforge.phpeclipse.jtidy/classpath_windows_eclipse_2.0.0.bak
new file mode 100644 (file)
index 0000000..5f19033
--- /dev/null
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<classpath>\r
+    <classpathentry kind="src" path="src/"/>\r
+    <classpathentry kind="var"\r
+        path="ECLIPSE_HOME/plugins/org.eclipse.core.resources_2.0.0/resources.jar" sourcepath="_ORG_ECLIPSE_PLATFORM_SOURCE/org.eclipse.core.resources_2.0.0/resourcessrc.zip"/>\r
+    <classpathentry kind="var"\r
+        path="ECLIPSE_HOME/plugins/org.eclipse.ui_2.0.0/workbench.jar" sourcepath="_ORG_ECLIPSE_PLATFORM_SOURCE/org.eclipse.ui_2.0.0/workbenchsrc.zip"/>\r
+    <classpathentry kind="var"\r
+        path="ECLIPSE_HOME/plugins/org.eclipse.ui.win32_2.0.0/workbenchwin32.jar" sourcepath="_ORG_ECLIPSE_PLATFORM_WIN32_SOURCE/org.eclipse.ui.win32_2.0.0/workbenchwin32src.zip"/>\r
+    <classpathentry kind="var"\r
+        path="ECLIPSE_HOME/plugins/org.eclipse.swt.win32_2.0.0/ws/win32/swt.jar" sourcepath="_ORG_ECLIPSE_PLATFORM_WIN32_SOURCE/org.eclipse.swt.win32_2.0.0/ws/win32/swtsrc.zip"/>\r
+    <classpathentry kind="var"\r
+        path="ECLIPSE_HOME/plugins/org.eclipse.core.runtime_2.0.0/runtime.jar" sourcepath="_ORG_ECLIPSE_PLATFORM_SOURCE/org.eclipse.core.runtime_2.0.0/runtimesrc.zip"/>\r
+    <classpathentry kind="var"\r
+        path="ECLIPSE_HOME/plugins/org.eclipse.core.boot_2.0.0/boot.jar" sourcepath="_ORG_ECLIPSE_PLATFORM_SOURCE/org.eclipse.core.boot_2.0.0/bootsrc.zip"/>\r
+    <classpathentry kind="var" path="JRE_LIB" rootpath="JRE_SRCROOT" sourcepath="JRE_SRC"/>\r
+    <classpathentry kind="output" path="bin"/>\r
+</classpath>\r
diff --git a/archive/net.sourceforge.phpeclipse.jtidy/classpath_windows_eclipse_2.1.0.bak b/archive/net.sourceforge.phpeclipse.jtidy/classpath_windows_eclipse_2.1.0.bak
new file mode 100644 (file)
index 0000000..b60a780
--- /dev/null
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<classpath>\r
+    <classpathentry kind="src" path="src/"/>\r
+    <classpathentry kind="var"\r
+        path="ECLIPSE_HOME/plugins/org.eclipse.core.resources_2.1.0/resources.jar" sourcepath="ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.core.resources_2.1.0/resourcessrc.zip"/>\r
+    <classpathentry kind="var"\r
+        path="ECLIPSE_HOME/plugins/org.eclipse.ui_2.1.0/ui.jar" sourcepath="ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.ui_2.1.0/uisrc.zip"/>\r
+    <classpathentry kind="var"\r
+        path="ECLIPSE_HOME/plugins/org.eclipse.swt.win32_2.1.0/ws/win32/swt.jar" sourcepath="ORG_ECLIPSE_PLATFORM_WIN32_SOURCE_SRC/org.eclipse.swt.win32_2.1.0/ws/win32/swtsrc.zip"/>\r
+    <classpathentry kind="var"\r
+        path="ECLIPSE_HOME/plugins/org.eclipse.text_2.1.0/text.jar" sourcepath="ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.text_2.1.0/textsrc.zip"/>\r
+    <classpathentry kind="var"\r
+        path="ECLIPSE_HOME/plugins/org.eclipse.jface_2.1.0/jface.jar" sourcepath="ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.jface_2.1.0/jfacesrc.zip"/>\r
+    <classpathentry kind="var"\r
+        path="ECLIPSE_HOME/plugins/org.eclipse.jface.text_2.1.0/jfacetext.jar" sourcepath="ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.jface.text_2.1.0/jfacetextsrc.zip"/>\r
+    <classpathentry kind="var"\r
+        path="ECLIPSE_HOME/plugins/org.eclipse.ui.views_2.1.0/views.jar" sourcepath="ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.ui.views_2.1.0/viewssrc.zip"/>\r
+    <classpathentry kind="var"\r
+        path="ECLIPSE_HOME/plugins/org.eclipse.ui.workbench_2.1.0/workbench.jar" sourcepath="ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.ui.workbench_2.1.0/workbenchsrc.zip"/>\r
+    <classpathentry kind="var"\r
+        path="ECLIPSE_HOME/plugins/org.eclipse.ui.win32_2.1.0/workbenchwin32.jar" sourcepath="ORG_ECLIPSE_PLATFORM_WIN32_SOURCE_SRC/org.eclipse.ui.win32_2.1.0/workbenchwin32src.zip"/>\r
+    <classpathentry kind="var"\r
+        path="ECLIPSE_HOME/plugins/org.eclipse.ui.workbench.texteditor_2.1.0/texteditor.jar" sourcepath="ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.ui.workbench.texteditor_2.1.0/texteditorsrc.zip"/>\r
+    <classpathentry kind="var"\r
+        path="ECLIPSE_HOME/plugins/org.eclipse.ui.editors_2.1.0/editors.jar" sourcepath="ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.ui.editors_2.1.0/editorssrc.zip"/>\r
+    <classpathentry kind="var"\r
+        path="ECLIPSE_HOME/plugins/org.eclipse.core.runtime_2.1.0/runtime.jar" sourcepath="ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.core.runtime_2.1.0/runtimesrc.zip"/>\r
+    <classpathentry kind="var"\r
+        path="ECLIPSE_HOME/plugins/org.eclipse.core.boot_2.1.0/boot.jar" sourcepath="ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.core.boot_2.1.0/bootsrc.zip"/>\r
+    <classpathentry kind="var" path="JRE_LIB" rootpath="JRE_SRCROOT" sourcepath="JRE_SRC"/>\r
+    <classpathentry kind="output" path="bin"/>\r
+</classpath>\r
diff --git a/archive/net.sourceforge.phpeclipse.jtidy/icons/obj16/jtidy.gif b/archive/net.sourceforge.phpeclipse.jtidy/icons/obj16/jtidy.gif
new file mode 100644 (file)
index 0000000..06dfa7a
Binary files /dev/null and b/archive/net.sourceforge.phpeclipse.jtidy/icons/obj16/jtidy.gif differ
diff --git a/archive/net.sourceforge.phpeclipse.jtidy/plugin.xml b/archive/net.sourceforge.phpeclipse.jtidy/plugin.xml
new file mode 100644 (file)
index 0000000..18d5609
--- /dev/null
@@ -0,0 +1,125 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<plugin
+   id="net.sourceforge.phpdt.tidy"
+   name="Jtidy Plug-in"
+   version="1.0.1"
+   provider-name="Jan Schulz"
+   class="net.sourceforge.phpdt.tidy.JtidyPlugin">
+
+   <runtime>
+      <library name="jtidy_plugin.jar"/>
+   </runtime>
+   <requires>
+      <import plugin="org.eclipse.core.resources" export="true"/>
+      <import plugin="org.eclipse.ui" export="true"/>
+   </requires>
+
+
+   <extension
+         point="org.eclipse.ui.popupMenus">
+         <viewerContribution
+         id="net.sourceforge.phpdt.tidy.EditorPopUp"
+         targetID="#TextEditorContext">
+         <menu
+               label="JTidy"
+               path="additions"
+               id="net.sourceforge.phpdt.tidy.menu2">
+            <separator
+                  name="group1">
+            </separator>
+         </menu>
+         <action
+               label="Check Markup"
+               class="net.sourceforge.phpdt.tidy.actions.ParseWithJTidyEditorAction"
+               menubarPath="net.sourceforge.phpdt.tidy.menu2/group1"
+               
+               id="net.sourceforge.phpdt.tidy.ParseEditorAction">
+         </action>
+         <action
+               label="Format"
+               class="net.sourceforge.phpdt.tidy.actions.FormatWithJTidyEditorAction"
+               menubarPath="net.sourceforge.phpdt.tidy.menu2/group1"
+              
+               id="net.sourceforge.phpdt.tidy.FormatEditorAction">
+         </action>
+      </viewerContribution>
+      <objectContribution
+            objectClass="org.eclipse.core.resources.IFile"
+            nameFilter="*.htm*"
+            id="net.sourceforge.phpdt.tidy.contribution1">
+         <menu
+               label="JTidy"
+               path="additions"
+               id="net.sourceforge.phpdt.tidy.menu1">
+            <separator
+                  name="group1">
+            </separator>
+         </menu>
+         <action
+               label="Check Markup"
+               class="net.sourceforge.phpdt.tidy.actions.ParseWithJTidyAction"
+               menubarPath="net.sourceforge.phpdt.tidy.menu1/group1"
+               enablesFor="+"
+               id="net.sourceforge.phpdt.tidy.ParseAction">
+         </action>
+         <action
+               label="Format"
+               class="net.sourceforge.phpdt.tidy.actions.FormatWithJTidyAction"
+               menubarPath="net.sourceforge.phpdt.tidy.menu1/group1"
+               enablesFor="+"
+               id="net.sourceforge.phpdt.tidy.FormatAction">
+         </action>
+      </objectContribution>
+   </extension>
+   <extension
+         point="org.eclipse.ui.popupMenus">
+   </extension>
+    <extension
+         point="org.eclipse.ui.preferencePages">
+          <page
+            name="HTML JTidy"
+            class="net.sourceforge.phpdt.tidy.preferences.JTidyGeneralPreferences"
+            id="net.sourceforge.phpdt.tidy.preferences.general">
+      </page>
+  <!--    <page
+            name="General"
+            class="net.sourceforge.phpdt.tidy.preferences.JTidyPreferences"
+            id="net.sourceforge.phpdt.tidy.preferences.JTidyPreferences"
+            category="net.sourceforge.phpdt.tidy.preferences.general">
+      </page> -->
+      <page
+               name="Format"
+               class="net.sourceforge.phpdt.tidy.preferences.JTidyOutputPreferences"
+               id="net.sourceforge.phpdt.tidy.preferences.OutputFormat"
+               category="net.sourceforge.phpdt.tidy.preferences.general">
+      </page>
+      <page
+               name="Output"
+               class="net.sourceforge.phpdt.tidy.preferences.JTidyOutputLookPreferences"
+               id="net.sourceforge.phpdt.tidy.preferences.OutputLook"
+               category="net.sourceforge.phpdt.tidy.preferences.general">
+      </page>
+      <page
+               name="Indentation, Wrapping"
+               class="net.sourceforge.phpdt.tidy.preferences.JTidyWrapIndentPreferences"
+               id="net.sourceforge.phpdt.tidy.preferences.WrapIndent"
+               category="net.sourceforge.phpdt.tidy.preferences.general">
+      </page>    
+      <page
+               name="New Tags"
+               class="net.sourceforge.phpdt.tidy.preferences.JTidyNewTagsPreferences"
+               id="net.sourceforge.phpdt.tidy.preferences.NewTags"
+               category="net.sourceforge.phpdt.tidy.preferences.general">
+      </page>
+   </extension>
+   <extension
+         point="org.eclipse.ui.views">
+      <view
+            name="JTidy Console"
+            icon="icons/obj16/jtidy.gif"
+            class="net.sourceforge.phpdt.tidy.JTidyConsole"
+            id="net.sourceforge.phpdt.tidy.consoleview">
+      </view>
+   </extension>
+
+</plugin>