blob: 6591af0d6db26fda763d17490d5f91786bd105a8 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2008 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.ui.synchronize;
import org.eclipse.core.resources.IResource;
import org.eclipse.team.internal.ui.TeamUIMessages;
/**
* A synchronize scope whose roots are the workspace.
*
* @since 3.0
* @noextend This class is not intended to be subclassed by clients.
*/
public class WorkspaceScope extends AbstractSynchronizeScope {
/**
* Create the resource scope that indicates that the subscriber roots should be used
*/
public WorkspaceScope() {
}
@Override
public String getName() {
return TeamUIMessages.WorkspaceScope_0;
}
@Override
public IResource[] getRoots() {
// Return null which indicates to use the subscriber roots
return null;
}
}