Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Michel-Lemieux2004-04-03 18:58:58 +0000
committerJean Michel-Lemieux2004-04-03 18:58:58 +0000
commitb8202b279e410655961ee2c63d5c22830a6aa0bf (patch)
tree7e0842fd8311fb3c9150e3731270072a3baeca5a
parent4b2eca19ad89d7b1d0312e4703d187d95ca7e4d4 (diff)
downloadeclipse.platform.team-b8202b279e410655961ee2c63d5c22830a6aa0bf.tar.gz
eclipse.platform.team-b8202b279e410655961ee2c63d5c22830a6aa0bf.tar.xz
eclipse.platform.team-b8202b279e410655961ee2c63d5c22830a6aa0bf.zip
Fixed the broken tests.
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/SynchronizeView.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/SynchronizeView.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/SynchronizeView.java
index 9e3907296..823918d50 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/SynchronizeView.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/SynchronizeView.java
@@ -360,8 +360,7 @@ public class SynchronizeView extends PageBookView implements ISynchronizeView, I
* Method used by test cases to access the page for a participant
*/
public IPage getPage(ISynchronizeParticipant participant) {
- ISynchronizeParticipantReference ref = TeamUI.getSynchronizeManager().get(participant.getId(), participant.getSecondaryId());
- IWorkbenchPart part = getPart(ref);
+ IWorkbenchPart part = (IWorkbenchPart)fParticipantToPart.get(participant);
if (part == null) return null;
try {
return getPageRec(part).page;
@@ -371,8 +370,4 @@ public class SynchronizeView extends PageBookView implements ISynchronizeView, I
return null;
}
}
-
- private IWorkbenchPart getPart(ISynchronizeParticipantReference ref) {
- return (IWorkbenchPart)fParticipantToPart.get(ref);
- }
} \ No newline at end of file

Back to the top