KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > team > internal > ccvs > ui > operations > ITagOperation


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 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.operations;
12
13 import java.lang.reflect.InvocationTargetException JavaDoc;
14
15 import org.eclipse.team.internal.ccvs.core.CVSTag;
16 import org.eclipse.team.internal.ccvs.ui.tags.TagSource;
17
18 public interface ITagOperation {
19     public abstract CVSTag getTag();
20     public abstract void setTag(CVSTag tag);
21     public abstract void run() throws InvocationTargetException JavaDoc, InterruptedException JavaDoc;
22     /**
23      * Return whether the tag operation contains any resource that would be operated on.
24      * @return whether the tag operation contains any resource that would be operated on
25      */

26     public abstract boolean isEmpty();
27     public abstract void moveTag();
28     public abstract void doNotRecurse();
29     public abstract TagSource getTagSource();
30 }
31
Popular Tags