summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorKevin Sawicki2011-04-18 14:53:59 (EDT)
committer Kevin Sawicki2011-04-18 14:53:59 (EDT)
commit28e3686f337d376d9083f439e6f2e9ad99dd3506 (patch)
tree9bc5cfa1e54398b4e10cd81621f395cb3f278626
parentf3108b59f9e9059cc2e3032ae62cf51a57286285 (diff)
downloadegit-28e3686f337d376d9083f439e6f2e9ad99dd3506.zip
egit-28e3686f337d376d9083f439e6f2e9ad99dd3506.tar.gz
egit-28e3686f337d376d9083f439e6f2e9ad99dd3506.tar.bz2
[sync] Always enable expand all model actionrefs/changes/54/3154/1
Change-Id: Ie7bbb34cbd8ea47672d1e258f4e0376bf015d052 Signed-off-by: Kevin Sawicki <kevin@github.com>
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/synchronize/action/ExpandAllModelAction.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/synchronize/action/ExpandAllModelAction.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/synchronize/action/ExpandAllModelAction.java
index 7c81bcc..68e219e 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/synchronize/action/ExpandAllModelAction.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/synchronize/action/ExpandAllModelAction.java
@@ -13,6 +13,7 @@ import java.lang.reflect.InvocationTargetException;
import org.eclipse.compare.structuremergeviewer.IDiffElement;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.jface.viewers.AbstractTreeViewer;
+import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.team.ui.synchronize.ISynchronizePageConfiguration;
import org.eclipse.team.ui.synchronize.SynchronizeModelAction;
@@ -66,4 +67,10 @@ public class ExpandAllModelAction extends SynchronizeModelAction {
}
};
}
+
+ @Override
+ protected boolean updateSelection(IStructuredSelection selection) {
+ return true;
+ }
+
}