diff options
| author | Eike Stepper | 2012-08-06 07:41:42 +0000 |
|---|---|---|
| committer | Matthias Sohn | 2012-08-06 07:41:42 +0000 |
| commit | 681f82a5a8be635b2dcb6ed765c39573686ca960 (patch) | |
| tree | d926691e1629fec6dd92d83372602e070cdeeb5f | |
| parent | 3e8140d09d2bd7061d5e07129f6631ee09fd7e5e (diff) | |
| download | egit-681f82a5a8be635b2dcb6ed765c39573686ca960.tar.gz egit-681f82a5a8be635b2dcb6ed765c39573686ca960.tar.xz egit-681f82a5a8be635b2dcb6ed765c39573686ca960.zip | |
Provide history selection to workbench page.
Enable users to contribute actions (objectContributions) to the
commits shown in the GitHistoryPage.
Bug: 386151
Change-Id: Id77eca75ce20eba883ce932fbc797b9c258c3041
| -rw-r--r-- | org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/GitHistoryPage.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/GitHistoryPage.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/GitHistoryPage.java index 371411a1d9..919605d068 100644 --- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/GitHistoryPage.java +++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/GitHistoryPage.java @@ -780,6 +780,7 @@ public class GitHistoryPage extends HistoryPage implements RefsChangedListener, attachCommitSelectionChanged(); initActions(); + getSite().setSelectionProvider(graph.getTableView()); getSite().registerContextMenu(POPUP_ID, popupMgr, graph.getTableView()); // due to the issues described in bug 322751, it makes no // sense to set a selection provider for the site here |
