1 33 34 package edu.rice.cs.drjava.model; 35 36 import java.io.File ; 37 import java.io.IOException ; 38 import java.util.List ; 39 40 import edu.rice.cs.util.ClassPathVector; 41 42 48 public interface FileGroupingState { 49 50 51 public boolean isProjectActive(); 52 53 56 public boolean inProjectPath(OpenDefinitionsDocument doc); 57 58 61 public boolean inProjectPath(File f); 62 63 66 69 public File getProjectFile(); 70 71 74 public File getProjectRoot(); 75 76 77 public void setProjectFile(File f); 78 79 80 public void setProjectRoot(File f); 81 82 83 public void addAuxFile(File f); 84 85 87 public void remAuxFile(File f); 88 89 92 public File getBuildDirectory(); 93 94 95 public void setBuildDirectory(File f); 96 97 98 public File getWorkingDirectory(); 99 100 101 public void setWorkingDirectory(File f); 102 103 106 public File getMainClass(); 107 108 111 public void setMainClass(File f); 112 113 114 public void setCreateJarFile(File f); 115 116 117 public File getCreateJarFile(); 118 119 120 public void setCreateJarFlags(int f); 121 122 123 public int getCreateJarFlags(); 124 125 126 public File [] getProjectFiles(); 127 128 129 public boolean inProject(File f); 130 131 132 public boolean isAuxiliaryFile(File f); 133 134 135 public boolean isProjectChanged(); 136 137 138 public void setProjectChanged(boolean changed); 139 140 141 public void cleanBuildDirectory(); 142 143 144 public List <File > getClassFiles(); 145 146 149 public ClassPathVector getExtraClassPath(); 150 151 152 public void setExtraClassPath(ClassPathVector cp); 153 154 } 155 | Popular Tags |