X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/IJavaModel.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/IJavaModel.java index d745883..a4ff657 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/IJavaModel.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/IJavaModel.java @@ -10,9 +10,7 @@ *******************************************************************************/ package net.sourceforge.phpdt.core; -import org.eclipse.core.resources.IResource; import org.eclipse.core.resources.IWorkspace; -import org.eclipse.core.runtime.IProgressMonitor; /** * Represent the root Java element corresponding to the workspace. @@ -49,7 +47,7 @@ public interface IJavaModel extends IJavaElement, IOpenable, IParent { * @return true if the resource is accessible through the Java model * @since 2.1 */ -boolean contains(IResource resource); +//boolean contains(IResource resource); /** * Copies the given elements to the specified container(s). * If one container is specified, all elements are copied to that @@ -96,7 +94,7 @@ boolean contains(IResource resource); *
  • A container or element is read-only (READ_ONLY)
  • * */ -void copy(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, String[] renamings, boolean replace, IProgressMonitor monitor) throws JavaModelException; +//void copy(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, String[] renamings, boolean replace, IProgressMonitor monitor) throws JavaModelException; /** * Deletes the given elements, forcing the operation if necessary and specified. * @@ -112,14 +110,14 @@ void copy(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] sib *
  • An element is read-only (READ_ONLY)
  • * */ -void delete(IJavaElement[] elements, boolean force, IProgressMonitor monitor) throws JavaModelException; +//void delete(IJavaElement[] elements, boolean force, IProgressMonitor monitor) throws JavaModelException; /** * Returns the Java project with the given name. This is a handle-only method. * The project may or may not exist. * * @return the Java project with the given name */ -// IJavaProject getJavaProject(String name); + IJavaProject getJavaProject(String name); /** * Returns the Java projects in this Java model, or an empty array if there * are none. @@ -128,7 +126,7 @@ void delete(IJavaElement[] elements, boolean force, IProgressMonitor monitor) th * are none * @exception JavaModelException if this request fails. */ -// IJavaProject[] getJavaProjects() throws JavaModelException; + IJavaProject[] getJavaProjects() throws JavaModelException; /** * Returns an array of non-Java resources (that is, non-Java projects) in * the workspace. @@ -142,7 +140,7 @@ void delete(IJavaElement[] elements, boolean force, IProgressMonitor monitor) th * exception occurs while accessing its corresponding resource * @since 2.1 */ -Object[] getNonJavaResources() throws JavaModelException; +//Object[] getNonJavaResources() throws JavaModelException; /** * Returns the workspace associated with this Java model. * @@ -197,7 +195,7 @@ IWorkspace getWorkspace(); * * @exception IllegalArgumentException any element or container is null */ -void move(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, String[] renamings, boolean replace, IProgressMonitor monitor) throws JavaModelException; +//void move(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, String[] renamings, boolean replace, IProgressMonitor monitor) throws JavaModelException; /** * Triggers an update of the JavaModel with respect to the referenced external archives. @@ -225,7 +223,7 @@ void move(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] sib * @see IJavaElementDelta * @since 2.0 */ -void refreshExternalArchives(IJavaElement[] elementsScope, IProgressMonitor monitor) throws JavaModelException; +//void refreshExternalArchives(IJavaElement[] elementsScope, IProgressMonitor monitor) throws JavaModelException; /** * Renames the given elements as specified. @@ -251,6 +249,6 @@ void refreshExternalArchives(IJavaElement[] elementsScope, IProgressMonitor moni *
  • An element is read-only (READ_ONLY) * */ -void rename(IJavaElement[] elements, IJavaElement[] destinations, String[] names, boolean replace, IProgressMonitor monitor) throws JavaModelException; +//void rename(IJavaElement[] elements, IJavaElement[] destinations, String[] names, boolean replace, IProgressMonitor monitor) throws JavaModelException; }