1 19 package org.eclipse.jdt.core; 20 21 import org.eclipse.core.runtime.IPath; 22 import org.eclipse.core.runtime.IProgressMonitor; 23 24 39 public interface IPackageFragmentRoot 40 extends IParent, IJavaElement, IOpenable { 41 45 int K_SOURCE = 1; 46 50 int K_BINARY = 2; 51 54 String DEFAULT_PACKAGEROOT_PATH = ""; 60 int NO_RESOURCE_MODIFICATION = 1; 61 66 int ORIGINATING_PROJECT_CLASSPATH = 2; 67 72 int OTHER_REFERRING_PROJECTS_CLASSPATH = 4; 73 78 int DESTINATION_PROJECT_CLASSPATH = 8; 79 84 int REPLACE = 16; 85 109 void attachSource(IPath sourcePath, IPath rootPath, IProgressMonitor monitor) 110 throws JavaModelException; 111 112 171 void copy(IPath destination, int updateResourceFlags, int updateModelFlags, IClasspathEntry sibling, IProgressMonitor monitor) throws JavaModelException; 172 196 IPackageFragment createPackageFragment( 197 String name, 198 boolean force, 199 IProgressMonitor monitor) 200 throws JavaModelException; 201 245 void delete(int updateResourceFlags, int updateModelFlags, IProgressMonitor monitor) throws JavaModelException; 246 261 int getKind() throws JavaModelException; 262 263 289 Object [] getNonJavaResources() throws JavaModelException; 290 291 300 IPackageFragment getPackageFragment(String packageName); 301 302 303 314 IClasspathEntry getRawClasspathEntry() throws JavaModelException; 315 316 326 IPath getSourceAttachmentPath() throws JavaModelException; 327 328 339 IPath getSourceAttachmentRootPath() throws JavaModelException; 340 341 350 public boolean isArchive(); 351 352 364 boolean isExternal(); 365 366 437 void move(IPath destination, int updateResourceFlags, int updateModelFlags, IClasspathEntry sibling, IProgressMonitor monitor) throws JavaModelException; 438 } 439
| Popular Tags
|