/******************************************************************************* * Copyright (c) 2010 IBM Corporation 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: * IBM Corporation - initial API and implementation *******************************************************************************/ package org.eclipse.wst.jsdt.internal.core.util; import org.eclipse.core.resources.IProject; import org.eclipse.wst.jsdt.core.IIncludePathEntry; import org.eclipse.wst.jsdt.core.JavaScriptCore; /** * A provider of defaul include path entries to be added when converting a * project. Any extension returning any entrieswill supercede the values * returned in this class. * */ public abstract class DefaultSourcePathProvider { public DefaultSourcePathProvider() { } public IIncludePathEntry[] getDefaultSourcePaths(IProject p) { return new IIncludePathEntry[]{JavaScriptCore.newSourceEntry(p.getFullPath())}; } }