Revision 18216 trunk/extensions/extRasterTools-SE/src/org/gvsig/rastertools/georeferencing/view/ZoomMapDialog.java

View differences:

ZoomMapDialog.java
26 26

  
27 27
import javax.swing.JPanel;
28 28

  
29
import org.gvsig.rastertools.georeferencing.ui.zoom.CenterPointGraphicLayer;
30
import org.gvsig.rastertools.georeferencing.ui.zoom.GPGraphic;
31
import org.gvsig.rastertools.georeferencing.ui.zoom.ZoomControl;
29
import org.gvsig.rastertools.georeferencing.ui.zoom.ViewControl;
30
import org.gvsig.rastertools.georeferencing.ui.zoom.layers.CenterPointGraphicLayer;
31
import org.gvsig.rastertools.georeferencing.ui.zoom.layers.GPGraphic;
32 32

  
33 33
import com.iver.andami.PluginServices;
34 34
import com.iver.andami.ui.mdiManager.IWindow;
......
42 42
 */
43 43
public class ZoomMapDialog extends JPanel implements IWindow {
44 44
	private static final long         serialVersionUID = 1L;
45
	private ZoomControl               zoomMapControl = null;
45
	private ViewControl               zoomMapControl = null;
46 46
	private CenterPointGraphicLayer   mapGraphicLayer = null;
47 47

  
48 48
	private int                       w = 320;
......
102 102
	 * Obtiene el panel de control de zoom de coordenadas de mapa
103 103
	 * @return
104 104
	 */
105
	public ZoomControl getZoomMapControl() {
105
	public ViewControl getZoomMapControl() {
106 106
		if(zoomMapControl == null) {
107
			zoomMapControl = new ZoomControl(ZoomControl.RIGHT_CONTROL);
108
			zoomMapControl.hideButton(ZoomControl.PREV_ZOOM);
109
			zoomMapControl.hideButton(ZoomControl.FULL_VIEW);
110
			zoomMapControl.hideButton(ZoomControl.SELECT_ZOOM_AREA);
107
			zoomMapControl = new ViewControl(ViewControl.RIGHT_CONTROL);
108
			zoomMapControl.hideButton(ViewControl.PREV_ZOOM);
109
			zoomMapControl.hideButton(ViewControl.FULL_VIEW);
110
			zoomMapControl.hideButton(ViewControl.SELECT_ZOOM_AREA);
111 111
		}
112 112
		return zoomMapControl;
113 113
	}

Also available in: Unified diff