1) Moved net.sourceforge.phpeclipse.ui\src\net\sourceforge\phpdt back to net.sourcefo...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / actions / PHPOpenDeclarationEditorAction.java
index d800960..11af2f6 100644 (file)
@@ -13,7 +13,7 @@ import org.eclipse.jface.action.IAction;
 import org.eclipse.jface.text.ITextSelection;
 import org.eclipse.jface.text.TextSelection;
 import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.IStructuredSelection;
+//import org.eclipse.jface.viewers.IStructuredSelection;
 import org.eclipse.ui.IEditorActionDelegate;
 import org.eclipse.ui.IEditorPart;
 import org.eclipse.ui.IWorkbenchWindow;
@@ -40,11 +40,11 @@ public class PHPOpenDeclarationEditorAction extends ActionDelegate implements
                }
        }
 
-       private boolean checkEnabled(IStructuredSelection selection) {
-               if (selection.isEmpty())
-                       return false;
-               return true;
-       }
+//     private boolean checkEnabled(IStructuredSelection selection) {
+//             if (selection.isEmpty())
+//                     return false;
+//             return true;
+//     }
 
        public void run(IAction action) {
                if (fEditor == null) {