Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2004-08-31 11:17:38 -0400
committerMichael Valenta2004-08-31 11:17:38 -0400
commita8fc3b8bf4bf2f8f7e6ef046e296277d027f5ce8 (patch)
tree493941476dc65957ef23756ad2501ea0b6b1a755
parentc95edfc6abe267962ba144c52824c4dc080bfb38 (diff)
downloadeclipse.platform.team-a8fc3b8bf4bf2f8f7e6ef046e296277d027f5ce8.tar.gz
eclipse.platform.team-a8fc3b8bf4bf2f8f7e6ef046e296277d027f5ce8.tar.xz
eclipse.platform.team-a8fc3b8bf4bf2f8f7e6ef046e296277d027f5ce8.zip
Bug 68750 sync hover too longM20040831
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/RefreshSubscriberJob.java17
1 files changed, 14 insertions, 3 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/RefreshSubscriberJob.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/RefreshSubscriberJob.java
index b2fd78975..1a976a7ca 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/RefreshSubscriberJob.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/RefreshSubscriberJob.java
@@ -12,10 +12,20 @@ package org.eclipse.team.internal.ui.synchronize;
import java.util.ArrayList;
import java.util.List;
+
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.*;
-import org.eclipse.core.runtime.jobs.*;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.ISafeRunnable;
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.OperationCanceledException;
+import org.eclipse.core.runtime.Platform;
+import org.eclipse.core.runtime.ProgressMonitorWrapper;
+import org.eclipse.core.runtime.Status;
+import org.eclipse.core.runtime.jobs.IJobChangeEvent;
+import org.eclipse.core.runtime.jobs.ILock;
+import org.eclipse.core.runtime.jobs.Job;
+import org.eclipse.core.runtime.jobs.JobChangeAdapter;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.util.IPropertyChangeListener;
import org.eclipse.jface.util.PropertyChangeEvent;
@@ -27,6 +37,7 @@ import org.eclipse.team.internal.core.Assert;
import org.eclipse.team.internal.core.subscribers.SubscriberSyncInfoCollector;
import org.eclipse.team.internal.ui.Policy;
import org.eclipse.team.internal.ui.TeamUIPlugin;
+import org.eclipse.team.internal.ui.Utils;
import org.eclipse.team.ui.synchronize.ISynchronizeManager;
import org.eclipse.team.ui.synchronize.SubscriberParticipant;
import org.eclipse.ui.actions.ActionFactory;
@@ -396,7 +407,7 @@ public final class RefreshSubscriberJob extends Job {
if(gotoAction[0] != null) {
return gotoAction[0].getToolTipText();
}
- return super.getToolTipText();
+ return Utils.shortenText(SynchronizeView.MAX_NAME_LENGTH, getName());
}
public void dispose() {

Back to the top