KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > team > internal > ccvs > core > client > ModuleExpansionHandler


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.team.internal.ccvs.core.client;
12
13  
14 import org.eclipse.core.runtime.IProgressMonitor;
15 import org.eclipse.team.internal.ccvs.core.CVSException;
16
17 public class ModuleExpansionHandler extends ResponseHandler {
18
19     /*
20      * @see ResponseHandler#getResponseID()
21      */

22     public String JavaDoc getResponseID() {
23         return "Module-expansion";//$NON-NLS-1$
24
}
25
26     /*
27      * @see ResponseHandler#handle(Session, String, IProgressMonitor)
28      */

29     public void handle(Session session, String JavaDoc expansion, IProgressMonitor monitor)
30         throws CVSException {
31             
32         session.addModuleExpansion(expansion);
33     }
34
35 }
36
Popular Tags