01: /*******************************************************************************
02: * Copyright (c) 2000, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.jdt.ui.jarpackager;
11:
12: import org.eclipse.core.runtime.IStatus;
13:
14: import org.eclipse.jface.operation.IRunnableWithProgress;
15:
16: /**
17: * A runnable which executes a JAR export operation within the workspace.
18: *
19: * Clients may implement this interface.
20: *
21: * @see org.eclipse.jdt.ui.jarpackager.JarPackageData#createJarExportRunnable(org.eclipse.swt.widgets.Shell)
22: * @see org.eclipse.core.resources.IWorkspaceRunnable
23: * @since 2.0
24: */
25: public interface IJarExportRunnable extends IRunnableWithProgress {
26:
27: /**
28: * Returns the current status of this operation.
29: * The result is a status object which may contain individual
30: * nested status objects.
31: * <p>
32: * Clients may call this method during the operation and add
33: * additional status information.
34: * </p>
35: *
36: * @return the status of this operation
37: */
38: public IStatus getStatus();
39: }
|