gvsig-scripting / org.gvsig.scripting / trunk / org.gvsig.scripting / org.gvsig.scripting.app / org.gvsig.scripting.app.mainplugin / src / main / resources-plugin / scripting / lib / gvsig / javadocs / scripting / project / Project.java @ 742
History | View | Annotate | Download (1008 Bytes)
1 |
package scripting.project; |
---|---|
2 |
|
3 |
import java.util.Iterator; |
4 |
import org.gvsig.app.project.documents.Document; |
5 |
import org.gvsig.app.project.documents.table.TableDocument; |
6 |
import org.gvsig.app.project.documents.view.ViewDocument; |
7 |
|
8 |
/**
|
9 |
* Esta clase representa a un proyecto de gvSIG.
|
10 |
*
|
11 |
*
|
12 |
*/
|
13 |
public interface Project extends org.gvsig.app.project.Project { |
14 |
|
15 |
/**
|
16 |
*
|
17 |
* @return
|
18 |
*/
|
19 |
public Iterator<Document> __iter__(); |
20 |
|
21 |
/**
|
22 |
*
|
23 |
* @return
|
24 |
*/
|
25 |
public int __len__(); |
26 |
|
27 |
/**
|
28 |
*
|
29 |
* @param index
|
30 |
* @return
|
31 |
*/
|
32 |
public Document __getitem__(int index); |
33 |
|
34 |
/**
|
35 |
*
|
36 |
* @param name, name of the view to retrieve, is optional
|
37 |
* if name is not passed, return te current view.
|
38 |
*
|
39 |
* @return
|
40 |
*/
|
41 |
public ViewDocument getView(String name); |
42 |
|
43 |
/**
|
44 |
*
|
45 |
* @param name, optional
|
46 |
* @return
|
47 |
*/
|
48 |
public TableDocument getTable(String name); |
49 |
|
50 |
/**
|
51 |
*
|
52 |
* @return
|
53 |
*/
|
54 |
public String getProjectionCode(); |
55 |
|
56 |
} |