1 11 package org.eclipse.team.internal.ccvs.core.client; 12 13 import org.eclipse.core.runtime.IProgressMonitor; 14 import org.eclipse.core.runtime.Path; 15 import org.eclipse.team.internal.ccvs.core.CVSException; 16 import org.eclipse.team.internal.ccvs.core.ICVSFile; 17 import org.eclipse.team.internal.ccvs.core.ICVSFolder; 18 19 27 public class NotifiedHandler extends ResponseHandler { 28 29 32 public String getResponseID() { 33 return "Notified"; } 35 36 39 public void handle( 40 Session session, 41 String localDir, 42 IProgressMonitor monitor) 43 throws CVSException { 44 45 String repositoryFilePath = session.readLine(); 48 49 ICVSFolder folder = session.getLocalRoot().getFolder(localDir); 51 ICVSFile file = folder.getFile(new Path(null, repositoryFilePath).lastSegment()); 52 file.notificationCompleted(); 53 } 54 55 } 56 | Popular Tags |