blob: a275fdf72a06a7e5b5ef96a7b021a229dd32bac1 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.team.internal.ccvs.core.client;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.team.internal.ccvs.core.CVSException;
import org.eclipse.team.internal.ccvs.core.ICVSResource;
public class Remove extends Command {
/*** Local options: specific to remove ***/
protected Remove() { }
protected String getRequestId() {
return "remove"; //$NON-NLS-1$
}
protected ICVSResource[] sendLocalResourceState(Session session, GlobalOption[] globalOptions,
LocalOption[] localOptions, ICVSResource[] resources, IProgressMonitor monitor)
throws CVSException {
// Send all modified files to the server
// XXX Does the command line client send all modified files?
new ModifiedFileSender(session, localOptions).visit(session, resources, monitor);
return resources;
}
}