Revision 7392 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/ViewSelectionControls.java
ViewSelectionControls.java | ||
---|---|---|
43 | 43 |
* |
44 | 44 |
* $Id$ |
45 | 45 |
* $Log$ |
46 |
* Revision 1.10 2006-09-15 10:40:03 caballero |
|
46 |
* Revision 1.11 2006-09-20 10:56:56 sbayarri |
|
47 |
* Refactorizaci?n clases View y ProjectView |
|
48 |
* |
|
49 |
* Revision 1.10 2006/09/15 10:40:03 caballero |
|
47 | 50 |
* extensibilidad de documentos |
48 | 51 |
* |
49 | 52 |
* Revision 1.9 2006/09/11 16:14:15 fjp |
... | ... | |
93 | 96 |
import com.iver.cit.gvsig.gui.selectionByTheme.DefaultSelectionByThemeModel; |
94 | 97 |
import com.iver.cit.gvsig.gui.selectionByTheme.MySelectionByThemeListener; |
95 | 98 |
import com.iver.cit.gvsig.gui.selectionByTheme.SelectionByTheme; |
96 |
import com.iver.cit.gvsig.project.documents.view.ProjectView; |
|
99 |
import com.iver.cit.gvsig.project.documents.view.IProjectView;
|
|
97 | 100 |
import com.iver.cit.gvsig.project.documents.view.gui.View; |
98 | 101 |
|
99 | 102 |
/** |
... | ... | |
114 | 117 |
|
115 | 118 |
public void execute(String actionCommand) { |
116 | 119 |
View vista = (View) PluginServices.getMDIManager().getActiveWindow(); |
117 |
ProjectView model = vista.getModel(); |
|
120 |
IProjectView model = vista.getModel();
|
|
118 | 121 |
MapContext mapa = model.getMapContext(); |
119 | 122 |
MapControl mapCtrl = vista.getMapControl(); |
120 | 123 |
logger.debug("Comand : " + actionCommand); |
... | ... | |
158 | 161 |
if (f instanceof View) { |
159 | 162 |
|
160 | 163 |
View vista = (View) f; |
161 |
ProjectView model = vista.getModel(); |
|
164 |
IProjectView model = vista.getModel();
|
|
162 | 165 |
MapContext mapa = model.getMapContext(); |
163 | 166 |
|
164 | 167 |
for (int i = 0; i < mapa.getLayers().getActives().length; i++) { |
... | ... | |
178 | 181 |
|
179 | 182 |
if (f != null && f instanceof View) { |
180 | 183 |
View vista = (View) f; |
181 |
ProjectView model = vista.getModel(); |
|
184 |
IProjectView model = vista.getModel();
|
|
182 | 185 |
MapContext mapa = model.getMapContext(); |
183 | 186 |
|
184 | 187 |
for (int i = 0; i < mapa.getLayers().getLayersCount(); i++) { |
Also available in: Unified diff