
org.eclipse.equinox.concurrent.future.AbstractExecutor Maven / Gradle / Ivy
The newest version!
/******************************************************************************
* Copyright (c) 2010, 2013 EclipseSource and others. 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:
* EclipseSource - initial API and implementation
* Gunnar Wagenknecht - added support for generics
******************************************************************************/
package org.eclipse.equinox.concurrent.future;
import org.eclipse.core.runtime.IProgressMonitor;
/**
* Abstract implementation of {@link IExecutor} and {@link IRunnableExecutor}.
* @since 1.1
*
*/
public abstract class AbstractExecutor implements IRunnableExecutor, IExecutor {
public void execute(final Runnable runnable) {
execute(new IProgressRunnable
© 2015 - 2025 Weber Informatics LLC | Privacy Policy