Changes:
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / core / IJavaModel.java
index d745883..a4ff657 100644 (file)
@@ -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);
  * <li> A container or element is read-only (<code>READ_ONLY</code>) </li>
  * </ul>
  */
-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
  * <li> An element is read-only (<code>READ_ONLY</code>) </li>
  * </ul>
  */
-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 <code>null</code>
  */
-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
  * <li> An element is read-only (<code>READ_ONLY</code>) 
  * </ul>
  */
-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;
 
 }