1 19 20 package org.netbeans.modules.projectimport.j2seimport; 21 22 import java.io.File ; 23 import java.util.Collection ; 24 import java.util.Set ; 25 import org.netbeans.api.java.platform.JavaPlatform; 26 import org.openide.filesystems.FileObject; 27 28 32 public interface ProjectModel { 33 String getName(); 34 FileObject getProjectDir(); 35 Collection getLibraries(); 36 Collection getUserLibraries(); 37 Collection getSourceRoots(); 38 Set getDependencies(); 39 File getJDKDirectory(); 40 41 Collection getErrors(); 42 WarningContainer getWarnings(); 43 44 boolean isAlreadyImported(); 45 46 public interface Library { 47 File getArchiv(); 48 } 49 50 public interface SourceRoot { 51 String getLabel(); 52 File getDirectory(); 53 } 54 55 public interface UserLibrary { 56 String getName(); 57 Collection getLibraries(); 58 Collection getDependencies(); 59 } 60 } 61 | Popular Tags |