Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKilian Matt2011-01-17 16:12:42 +0000
committerChris Aniszczyk2011-01-17 16:49:23 +0000
commit5d1a926b9b857b37af6fb00672086349833d1a93 (patch)
treeb01216d01e7573473d377b164759179359555f1c
parent5d787ee18b29f8bd4449512601e87166f059d37e (diff)
downloadegit-5d1a926b9b857b37af6fb00672086349833d1a93.tar.gz
egit-5d1a926b9b857b37af6fb00672086349833d1a93.tar.xz
egit-5d1a926b9b857b37af6fb00672086349833d1a93.zip
Enabled extension to the history view popup menu
Change-Id: Ibf769c7f7c5dd108cf25b9496ca1cd9df7a0e37f Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitGraphTable.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitGraphTable.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitGraphTable.java
index b23dd9ab5b..9af414357c 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitGraphTable.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitGraphTable.java
@@ -217,6 +217,10 @@ class CommitGraphTable {
});
Control c = getControl();
+ menuMgr.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS));
+ // TODO extract this as a constant in the future
+ site.registerContextMenu("org.eclipse.egit.history.popup", menuMgr,table); //$NON-NLS-1$
+
c.setMenu(menuMgr.createContextMenu(c));
c.addMenuDetectListener(menuListener = new MenuListener(menuMgr,
getTableView(), site, copy));

Back to the top