Revision 12202 branches/F2/extensions/extJCRS/src/org/gvsig/crs/gui/panels/NewCRSPanel.java

View differences:

NewCRSPanel.java
137 137
			infoCrs.setText(PluginServices.getText(this,"infocrs"));			
138 138
			infoCrs.setMnemonic('I');
139 139
			infoCrs.setToolTipText(PluginServices.getText(this,"more_info"));
140
			infoCrs.addActionListener(this);
140 141
			
141 142
		}
142 143
		return infoCrs;
......
342 343
			getSearchTextField().setText("");
343 344
		}else if (e.getSource().equals(getNameRadioButton())){
344 345
			getSearchTextField().setText("");
345
		}else if (e.getSource().equals(getInfoCrs())){
346
			//abrir el panel de informacion 
347
			
348 346
		}else if (e.getSource().equals(getBtnEditar())){
349 347
			//editar la fila seleccionada de la tabla (si hay)
350 348
			ICrs crs = null;
......
420 418
			else {
421 419
				searchButton();
422 420
			}
421
		}		
422
		/*Si el objeto que genera el evento es el JButton 'InfoCrs'
423
		se muestra la informacin ralicionada con el Crs seleccionado en la tabla*/
424
		if (e.getSource().equals(getInfoCrs())) {
425
			InfoCRSPanel info = new InfoCRSPanel("USR", getCodeCRS());
426
			PluginServices.getMDIManager().addWindow(info);
423 427
		}
424 428
	}
425 429
	public void keyPressed(KeyEvent e) {

Also available in: Unified diff