1) Added missing strings for italic, underline and strike through.
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.jtidy / src / net / sourceforge / phpdt / tidy / actions / AbstractJTidyEditorAction.java
index 4525157..619181c 100644 (file)
@@ -5,7 +5,6 @@ package net.sourceforge.phpdt.tidy.actions;
 
 import org.eclipse.jface.action.IAction;
 import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.swt.widgets.Shell;
 import org.eclipse.ui.IEditorActionDelegate;
 import org.eclipse.ui.IEditorPart;
 
@@ -14,14 +13,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 +37,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;
+//}
 
 }