1 11 package org.eclipse.jdt.core; 12 13 import org.eclipse.core.resources.IResource; 14 import org.eclipse.core.resources.IWorkspace; 15 import org.eclipse.core.runtime.IProgressMonitor; 16 17 36 public interface IJavaModel extends IJavaElement, IOpenable, IParent { 37 52 boolean contains(IResource resource); 53 99 void copy(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, String [] renamings, boolean replace, IProgressMonitor monitor) throws JavaModelException; 100 115 void delete(IJavaElement[] elements, boolean force, IProgressMonitor monitor) throws JavaModelException; 116 123 IJavaProject getJavaProject(String name); 124 132 IJavaProject[] getJavaProjects() throws JavaModelException; 133 147 Object [] getNonJavaResources() throws JavaModelException; 148 153 IWorkspace getWorkspace(); 154 202 void move(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, String [] renamings, boolean replace, IProgressMonitor monitor) throws JavaModelException; 203 204 230 void refreshExternalArchives(IJavaElement[] elementsScope, IProgressMonitor monitor) throws JavaModelException; 231 232 256 void rename(IJavaElement[] elements, IJavaElement[] destinations, String [] names, boolean replace, IProgressMonitor monitor) throws JavaModelException; 257 258 } 259 | Popular Tags |