X-Git-Url: http://secure.phpeclipse.com diff --git a/archive/net.sourceforge.phpeclipse.jtidy/src/net/sourceforge/phpdt/tidy/actions/AbstractJTidyEditorAction.java b/archive/net.sourceforge.phpeclipse.jtidy/src/net/sourceforge/phpdt/tidy/actions/AbstractJTidyEditorAction.java index 4525157..f6dd3fd 100644 --- a/archive/net.sourceforge.phpeclipse.jtidy/src/net/sourceforge/phpdt/tidy/actions/AbstractJTidyEditorAction.java +++ b/archive/net.sourceforge.phpeclipse.jtidy/src/net/sourceforge/phpdt/tidy/actions/AbstractJTidyEditorAction.java @@ -14,14 +14,14 @@ import org.eclipse.ui.IEditorPart; * @since 13.01.2003 */ public abstract class AbstractJTidyEditorAction extends AbstractJTidyAction implements IEditorActionDelegate { - Shell fShell; +// Shell fShell; /* (non-Javadoc) * @see org.eclipse.ui.IEditorActionDelegate#setActiveEditor(org.eclipse.jface.action.IAction, org.eclipse.ui.IEditorPart) */ public void setActiveEditor(IAction action, IEditorPart targetEditor) { - if (fShell == null) { - fShell = targetEditor.getSite().getShell(); - } +// if (fShell == null) { +// fShell = targetEditor.getSite().getShell(); +// } updateEditor(targetEditor); updateParent(action); @@ -38,11 +38,11 @@ public abstract class AbstractJTidyEditorAction extends AbstractJTidyAction impl public void selectionChanged(IAction action, ISelection selection) { // Noo need to get a selection... } - /* (non-Javadoc) - * @see net.sourceforge.phpdt.tidy.actions.AbstractJTidyAction#getShell() - */ -protected Shell getShell() { - return fShell; -} +// /* (non-Javadoc) +// * @see net.sourceforge.phpdt.tidy.actions.AbstractJTidyAction#getShell() +// */ +//protected Shell getShell() { +// return fShell; +//} }