Revision 9848

View differences:

branches/v10/applications/appgvSIG/config/config.xml
188 188
			active="true">
189 189
			<menu text="Vista/propiedades" action-command="PROPERTIES"/>
190 190
		</extension>
191
		<extension class-name="com.iver.cit.gvsig.ThemeControls"
191
		<!--extension class-name="com.iver.cit.gvsig.ThemeControls"
192 192
			description="Extensi?n encargada de gestionar los eventos realizados sobre una capa."
193 193
			active="true">
194
			<!-- <menu text="Capa/shape_seleccion" action-command="SHAPE_SELECTED" icon="images/shapeseleccion.png"/> -->
195
			<!-- menu text="Capa/Exportar selecci?n a DXF" action-command="DXF_SELECTED"/-->
194
			<menu text="Capa/shape_seleccion" action-command="SHAPE_SELECTED" icon="images/shapeseleccion.png"/>
195
			<menu text="Capa/Exportar selecci?n a DXF" action-command="DXF_SELECTED"/>
196 196
			<menu text="Vista/navegacion/Zoom_Select" action-command="ZOOM_SELECT" icon="images/ZoomSeleccion.png"/>
197 197
			<tool-bar name="View_Tools_Zooms" position="3">
198 198
				<action-tool icon="images/ZoomSeleccion.png" action-command="ZOOM_SELECT"  tooltip="Zoom_Select" position="7"/>
199 199
			</tool-bar>
200
		</extension-->
201
		<extension class-name="com.iver.cit.gvsig.ZoomToSelectExtension"
202
			description="Extensi?n encargada de gestionar los eventos realizados sobre una capa."
203
			active="true">
204
			<menu text="Vista/navegacion/Zoom_Select" action-command="ZOOM_SELECT" icon="images/ZoomSeleccion.png"/>
205
			<tool-bar name="View_Tools_Zooms" position="3">
206
				<action-tool icon="images/ZoomSeleccion.png" action-command="ZOOM_SELECT"  tooltip="Zoom_Select" position="7"/>
207
			</tool-bar>
200 208
		</extension>
201 209
		<extension class-name="com.iver.cit.gvsig.ClearSelectionExtension"
202 210
			description="Extensi?n encargada de limpiar la selecci?n."
......
597 605
			<menu text="Ventana/restore_palette" action-command="RESTORE"
598 606
				position="11"/>
599 607
		</extension>
600
		<!--extension class-name="com.iver.cit.gvsig.FFrameGroupExtension"
601
			description="Extensi?n encargada de controlar un FFrameTable."
602
			active="true">
603
			<menu text="Mapa/no_editar_grupo" action-command="NOEDITGROUP"/>
604
			<menu text="Mapa/unir_celdas" action-command="JOIN"/>
605
			<menu text="Mapa/editar_grupo" action-command="EDITGROUP"/>
606
		</extension-->
607 608
		<extension class-name="com.iver.cit.gvsig.FFrameLegendExtension"
608 609
			description="Extensi?n encargada de controlar un FFrameLegend."
609 610
			active="true">
branches/v10/applications/appgvSIG/src/com/iver/cit/gvsig/ZoomToSelectExtension.java
55 55
import com.iver.cit.gvsig.fmap.MapContext;
56 56
import com.iver.cit.gvsig.fmap.layers.FLayer;
57 57
import com.iver.cit.gvsig.fmap.layers.FLyrVect;
58
import com.iver.cit.gvsig.project.documents.ProjectDocument;
59 58
import com.iver.cit.gvsig.project.documents.table.gui.Table;
60 59
import com.iver.cit.gvsig.project.documents.view.IProjectView;
61 60
import com.iver.cit.gvsig.project.documents.view.gui.View;
......
81 80

  
82 81
			if (selectedExtent != null) {
83 82
				mapa.getViewPort().setExtent(selectedExtent);
84
				((ProjectDocument)vista.getModel()).setModified(true);
85 83
			}
86 84
		}else if (f instanceof Table) {
87 85
			Table table=(Table)f;
......
90 88

  
91 89
			if (selectedExtent != null) {
92 90
				mapa.getViewPort().setExtent(selectedExtent);
93
				table.getModel().setModified(true);
94 91
			}
95 92
		}
96 93
	}

Also available in: Unified diff