Lines 1-5
Link Here
|
1 |
/******************************************************************************* |
1 |
/******************************************************************************* |
2 |
* Copyright (c) 2000, 2006 IBM Corporation and others. |
2 |
* Copyright (c) 2000, 2009 IBM Corporation and others. |
3 |
* All rights reserved. This program and the accompanying materials |
3 |
* All rights reserved. This program and the accompanying materials |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
5 |
* which accompanies this distribution, and is available at |
5 |
* which accompanies this distribution, and is available at |
Lines 10-35
Link Here
|
10 |
*******************************************************************************/ |
10 |
*******************************************************************************/ |
11 |
package org.eclipse.team.internal.ccvs.ui.operations; |
11 |
package org.eclipse.team.internal.ccvs.ui.operations; |
12 |
|
12 |
|
13 |
import java.util.ArrayList; |
13 |
import java.util.*; |
14 |
import java.util.Arrays; |
|
|
15 |
import java.util.List; |
16 |
|
14 |
|
17 |
import org.eclipse.core.resources.IResource; |
15 |
import org.eclipse.core.resources.IResource; |
18 |
import org.eclipse.core.resources.mapping.ResourceMapping; |
16 |
import org.eclipse.core.resources.mapping.ResourceMapping; |
19 |
import org.eclipse.core.resources.mapping.ResourceMappingContext; |
17 |
import org.eclipse.core.resources.mapping.ResourceMappingContext; |
20 |
import org.eclipse.core.runtime.IProgressMonitor; |
18 |
import org.eclipse.core.runtime.IProgressMonitor; |
21 |
import org.eclipse.core.runtime.IStatus; |
19 |
import org.eclipse.core.runtime.IStatus; |
|
|
20 |
import org.eclipse.jface.action.IAction; |
22 |
import org.eclipse.osgi.util.NLS; |
21 |
import org.eclipse.osgi.util.NLS; |
23 |
import org.eclipse.team.core.subscribers.SubscriberResourceMappingContext; |
22 |
import org.eclipse.team.core.subscribers.SubscriberResourceMappingContext; |
24 |
import org.eclipse.team.internal.ccvs.core.*; |
23 |
import org.eclipse.team.internal.ccvs.core.*; |
25 |
import org.eclipse.team.internal.ccvs.core.client.Command; |
24 |
import org.eclipse.team.internal.ccvs.core.client.*; |
26 |
import org.eclipse.team.internal.ccvs.core.client.Session; |
|
|
27 |
import org.eclipse.team.internal.ccvs.core.client.Update; |
28 |
import org.eclipse.team.internal.ccvs.core.client.Command.LocalOption; |
25 |
import org.eclipse.team.internal.ccvs.core.client.Command.LocalOption; |
29 |
import org.eclipse.team.internal.ccvs.core.client.listeners.ICommandOutputListener; |
26 |
import org.eclipse.team.internal.ccvs.core.client.listeners.ICommandOutputListener; |
30 |
import org.eclipse.team.internal.ccvs.ui.CVSUIMessages; |
27 |
import org.eclipse.team.internal.ccvs.ui.CVSUIMessages; |
31 |
import org.eclipse.team.internal.ccvs.ui.Policy; |
28 |
import org.eclipse.team.internal.ccvs.ui.Policy; |
32 |
import org.eclipse.ui.IWorkbenchPart; |
29 |
import org.eclipse.ui.IWorkbenchPart; |
|
|
30 |
import org.eclipse.ui.actions.RefreshAction; |
33 |
|
31 |
|
34 |
/** |
32 |
/** |
35 |
* Operation which performs a CVS update |
33 |
* Operation which performs a CVS update |
Lines 155-158
Link Here
|
155 |
public void setTag(CVSTag tag) { |
153 |
public void setTag(CVSTag tag) { |
156 |
this.tag = tag; |
154 |
this.tag = tag; |
157 |
} |
155 |
} |
|
|
156 |
|
157 |
protected IAction getGotoAction() { |
158 |
return new RefreshAction(getPart().getSite()); |
159 |
} |
158 |
} |
160 |
} |