KickJava   Java API By Example, From Geeks To Geeks.

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


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  * The CVS Annotate Command.
15  * Answers a resource with each line annotated with the revision the line
16  * was added/changed and the user making the change.
17  */

18 public class Annotate extends AbstractMessageCommand {
19
20     public static final Object JavaDoc FORCE_BINARY_ANNOTATE = new LocalOption("-F"); //$NON-NLS-1$
21

22     protected Annotate() { }
23     
24     protected String JavaDoc getRequestId() {
25         return "annotate"; //$NON-NLS-1$
26
}
27
28     // Local options specific to Annotate - revision (can be tag or revision)
29
public static LocalOption makeRevisionOption(String JavaDoc revision) {
30         return new LocalOption("-r" + revision, null); //$NON-NLS-1$
31
}
32 }
33
Popular Tags