1 11 package org.eclipse.team.internal.ccvs.core.client; 12 13 import org.eclipse.team.internal.ccvs.core.CVSException; 14 import org.eclipse.team.internal.ccvs.core.ICVSFile; 15 import org.eclipse.team.internal.ccvs.core.ICVSFolder; 16 import org.eclipse.team.internal.ccvs.core.client.Command.LocalOption; 17 18 21 public class NOOPVisitor extends AbstractStructureVisitor { 22 23 public NOOPVisitor(Session session, LocalOption[] localOptions) { 24 super(session, localOptions, false, false); 26 } 27 28 31 public void visitFile(ICVSFile file) throws CVSException { 32 sendPendingNotification(file); 33 } 34 35 38 public void visitFolder(ICVSFolder folder) throws CVSException { 39 if (isRecurse() && folder.isCVSFolder()) { 40 folder.acceptChildren(this); 41 } 42 } 43 44 } 45 | Popular Tags |