Revision 42293 trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/java/org/gvsig/app/project/documents/view/ViewDocument.java
ViewDocument.java | ||
---|---|---|
25 | 25 |
|
26 | 26 |
import java.awt.Color; |
27 | 27 |
import java.beans.PropertyChangeListener; |
28 |
import java.util.Iterator; |
|
28 | 29 |
import org.cresques.cts.IProjection; |
29 | 30 |
|
30 | 31 |
import org.gvsig.app.project.Project; |
31 | 32 |
import org.gvsig.app.project.documents.Document; |
32 | 33 |
import org.gvsig.fmap.mapcontext.MapContext; |
33 | 34 |
import org.gvsig.fmap.mapcontext.layers.ExtendedPropertiesSupport; |
35 |
import org.gvsig.fmap.mapcontext.layers.FLayer; |
|
34 | 36 |
|
35 | 37 |
|
36 | 38 |
public interface ViewDocument extends Document, ExtendedPropertiesSupport { |
... | ... | |
39 | 41 |
public static final String LAYER_PROPERTIES_PAGE_GROUP = "LayerPropertiesPageGroup"; |
40 | 42 |
|
41 | 43 |
/** |
42 |
* Gets the FMap's contexts of the main map in the view.
|
|
44 |
* Gets the Map contexts of the main map in the view.
|
|
43 | 45 |
* |
44 |
* @return |
|
46 |
* @return MapContext
|
|
45 | 47 |
*/ |
46 | 48 |
public MapContext getMapContext(); |
47 | 49 |
|
48 | 50 |
/** |
49 |
* Gets the FMap's context from the locator, which is the
|
|
51 |
* Gets the Map context from the locator, which is the
|
|
50 | 52 |
* small map in the left-bottom corner of the View. |
51 | 53 |
* |
52 | 54 |
* @return |
... | ... | |
57 | 59 |
|
58 | 60 |
public void setMapOverViewContext(MapContext fmap); |
59 | 61 |
|
62 |
/** |
|
63 |
* Gets the name of the View |
|
64 |
* @return name of the view |
|
65 |
*/ |
|
60 | 66 |
public String getName(); |
61 | 67 |
|
62 | 68 |
public Project getProject(); |
63 | 69 |
|
64 | 70 |
public void addPropertyChangeListener(PropertyChangeListener listener); |
65 | 71 |
|
72 |
|
|
73 |
/** |
|
74 |
* Gets the CRS of the view |
|
75 |
* |
|
76 |
* @return CRS of the view |
|
77 |
*/ |
|
66 | 78 |
public IProjection getProjection(); |
67 | 79 |
|
68 | 80 |
public void setProjection (IProjection proj); |
69 | 81 |
|
70 | 82 |
public void setBackColor(Color c) ; |
71 | 83 |
|
84 |
/** |
|
85 |
* Get the first level of layer in the view TOC. |
|
86 |
* |
|
87 |
* @return layers in TOC |
|
88 |
*/ |
|
89 |
public Iterator<FLayer> iterator(); |
|
90 |
|
|
91 |
/** |
|
92 |
* Get all layer in the view TOC. |
|
93 |
* |
|
94 |
* @return layers in TOC |
|
95 |
*/ |
|
96 |
public Iterator<FLayer> deepiterator(); |
|
97 |
|
|
72 | 98 |
} |
Also available in: Unified diff