blob: 4ac972a7a164e97546ec43b9934f352940d5b073 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
/*******************************************************************************
* Copyright (c) 2006 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.team.internal.ui.mapping;
import java.lang.reflect.InvocationTargetException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.team.core.mapping.ISynchronizationScopeManager;
import org.eclipse.team.ui.synchronize.ModelOperation;
import org.eclipse.ui.IWorkbenchPart;
/**
* A model operation that builds the scope of the operation's
* manager. Clients who want to build the scope can do the following:
* <p>
*
* @see ISynchronizationScopeManager
* @since 3.2
*/
public class BuildScopeOperation extends ModelOperation {
public BuildScopeOperation(IWorkbenchPart part, ISynchronizationScopeManager manager) {
super(part, manager);
}
@Override
protected void execute(IProgressMonitor monitor)
throws InvocationTargetException, InterruptedException {
// Do nothing since we only want to build the scope
}
}
|