intial version
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.jtidy / src / net / sourceforge / phpdt / tidy / actions / ParseWithJTidyAction.java
diff --git a/archive/net.sourceforge.phpeclipse.jtidy/src/net/sourceforge/phpdt/tidy/actions/ParseWithJTidyAction.java b/archive/net.sourceforge.phpeclipse.jtidy/src/net/sourceforge/phpdt/tidy/actions/ParseWithJTidyAction.java
new file mode 100644 (file)
index 0000000..96b4acb
--- /dev/null
@@ -0,0 +1,20 @@
+package net.sourceforge.phpdt.tidy.actions;
+
+import net.sourceforge.phpdt.tidy.JTidyConsole;
+import org.eclipse.jface.action.IAction;
+
+public class ParseWithJTidyAction extends AbstractJTidyObjectAction  {
+
+
+       
+       /**
+        * @see IActionDelegate#run(IAction)
+        */
+       public void run(IAction action) {
+               JTidyConsole.clear();
+               parseSelection(false);
+       }
+
+       
+
+}