Revision 6630 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/ViewControls.java

View differences:

ViewControls.java
60 60
import com.iver.cit.gvsig.gui.FPanelExtentSelector;
61 61
import com.iver.cit.gvsig.gui.FPanelLocConfig;
62 62
import com.iver.cit.gvsig.gui.View;
63
import com.iver.cit.gvsig.gui.selectionByTheme.DefaultSelectionByThemeModel;
64
import com.iver.cit.gvsig.gui.selectionByTheme.MySelectionByThemeListener;
65
import com.iver.cit.gvsig.gui.selectionByTheme.SelectionByTheme;
66 63
import com.iver.cit.gvsig.project.Project;
67 64
import com.iver.cit.gvsig.project.ProjectView;
68 65

  
......
70 67
//import com.iver.utiles.FPanelExtentSelector;
71 68

  
72 69
/**
73
 * Extensi?n que controla las operaciones basicas realizadas sobre la vista.
70
 * Extensi?n que controla las operaciones b?sicas realizadas sobre la vista.
74 71
 *
75 72
 * @author vcn
76 73
 */
......
139 136
			mapCtrl.zoomIn();
140 137
		} else if (s.equals("ACTION_ZOOM_OUT") ) {
141 138
			mapCtrl.zoomOut();
139
		} else if (s.startsWith("CHANGE_SCALE_")){
140
			String scl=s.replaceAll("CHANGE_SCALE_","");
141
			long scale=Long.parseLong(scl);
142
			mapa.setScaleView(scale);
142 143
		}
143 144
	}
144 145

  
......
185 186
			FMap mapa = model.getMapContext();
186 187

  
187 188
			return mapa.getLayers().getLayersCount() > 0;
188
		} else {
189
		}
189 190
			return false;
190
		}
191 191
	}
192 192

  
193 193
	/**

Also available in: Unified diff