Revision 9532 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/InfoToolExtension.java
InfoToolExtension.java | ||
---|---|---|
53 | 53 |
import com.iver.cit.gvsig.fmap.MapContext; |
54 | 54 |
import com.iver.cit.gvsig.fmap.MapControl; |
55 | 55 |
import com.iver.cit.gvsig.fmap.layers.FLayer; |
56 |
import com.iver.cit.gvsig.project.documents.ProjectDocument; |
|
56 | 57 |
import com.iver.cit.gvsig.project.documents.view.IProjectView; |
57 | 58 |
import com.iver.cit.gvsig.project.documents.view.gui.View; |
58 | 59 |
|
... | ... | |
68 | 69 |
View vista = (View) PluginServices.getMDIManager().getActiveWindow(); |
69 | 70 |
MapControl mapCtrl = vista.getMapControl(); |
70 | 71 |
logger.debug("Comand : " + s); |
71 |
|
|
72 |
|
|
72 | 73 |
if (s.compareTo("INFO") == 0) { |
73 | 74 |
mapCtrl.setTool("info"); |
75 |
((ProjectDocument)vista.getModel()).setModified(true); |
|
74 | 76 |
} |
75 | 77 |
} |
76 | 78 |
|
... | ... | |
114 | 116 |
if (f == null) { |
115 | 117 |
return false; |
116 | 118 |
} |
117 |
|
|
119 |
|
|
118 | 120 |
if (f instanceof View) { |
119 | 121 |
View vista = (View) f; |
120 | 122 |
IProjectView model = vista.getModel(); |
Also available in: Unified diff