Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Wolf2019-11-04 08:27:42 +0000
committerThomas Wolf2019-11-16 11:48:18 +0000
commit0cff7b2540d68ee4d1d54a423993177e5c3e27a4 (patch)
tree2275340313fe14456785beac68837ac9fe022d9c /org.eclipse.egit.ui.test/src
parent9b45a0189ebb550324176ab68edd2131790d2aa9 (diff)
downloadegit-0cff7b2540d68ee4d1d54a423993177e5c3e27a4.tar.gz
egit-0cff7b2540d68ee4d1d54a423993177e5c3e27a4.tar.xz
egit-0cff7b2540d68ee4d1d54a423993177e5c3e27a4.zip
[repo view] Eliminate default handler for paste command
Remove the special paste command with its default handler; create a dedicated handler and bind it to the standard paste command instead. Remove the now superfluous key binding. Bug: 495064 Change-Id: Ibcacd226b37bf05f1e46126e277a0f5ef6aab6a1 Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'org.eclipse.egit.ui.test/src')
-rw-r--r--org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewRepoHandlingTest.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewRepoHandlingTest.java b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewRepoHandlingTest.java
index d424c0365f..067d85fe11 100644
--- a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewRepoHandlingTest.java
+++ b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewRepoHandlingTest.java
@@ -1,5 +1,6 @@
/*******************************************************************************
- * Copyright (c) 2010, 2013 SAP AG and others.
+ * Copyright (c) 2010, 2019 SAP AG and others.
+ *
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
@@ -59,6 +60,8 @@ public class GitRepositoriesViewRepoHandlingTest extends
private static final String REMOVE_REPOSITORY_CONTEXT_MENU_LABEL = "RepoViewRemove.label";
+ private static final String PASTE_PATH_CONTEXT_MENU_LABEL = "RepoViewPastePath.label";
+
private File repositoryFile;
@Before
@@ -123,7 +126,8 @@ public class GitRepositoriesViewRepoHandlingTest extends
new Transfer[] { TextTransfer.getInstance() });
ContextMenuHelper.clickContextMenuSync(label,
- myUtil.getPluginLocalizedValue("PastePathCommand"));
+ myUtil.getPluginLocalizedValue(
+ PASTE_PATH_CONTEXT_MENU_LABEL));
} catch (Exception e) {
exceptions[0] = e;
} finally {

Back to the top