Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Michel-Lemieux2004-04-19 10:41:14 -0400
committerJean Michel-Lemieux2004-04-19 10:41:14 -0400
commita8526c7fe5de91d1dc2d5839f5bf50f5c72158b3 (patch)
treea454f0b569cf6f8d2b3d9e0303bd4a296e29a47b
parent323bbeb8d63efa5bb254660fb7f911a1630d2b66 (diff)
downloadeclipse.platform.team-a8526c7fe5de91d1dc2d5839f5bf50f5c72158b3.tar.gz
eclipse.platform.team-a8526c7fe5de91d1dc2d5839f5bf50f5c72158b3.tar.xz
eclipse.platform.team-a8526c7fe5de91d1dc2d5839f5bf50f5c72158b3.zip
Removed reference to #requestInUI. It has been removed from the UI APIs.
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/RefreshUserNotificationPolicy.java19
1 files changed, 3 insertions, 16 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/RefreshUserNotificationPolicy.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/RefreshUserNotificationPolicy.java
index 96c6c0bc5..aef5e03a1 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/RefreshUserNotificationPolicy.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/RefreshUserNotificationPolicy.java
@@ -3,17 +3,16 @@ package org.eclipse.team.internal.ui.synchronize;
import java.util.*;
import org.eclipse.compare.CompareUI;
import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.*;
+import org.eclipse.core.runtime.Status;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.team.core.synchronize.SyncInfo;
-import org.eclipse.team.internal.ui.*;
+import org.eclipse.team.internal.ui.IPreferenceIds;
+import org.eclipse.team.internal.ui.TeamUIPlugin;
import org.eclipse.team.ui.TeamUI;
import org.eclipse.team.ui.synchronize.ISynchronizeView;
import org.eclipse.team.ui.synchronize.SyncInfoCompareInput;
import org.eclipse.team.ui.synchronize.subscribers.*;
-import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.internal.WorkbenchPlugin;
-import org.eclipse.ui.progress.UIJob;
/**
* This class manages the notification and setup that occurs after a refresh is completed.
@@ -103,16 +102,4 @@ public class RefreshUserNotificationPolicy implements IRefreshSubscriberListener
}
});
}
-
- private void notifyIfNeededNonModal(final IRefreshEvent event) {
- String message = Policy.bind("RefreshUserNotificationPolicy.0", event.getSubscriber().getName()); //$NON-NLS-1$
- PlatformUI.getWorkbench().getProgressService().requestInUI(new UIJob(message) {
- public IStatus runInUIThread(IProgressMonitor monitor) {
- RefreshCompleteDialog d = new RefreshCompleteDialog(Utils.findShell(), event, participant);
- d.setBlockOnOpen(false);
- d.open();
- return Status.OK_STATUS;
- }
- }, message);
- }
} \ No newline at end of file

Back to the top