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.jdt.ui.jarpackager; 12 13 import org.eclipse.core.runtime.IStatus; 14 15 import org.eclipse.jface.operation.IRunnableWithProgress; 16 17 /** 18 * A runnable which executes a JAR export operation within the workspace. 19 * 20 * Clients may implement this interface. 21 * 22 * @see org.eclipse.jdt.ui.jarpackager.JarPackageData#createJarExportRunnable(org.eclipse.swt.widgets.Shell) 23 * @see org.eclipse.core.resources.IWorkspaceRunnable 24 * @since 2.0 25 */ 26 public interface IJarExportRunnable extends IRunnableWithProgress { 27 28 /** 29 * Returns the current status of this operation. 30 * The result is a status object which may contain individual 31 * nested status objects. 32 * <p> 33 * Clients may call this method during the operation and add 34 * additional status information. 35 * </p> 36 * 37 * @return the status of this operation 38 */ 39 public IStatus getStatus(); 40 } 41