Revision 12202 branches/F2/extensions/extJCRS/src/org/gvsig/crs/gui/panels/CrsRecentsPanel.java
CrsRecentsPanel.java | ||
---|---|---|
182 | 182 |
} |
183 | 183 |
|
184 | 184 |
/** |
185 |
* Inicializa el bot?n que obtiene la informaci?n del CRS
|
|
185 |
* Inicializa el botn que obtiene la informacin del CRS
|
|
186 | 186 |
* @return |
187 | 187 |
*/ |
188 | 188 |
public JButton getInfoCrs() { |
... | ... | |
260 | 260 |
} |
261 | 261 |
|
262 | 262 |
public void actionPerformed(ActionEvent e) { |
263 |
if(e.getSource().equals(getInfoCrs())){ |
|
264 |
//si se pulsa infoCRS..... |
|
263 |
/*Si el objeto que genera el evento es el JButton 'InfoCrs' |
|
264 |
se muestra la informacin ralicionada con el Crs seleccionado en la tabla*/ |
|
265 |
if (e.getSource() == this.getInfoCrs()) { |
|
266 |
String[] aut = getAuthority().split(":"); |
|
267 |
InfoCRSPanel info = new InfoCRSPanel(aut[0], getCodeCRS()); |
|
268 |
PluginServices.getMDIManager().addWindow(info); |
|
265 | 269 |
} |
266 | 270 |
|
267 | 271 |
} |
Also available in: Unified diff