KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > team > internal > ui > mapping > BuildScopeOperation


1 /*******************************************************************************
2  * Copyright (c) 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.team.internal.ui.mapping;
12
13 import java.lang.reflect.InvocationTargetException JavaDoc;
14
15 import org.eclipse.core.runtime.IProgressMonitor;
16 import org.eclipse.team.core.mapping.ISynchronizationScopeManager;
17 import org.eclipse.team.ui.synchronize.ModelOperation;
18 import org.eclipse.ui.IWorkbenchPart;
19
20 /**
21  * A model operation that builds the scope of the operation's
22  * manager. Clients who want to build the scope can do the following:
23  * <p>
24  *
25  * @see ISynchronizationScopeManager
26  * @since 3.2
27  */

28 public class BuildScopeOperation extends ModelOperation {
29
30     public BuildScopeOperation(IWorkbenchPart part, ISynchronizationScopeManager manager) {
31         super(part, manager);
32     }
33
34     /* (non-Javadoc)
35      * @see org.eclipse.team.ui.operations.ModelOperation#execute(org.eclipse.core.runtime.IProgressMonitor)
36      */

37     protected void execute(IProgressMonitor monitor)
38             throws InvocationTargetException JavaDoc, InterruptedException JavaDoc {
39         // Do nothing since we only want to build the scope
40
}
41
42 }
43
Popular Tags