Source code: javax/ide/model/spi/ProjectImpl.java
1 package javax.ide.model.spi;
2 import java.net.URI;
3 import java.util.Collection;
4 import java.util.prefs.Preferences;
5 import javax.ide.model.Element;
6 import javax.ide.model.java.JavaModel;
7 import javax.ide.net.URIPath;
8
9 public interface ProjectImpl extends DocumentImpl
10 {
11 public URIPath getSourcePath();
12
13 public void addClassPath( URIPath path );
14
15 public URIPath getClassPath();
16
17 public void setClassPath( URIPath path );
18
19 public URI getOutputDirectory();
20
21 public void setOutputDirectory( URI outputDirectory );
22
23 public Preferences getPreferences();
24
25 public void setPreferences( Preferences preferences );
26
27 public JavaModel getJavaModel();
28
29 public boolean canAdd( Element element );
30
31 public boolean add( Element element );
32
33 public boolean add( Collection children );
34
35 public boolean canRemove( Element element );
36
37 public boolean remove( Element child );
38
39 public boolean remove( Collection children );
40
41 public boolean containsChild( Element child );
42
43 public int size();
44
45 public void removeAll();
46 }