diff options
author | Michael Valenta | 2003-02-27 17:05:34 +0000 |
---|---|---|
committer | Michael Valenta | 2003-02-27 17:05:34 +0000 |
commit | 8ef6add5c9c90b76a25d7bac102f25892604a7de (patch) | |
tree | 29318fced5ed0609a2df9bcf7731c7bb7221b0fa /bundles | |
parent | 86c2b6b9c80e25d80082011860a03d7a5bab5d47 (diff) | |
download | eclipse.platform.team-8ef6add5c9c90b76a25d7bac102f25892604a7de.tar.gz eclipse.platform.team-8ef6add5c9c90b76a25d7bac102f25892604a7de.tar.xz eclipse.platform.team-8ef6add5c9c90b76a25d7bac102f25892604a7de.zip |
32592: ProjectSetCapability - remove method addToWorkspace
Diffstat (limited to 'bundles')
-rw-r--r-- | bundles/org.eclipse.team.core/src/org/eclipse/team/core/ProjectSetCapability.java | 36 |
1 files changed, 10 insertions, 26 deletions
diff --git a/bundles/org.eclipse.team.core/src/org/eclipse/team/core/ProjectSetCapability.java b/bundles/org.eclipse.team.core/src/org/eclipse/team/core/ProjectSetCapability.java index 80e401383..b2a3e4c22 100644 --- a/bundles/org.eclipse.team.core/src/org/eclipse/team/core/ProjectSetCapability.java +++ b/bundles/org.eclipse.team.core/src/org/eclipse/team/core/ProjectSetCapability.java @@ -1,9 +1,17 @@ +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v0.5 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/cpl-v05.html + * + * Contributors: + * IBM - Initial implementation + ******************************************************************************/ package org.eclipse.team.core; import java.io.File; -import org.eclipse.core.resources.IProject; -import org.eclipse.core.runtime.IPath; import org.eclipse.core.runtime.IProgressMonitor; /** @@ -37,28 +45,4 @@ public abstract class ProjectSetCapability { return false; } - /** - * This method will only be called if - * RepositoryProviderType#supportsProjectSetImportRelocation returns true. - * - * For every String in referenceStrings, - * create in the workspace a corresponding IProject. Return an Array of the - * resulting IProjects. Result is unspecified in the case where an IProject - * of that name already exists. In the case of failure, a TeamException must - * be thrown. The opaque strings in referenceStrings are guaranteed to have - * been previously produced by IProjectSetSerializer.asReference(). - * @see IProjectSetSerializer#asReference(IProject[] providerProjects, Object context, IProgressMonitor monitor) - * - * @param referenceStrings an array of referene strings uniquely identifying the projects - * @param filename the name of the file that the references were read from. This is included - * in case the provider needs to deduce relative paths - * @param root the root file system path under which the projects should be - * created. - * @param context a UI context object. This object will either be a - * com.ibm.swt.widgets.Shell or it will be null. - * @param monitor a progress monitor - * @return IProject[] an array of projects that were created - * @throws TeamException - */ - public abstract IProject[] addToWorkspace(String[] referenceStrings, String filename, IPath root, Object context, IProgressMonitor monitor) throws TeamException; } |