Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2020-07-24 05:13:20 -0400
committerLars Vogel2020-07-24 05:13:20 -0400
commit6b95639379e54637a6801569c9a189998135e3ab (patch)
tree0971c40d690ea2027d182b70d9e6493f9b3bae6c
parent2ba0968271a339443a64605774f476a816fd07f3 (diff)
downloadeclipse.platform.team-6b95639379e54637a6801569c9a189998135e3ab.tar.gz
eclipse.platform.team-6b95639379e54637a6801569c9a189998135e3ab.tar.xz
eclipse.platform.team-6b95639379e54637a6801569c9a189998135e3ab.zip
Change-Id: I54c5bea1b8b4d5023938869bcd4c5908a7b83127 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--examples/org.eclipse.team.examples.filesystem/src/org/eclipse/team/examples/filesystem/ui/NonSyncModelMergePage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/org.eclipse.team.examples.filesystem/src/org/eclipse/team/examples/filesystem/ui/NonSyncModelMergePage.java b/examples/org.eclipse.team.examples.filesystem/src/org/eclipse/team/examples/filesystem/ui/NonSyncModelMergePage.java
index b6cba56b9..2a816f9bf 100644
--- a/examples/org.eclipse.team.examples.filesystem/src/org/eclipse/team/examples/filesystem/ui/NonSyncModelMergePage.java
+++ b/examples/org.eclipse.team.examples.filesystem/src/org/eclipse/team/examples/filesystem/ui/NonSyncModelMergePage.java
@@ -232,7 +232,7 @@ public class NonSyncModelMergePage extends Page {
private void hookContextMenu(final TreeViewer viewer) {
final MenuManager menuMgr = new MenuManager();
menuMgr.setRemoveAllWhenShown(true);
- menuMgr.addMenuListener(manager -> fillContextMenu(manager));
+ menuMgr.addMenuListener(this::fillContextMenu);
Menu menu = menuMgr.createContextMenu(viewer.getControl());
viewer.getControl().setMenu(menu);
}

Back to the top