*******************************************************************************/
package net.sourceforge.phpdt.core;
+import java.util.Map;
+
import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.IProgressMonitor;
/**
* classpath-relative path, or <code>null</code> if no such
* <code>IJavaElement</code> is found
*/
-// IJavaElement findElement(IPath path) throws JavaModelException;
+ IJavaElement findElement(IPath path) throws JavaModelException;
/**
* Returns the first existing package fragment on this project's classpath
* whose path matches the given (absolute) path, or <code>null</code> if
* one does not exist
*/
-// IPackageFragmentRoot findPackageFragmentRoot(IPath path)
-// throws JavaModelException;
+ IPackageFragmentRoot findPackageFragmentRoot(IPath path)
+ throws JavaModelException;
/**
* Returns the existing package fragment roots identified by the given entry.
* Note that a classpath entry that refers to another project may
* @see IClasspathContainer
* @since 2.1
*/
-// IPackageFragmentRoot[] findPackageFragmentRoots(IClasspathEntry entry);
+ IPackageFragmentRoot[] findPackageFragmentRoots(IClasspathEntry entry);
/**
* Returns the first type found following this project's classpath
* with the given fully qualified name or <code>null</code> if none is found.
* @exception JavaModelException if this element does not exist or if an
* exception occurs while accessing its corresponding resource
*/
-// IPackageFragmentRoot[] getAllPackageFragmentRoots() throws JavaModelException;
+ IPackageFragmentRoot[] getAllPackageFragmentRoots() throws JavaModelException;
/**
* Returns an array of non-Java resources directly contained in this project.
* @see JavaCore#getDefaultOptions
* @since 2.1
*/
-// String getOption(String optionName, boolean inheritJavaCoreOptions);
+ String getOption(String optionName, boolean inheritJavaCoreOptions);
/**
* Returns the table of the current custom options for this project. Projects remember their custom options,
* @see JavaCore#getDefaultOptions
* @since 2.1
*/
-// Map getOptions(boolean inheritJavaCoreOptions);
+ Map getOptions(boolean inheritJavaCoreOptions);
/**
* Returns the default output location for this project as a workspace-
* @see #setOutputLocation
* @see IClasspathEntry#getOutputLocation
*/
-// IPath getOutputLocation() throws JavaModelException;
+ IPath getOutputLocation() throws JavaModelException;
/**
* Returns a package fragment root for the JAR at the specified file system path.
* must either be a folder representing the top of a package hierarchy,
* or a <code>.jar</code> or <code>.zip</code> file
*/
-// IPackageFragmentRoot getPackageFragmentRoot(IResource resource);
+ IPackageFragmentRoot getPackageFragmentRoot(IResource resource);
/**
* Returns all of the package fragment roots contained in this
* @exception JavaModelException if this element does not exist or if an
* exception occurs while accessing its corresponding resource
*/
-// IPackageFragmentRoot[] getPackageFragmentRoots() throws JavaModelException;
+ IPackageFragmentRoot[] getPackageFragmentRoots() throws JavaModelException;
/**
* Returns the existing package fragment roots identified by the given entry.
* @see IClasspathContainer
* @deprecated Use IJavaProject#findPackageFragmentRoots instead
*/
-// IPackageFragmentRoot[] getPackageFragmentRoots(IClasspathEntry entry);
+ IPackageFragmentRoot[] getPackageFragmentRoots(IClasspathEntry entry);
/**
* Returns all package fragments in all package fragment roots contained
* @exception JavaModelException if this element does not exist or if an
* exception occurs while accessing its corresponding resource
*/
-// IPackageFragment[] getPackageFragments() throws JavaModelException;
+ IPackageFragment[] getPackageFragments() throws JavaModelException;
/**
* Returns the <code>IProject</code> on which this <code>IJavaProject</code>
* exception occurs while accessing its corresponding resource
* @see IClasspathEntry
*/
-// IClasspathEntry[] getRawClasspath() throws JavaModelException;
+ IClasspathEntry[] getRawClasspath() throws JavaModelException;
/**
* Returns the names of the projects that are directly required by this
* @exception JavaModelException if this element does not exist or if an
* exception occurs while accessing its corresponding resource
*/
-// String[] getRequiredProjectNames() throws JavaModelException;
+ String[] getRequiredProjectNames() throws JavaModelException;
/**
* This is a helper method returning the resolved classpath for the project
* </ul>
* @see IClasspathEntry
*/
-// IClasspathEntry[] getResolvedClasspath(boolean ignoreUnresolvedEntry)
-// throws JavaModelException;
+ IClasspathEntry[] getResolvedClasspath(boolean ignoreUnresolvedEntry)
+ throws JavaModelException;
/**
* Returns whether this project has been built at least once and thus whether it has a build state.
* @return true if this project has been built at least once, false otherwise
*/
-// boolean hasBuildState();
+ boolean hasBuildState();
/**
* Returns whether setting this project's classpath to the given classpath entries
* @param entries the given classpath entries
* @return true if the given classpath entries would result in a cycle, false otherwise
*/
-// boolean hasClasspathCycle(IClasspathEntry[] entries);
+ boolean hasClasspathCycle(IClasspathEntry[] entries);
/**
* Returns whether the given element is on the classpath of this project,
* that is, referenced from a classpath entry and not explicitly excluded
* @see JavaCore#getDefaultOptions
* @since 2.1
*/
-// void setOptions(Map newOptions);
+ void setOptions(Map newOptions);
/**
* Sets the default output location of this project to the location
* @see #getOutputLocation
* @see IClasspathEntry#getOutputLocation
*/
-// void setOutputLocation(IPath path, IProgressMonitor monitor)
-// throws JavaModelException;
+ void setOutputLocation(IPath path, IProgressMonitor monitor)
+ throws JavaModelException;
/**
* Sets the classpath of this project using a list of classpath entries. In particular such a classpath may contain
* </ul>
* @see IClasspathEntry
*/
-// void setRawClasspath(IClasspathEntry[] entries, IProgressMonitor monitor)
-// throws JavaModelException;
+ void setRawClasspath(IClasspathEntry[] entries, IProgressMonitor monitor)
+ throws JavaModelException;
/**
* Sets the both the classpath of this project and its default output
* @see IClasspathEntry
* @since 2.0
*/
-// void setRawClasspath(IClasspathEntry[] entries, IPath outputLocation, IProgressMonitor monitor)
-// throws JavaModelException;
+ void setRawClasspath(IClasspathEntry[] entries, IPath outputLocation, IProgressMonitor monitor)
+ throws JavaModelException;
}
\ No newline at end of file