/***************************************************************************** * Copyright (c) 2006, 2007 g-Eclipse Consortium * 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 * * Initial development of the original code was made for the * g-Eclipse project founded by European Union * project number: FP6-IST-034327 http://www.geclipse.eu/ * * Contributors: * Mathias Stuempert - initial API and implementation *****************************************************************************/ package eu.geclipse.core.project; import java.util.Map; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.IncrementalProjectBuilder; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IProgressMonitor; /** * Incremental project builder dedicated to grid projects. * * @author stuempert-m */ public class GridProjectBuilder extends IncrementalProjectBuilder { /* (non-Javadoc) * @see org.eclipse.core.resources.IncrementalProjectBuilder#build(int, java.util.Map, org.eclipse.core.runtime.IProgressMonitor) */ @SuppressWarnings("unchecked") @Override protected IProject[] build( final int kind, final Map args, final IProgressMonitor monitor ) throws CoreException { /* TODO * What does make sense for Grid projects? There is nothing to build yet, * but e.g. we could update the status of running jobs, token lifetime,... */ return null; } /** * Get the ID of this project builder. * * @return A unique id used to reference this project builder. */ public static String getID() { return GridProjectBuilder.class.getName(); } }