org.eclipse.team.svn.ui.utility.ICancellableOperationWrapper.java Source code

Java tutorial

Introduction

Here is the source code for org.eclipse.team.svn.ui.utility.ICancellableOperationWrapper.java

Source

/*******************************************************************************
 * Copyright (c) 2005-2008 Polarion Software.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Alexander Gurov - Initial API and implementation
 *******************************************************************************/

package org.eclipse.team.svn.ui.utility;

import org.eclipse.jface.operation.IRunnableWithProgress;
import org.eclipse.team.svn.core.operation.IActionOperation;

/**
 * Interface that provide information about executed operation and cacellation flag
 * 
 * @author Alexander Gurov
 */
public interface ICancellableOperationWrapper extends IRunnableWithProgress {
    public void setCancelled(boolean cancelled);

    public boolean isCancelled();

    public IActionOperation getOperation();

    public String getOperationName();
}