Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Wolf2018-07-25 18:57:34 -0400
committerThomas Wolf2018-08-06 15:53:27 -0400
commit9a2209c3b02a34e8fcd409ea897f9743905cc543 (patch)
tree582c8bd7d8dbc2fa423ae6893561d3fec7d758a6 /org.eclipse.egit.ui.test
parent6ee58057c2dc1ab8498651e1ab91955289f7e981 (diff)
downloadegit-9a2209c3b02a34e8fcd409ea897f9743905cc543.tar.gz
egit-9a2209c3b02a34e8fcd409ea897f9743905cc543.tar.xz
egit-9a2209c3b02a34e8fcd409ea897f9743905cc543.zip
Rename RepositoriesViewLabelProvider to RepositoryTreeNodeLabelProvider
It's not a label provider for the git repositories view; it is a label provider for RepositoryTreeNodes. (Which happen to be _also_ shown in the git repositories view, but they're also shown and labeled through this class elsewhere.) Change-Id: I5221ba06aaf475b3b577b8ccb2846b62a64331c8 Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'org.eclipse.egit.ui.test')
-rw-r--r--org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewTestUtils.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewTestUtils.java b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewTestUtils.java
index fb19b945c..79df4a474 100644
--- a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewTestUtils.java
+++ b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewTestUtils.java
@@ -15,7 +15,7 @@ package org.eclipse.egit.ui.view.repositories;
import java.io.File;
import java.util.concurrent.atomic.AtomicReference;
-import org.eclipse.egit.ui.internal.repository.RepositoriesViewLabelProvider;
+import org.eclipse.egit.ui.internal.repository.RepositoryTreeNodeLabelProvider;
import org.eclipse.egit.ui.internal.repository.tree.AdditionalRefsNode;
import org.eclipse.egit.ui.internal.repository.tree.BranchesNode;
import org.eclipse.egit.ui.internal.repository.tree.LocalNode;
@@ -33,17 +33,17 @@ import org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem;
public class GitRepositoriesViewTestUtils {
/**
- * Create a new instance of {@link RepositoriesViewLabelProvider}
+ * Create a new instance of {@link RepositoryTreeNodeLabelProvider}
*
* @return label provider
*/
- public static RepositoriesViewLabelProvider createLabelProvider() {
- final AtomicReference<RepositoriesViewLabelProvider> providerRef = new AtomicReference<>();
+ public static RepositoryTreeNodeLabelProvider createLabelProvider() {
+ final AtomicReference<RepositoryTreeNodeLabelProvider> providerRef = new AtomicReference<>();
Display.getDefault().syncExec(new Runnable() {
@Override
public void run() {
- providerRef.set(new RepositoriesViewLabelProvider());
+ providerRef.set(new RepositoryTreeNodeLabelProvider());
}
});
@@ -52,7 +52,7 @@ public class GitRepositoriesViewTestUtils {
protected static final TestUtil myUtil = new TestUtil();
- private final RepositoriesViewLabelProvider labelProvider;
+ private final RepositoryTreeNodeLabelProvider labelProvider;
/**
* Create repositories view test utilities

Back to the top