1 11 package org.eclipse.core.resources; 12 13 import java.util.Map ; 14 import org.eclipse.core.runtime.*; 15 import org.eclipse.core.runtime.content.IContentTypeMatcher; 16 17 44 public interface IProject extends IContainer, IAdaptable { 45 91 public void build(int kind, String builderName, Map args, IProgressMonitor monitor) throws CoreException; 92 93 129 public void build(int kind, IProgressMonitor monitor) throws CoreException; 130 131 168 public void close(IProgressMonitor monitor) throws CoreException; 169 170 215 public void create(IProjectDescription description, IProgressMonitor monitor) throws CoreException; 216 217 266 public void create(IProgressMonitor monitor) throws CoreException; 267 268 306 public void delete(boolean deleteContent, boolean force, IProgressMonitor monitor) throws CoreException; 307 308 322 public IContentTypeMatcher getContentTypeMatcher() throws CoreException; 323 324 341 public IProjectDescription getDescription() throws CoreException; 342 343 357 public IFile getFile(String name); 358 359 373 public IFolder getFolder(String name); 374 375 395 public IProjectNature getNature(String natureId) throws CoreException; 396 397 412 public IPath getPluginWorkingLocation(IPluginDescriptor plugin); 413 414 429 public IPath getWorkingLocation(String id); 430 431 447 public IProject[] getReferencedProjects() throws CoreException; 448 449 456 public IProject[] getReferencingProjects(); 457 458 470 public boolean hasNature(String natureId) throws CoreException; 471 472 497 public boolean isNatureEnabled(String natureId) throws CoreException; 498 499 512 public boolean isOpen(); 513 514 558 public void move(IProjectDescription description, boolean force, IProgressMonitor monitor) throws CoreException; 559 560 601 public void open(int updateFlags, IProgressMonitor monitor) throws CoreException; 602 603 632 public void open(IProgressMonitor monitor) throws CoreException; 633 634 677 public void setDescription(IProjectDescription description, IProgressMonitor monitor) throws CoreException; 678 679 780 public void setDescription(IProjectDescription description, int updateFlags, IProgressMonitor monitor) throws CoreException; 781 782 } 783 | Popular Tags |