Revision 9240 trunk/libraries/libJCRS/src/org/gvsig/crs/gui/panels/TransformationRecentsPanel.java
TransformationRecentsPanel.java | ||
---|---|---|
72 | 72 |
* @author Jos? Luis G?mez Mart?nez (jolugomar@gmail.com) |
73 | 73 |
* |
74 | 74 |
*/ |
75 |
public class TransformationRecentsPanel extends JPanel implements ActionListener{
|
|
75 |
public class TransformationRecentsPanel extends JPanel { |
|
76 | 76 |
|
77 | 77 |
int code = 0; |
78 | 78 |
private JTable transformationTable; |
... | ... | |
183 | 183 |
public JButton getJButtonInfo() { |
184 | 184 |
if(JButtonInfo == null) { |
185 | 185 |
JButtonInfo = new JButton(); |
186 |
JButtonInfo.setPreferredSize(new Dimension(100,20));
|
|
187 |
JButtonInfo.setText(PluginServices.getText(this,"info_transformation")); |
|
186 |
JButtonInfo.setPreferredSize(new Dimension(200,20));
|
|
187 |
JButtonInfo.setText(PluginServices.getText(this,"info_transformations"));
|
|
188 | 188 |
JButtonInfo.setMnemonic('I'); |
189 | 189 |
JButtonInfo.setEnabled(true); |
190 | 190 |
JButtonInfo.setToolTipText("Mostrar la informacion de la transformacion selecionada"); |
191 |
JButtonInfo.addActionListener(this); |
|
192 | 191 |
} |
193 | 192 |
return JButtonInfo; |
194 | 193 |
} |
... | ... | |
306 | 305 |
public int getEPSGTrCode(){ |
307 | 306 |
return EPSGTrCode; |
308 | 307 |
} |
309 |
|
|
310 |
public void actionPerformed(ActionEvent e) { |
|
311 |
// TODO Auto-generated method stub |
|
312 |
if (e.getSource() == getJButtonInfo()) { |
|
313 |
InfoTransformationsRecentsPanel info = new InfoTransformationsRecentsPanel(); |
|
314 |
info.setSize(new Dimension(550,350)); |
|
315 |
info.setLayout(new GridLayout(0,1)); |
|
316 |
info.setLayout(new FlowLayout(FlowLayout.LEFT,10,5)); |
|
317 |
PluginServices.getMDIManager().addWindow(info); |
|
318 |
} |
|
319 |
} |
|
320 | 308 |
|
321 | 309 |
/** |
322 | 310 |
* Carga en la tabla los CRSs leidos del sistema de persistencia. |
Also available in: Unified diff