Code Completion inserts the brackets after functions now
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / resourcesview / MainActionGroup.java
index 3ad7a7b..257b5b8 100644 (file)
@@ -18,12 +18,14 @@ import org.eclipse.ui.actions.ActionContext;
 import org.eclipse.ui.actions.ActionGroup;
 import org.eclipse.ui.actions.RefreshAction;
 import org.eclipse.ui.dialogs.PropertyDialogAction;
+//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;
 import org.eclipse.ui.views.navigator.RefactorActionGroup;
 import org.eclipse.ui.views.navigator.ResourcePatternFilter;
-import org.eclipse.ui.views.navigator.ResourceSorter;
 
 public class MainActionGroup extends ActionGroup {
 
@@ -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