1 11 package org.eclipse.team.internal.ccvs.core.client; 12 13 import org.eclipse.core.runtime.IProgressMonitor; 14 import org.eclipse.team.internal.ccvs.core.CVSException; 15 import org.eclipse.team.internal.ccvs.core.ICVSResource; 16 17 20 public class NOOPCommand extends Command { 21 22 25 protected ICVSResource[] sendLocalResourceState( 26 Session session, 27 GlobalOption[] globalOptions, 28 LocalOption[] localOptions, 29 ICVSResource[] resources, 30 IProgressMonitor monitor) 31 throws CVSException { 32 33 new NOOPVisitor(session, localOptions).visit(session, resources, monitor); 35 return resources; 36 } 37 38 41 protected String getRequestId() { 42 return "noop"; } 44 45 48 protected void sendArguments(Session session, String [] arguments)throws CVSException { 49 } 51 52 55 protected boolean isWorkspaceModification() { 56 return false; 57 } 58 59 } 60 | Popular Tags |