/** * Created on 13.01.2003 by Jan Schulz */ package net.sourceforge.phpdt.tidy.actions; import net.sourceforge.phpdt.tidy.JTidyConsole; import org.eclipse.jface.action.IAction; /** * @author jan * @since 13.01.2003 */ public class FormatWithJTidyEditorAction extends AbstractJTidyEditorAction { /* (non-Javadoc) * @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction) */ public void run(IAction action) { JTidyConsole.clear(); try { parseDocument(true); } catch (ParseFailedException e) { //LOGGING } } }