The variable name is now an expression ... I know it's strange but in php you can...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / resourcesview / MainActionGroup.java
index ebde2bf..257b5b8 100644 (file)
@@ -18,7 +18,9 @@ import org.eclipse.ui.actions.ActionContext;
 import org.eclipse.ui.actions.ActionGroup;
 import org.eclipse.ui.actions.RefreshAction;
 import org.eclipse.ui.dialogs.PropertyDialogAction;
-import org.eclipse.ui.internal.dialogs.ResourceSorter;
+//Impossible to compile with this, I don't know why
+//import org.eclipse.ui.internal.dialogs.ResourceSorter;
+import org.eclipse.ui.views.navigator.ResourceSorter;
 import org.eclipse.ui.views.framelist.FrameList;
 import org.eclipse.ui.views.navigator.IResourceNavigator;
 import org.eclipse.ui.views.navigator.OpenActionGroup;
@@ -76,7 +78,7 @@ public class MainActionGroup extends ActionGroup {
                        return null;
                }
 
-               public ResourceSorter getSorter() {
+               public  ResourceSorter getSorter() {
                        return null;
                }
 
@@ -145,6 +147,14 @@ public class MainActionGroup extends ActionGroup {
                        return phpResourcesView.getAdapter(arg0);
                }
 
+    //It was missing ?
+    public boolean isLinkingEnabled() {
+      return false;
+    }
+
+    //It was missing ?
+    public void setLinkingEnabled(boolean b) {
+    }
        }
 
 }
\ No newline at end of file