Revision 3011 trunk/extensions/extGeoreferencing/src/com/iver/cit/gvsig/gui/Panels/SelectPointsPanel.java

View differences:

SelectPointsPanel.java
249 249
	/**
250 250
	 * Esta funci?n resetea los controles del panel de info de un punto.
251 251
	 */
252
	private void resetControls(boolean active){
252
	public void resetControls(boolean active){
253 253
		getTX().setText("");
254 254
		getTY().setText("");
255 255
		getLatitud().setText("");
......
290 290
	/**
291 291
	 * Limpia la lista de puntos y borra el dialogo.
292 292
	 */
293
	private void clearList(){
293
	public void clearList(){
294 294
		loadLyrPoint();
295 295
		lyrPoints.clear();
296 296
		resetControls(false);
......
828 828
	 */
829 829
	public void loadFromLyrPoints(FLyrPoints lyr){
830 830
		if(lyr != null){
831
			System.out.println("......"+lyr.getName());
832
			lyr.showPoints();
833 831
			lyr.clean();
834
			lyrPoints = lyr;
832
			lyrPoints = new FLyrPoints();
833
			lyrPoints.setListPoint(lyr.getListPoint());
834
			
835 835
			View theView = (View) PluginServices.getMDIManager().getActiveView();
836 836
			theView.getMapControl().getMapContext().beginAtomicEvent();
837 837
			theView.getMapControl().getMapContext().getLayers().addLayer(lyr);

Also available in: Unified diff