| package org.eclipse.team.internal.ccvs.core.client; |
| |
| /* |
| * (c) Copyright IBM Corp. 2000, 2002. |
| * All Rights Reserved. |
| */ |
| |
| import org.eclipse.core.runtime.IProgressMonitor; |
| import org.eclipse.team.internal.ccvs.core.CVSException; |
| import org.eclipse.team.internal.ccvs.core.ICVSResource; |
| import org.eclipse.team.internal.ccvs.core.client.Command.GlobalOption; |
| import org.eclipse.team.internal.ccvs.core.client.Command.LocalOption; |
| |
| public class Remove extends Command { |
| /*** Local options: specific to remove ***/ |
| |
| protected Remove() { } |
| protected String getRequestId() { |
| return "remove"; //$NON-NLS-1$ |
| } |
| |
| protected void 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, monitor).visit(session, resources); |
| } |
| } |
| |