1 /******************************************************************************* 2 * Copyright (c) 2007 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.ui.actions; 12 13 import org.eclipse.team.internal.ccvs.core.CVSTag; 14 import org.eclipse.team.internal.ccvs.ui.operations.ReplaceOperation; 15 16 17 public class ReplaceWithLatestRevisionAction extends ReplaceWithTagAction { 18 19 /* (non-Javadoc) 20 * @see org.eclipse.team.internal.ccvs.ui.actions.ReplaceWithTagAction.getTag(ReplaceOperation) 21 */ 22 protected CVSTag getTag(ReplaceOperation replaceOperation) { 23 return CVSTag.BASE; 24 } 25 26 public boolean isEnabled(){ 27 return super.isEnabled(); 28 } 29 30 } 31