5538e73f730eb0270b720a7b9c86164ec8ba85cf
[phpeclipse.git] /
1 /**
2  * Created on 13.01.2003 by Jan Schulz
3  */
4 package net.sourceforge.phpdt.tidy.actions;
5
6 import net.sourceforge.phpdt.tidy.JTidyConsole;
7 import org.eclipse.jface.action.IAction;
8
9 /**
10  * @author jan
11  * @since 13.01.2003
12  */
13 public class ParseWithJTidyEditorAction extends AbstractJTidyEditorAction {
14
15         
16
17         /* (non-Javadoc)
18          * @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
19          */
20         public void run(IAction action) {
21                 JTidyConsole.clear();
22                 try {
23                         parseDocument(false);
24                 } catch (ParseFailedException e) {
25                         //LOGGING
26                 }
27         }
28
29         
30
31 }