Revision 9532 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/view/toc/actions/ZoomPixelCursorTocMenuEntry.java
ZoomPixelCursorTocMenuEntry.java | ||
---|---|---|
1 | 1 |
package com.iver.cit.gvsig.project.documents.view.toc.actions; |
2 | 2 |
|
3 | 3 |
import com.iver.andami.PluginServices; |
4 |
import com.iver.cit.gvsig.ProjectExtension; |
|
4 | 5 |
import com.iver.cit.gvsig.fmap.MapControl; |
5 | 6 |
import com.iver.cit.gvsig.fmap.layers.FLayer; |
6 | 7 |
import com.iver.cit.gvsig.fmap.layers.FLyrRaster; |
8 |
import com.iver.cit.gvsig.project.Project; |
|
7 | 9 |
import com.iver.cit.gvsig.project.documents.view.gui.View; |
8 | 10 |
import com.iver.cit.gvsig.project.documents.view.toc.AbstractTocContextMenuAction; |
9 | 11 |
import com.iver.cit.gvsig.project.documents.view.toc.ITocItem; |
... | ... | |
52 | 54 |
* |
53 | 55 |
* $Id$ |
54 | 56 |
* $Log$ |
55 |
* Revision 1.2 2006-10-02 13:52:34 jaume |
|
57 |
* Revision 1.3 2007-01-04 07:24:31 caballero |
|
58 |
* isModified |
|
59 |
* |
|
60 |
* Revision 1.2 2006/10/02 13:52:34 jaume |
|
56 | 61 |
* organize impots |
57 | 62 |
* |
58 | 63 |
* Revision 1.1 2006/09/15 10:41:30 caballero |
... | ... | |
110 | 115 |
View vista = (View) PluginServices.getMDIManager().getActiveWindow(); |
111 | 116 |
MapControl mapCtrl = vista.getMapControl(); |
112 | 117 |
mapCtrl.setTool("zoom_pixel_cursor"); |
118 |
Project project=((ProjectExtension)PluginServices.getExtension(ProjectExtension.class)).getProject(); |
|
119 |
project.setModified(true); |
|
113 | 120 |
|
114 | 121 |
} |
115 | 122 |
} |
Also available in: Unified diff