blob: 4e05d27ae27d94d1e4e1e0d8d42e9d493d59fe94 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2005, 2007 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
*
*******************************************************************************/
package org.eclipse.dltk.core.tests.buildpath;
import org.eclipse.core.runtime.IPath;
import org.eclipse.dltk.core.DLTKCore;
import org.eclipse.dltk.core.IBuildpathContainer;
import org.eclipse.dltk.core.IBuildpathEntry;
import org.eclipse.dltk.core.IScriptProject;
public class TestieContainer implements IBuildpathContainer {
private IPath fPath;
public TestieContainer(IPath srcPath) {
this.fPath = srcPath;
}
public IBuildpathEntry[] getBuildpathEntries() {
return new IBuildpathEntry[] { DLTKCore.newExtLibraryEntry(this.fPath) };
}
public String getDescription() {
return "Testie Buildpath Container";
}
public int getKind() {
return IBuildpathContainer.K_DEFAULT_SYSTEM;
}
public IPath getPath() {
return fPath;
}
}