Revision 9532 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/ThemeControls.java
ThemeControls.java | ||
---|---|---|
69 | 69 |
import com.iver.cit.gvsig.fmap.layers.SelectableDataSource; |
70 | 70 |
import com.iver.cit.gvsig.fmap.operations.strategies.SelectedShapeVisitor; |
71 | 71 |
import com.iver.cit.gvsig.fmap.operations.strategies.VisitException; |
72 |
import com.iver.cit.gvsig.project.documents.ProjectDocument; |
|
72 | 73 |
import com.iver.cit.gvsig.project.documents.view.IProjectView; |
73 | 74 |
import com.iver.cit.gvsig.project.documents.view.gui.View; |
74 | 75 |
import com.iver.utiles.GenericFileFilter; |
... | ... | |
94 | 95 |
|
95 | 96 |
if (s.equals("SHAPE_SELECTED")) { |
96 | 97 |
createShape(mapa); |
98 |
((ProjectDocument)vista.getModel()).setModified(true); |
|
97 | 99 |
} else if (s.equals("DXF_SELECTED")) { |
98 | 100 |
createDxf(mapa); |
101 |
((ProjectDocument)vista.getModel()).setModified(true); |
|
99 | 102 |
} else if (s.equals("ZOOM_SELECT")) { |
100 | 103 |
Rectangle2D selectedExtent = mapa.getSelectionBounds(); |
101 | 104 |
|
102 | 105 |
if (selectedExtent != null) { |
103 | 106 |
mapa.getViewPort().setExtent(selectedExtent); |
107 |
((ProjectDocument)vista.getModel()).setModified(true); |
|
104 | 108 |
} |
105 | 109 |
} |
106 | 110 |
} |
Also available in: Unified diff