blob: a3b69edd21e26ed709accd251b303c48ca4898b4 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2012 Oracle. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0, which accompanies this distribution
* and is available at https://www.eclipse.org/legal/epl-2.0/.
*
* Contributors:
* Oracle - initial API and implementation
******************************************************************************/
package org.eclipse.jpt.common.core.internal.utility;
import org.eclipse.core.resources.IWorkspaceRunnable;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.jpt.common.utility.internal.ObjectTools;
/**
* Convenience implementation of {@link IWorkspaceRunnable}.
*/
public class WorkspaceRunnableAdapter
implements IWorkspaceRunnable
{
public void run(IProgressMonitor monitor) throws CoreException {
// NOP
}
@Override
public String toString() {
return ObjectTools.toString(this);
}
}