Revision 8151 trunk/libraries/libJCRS/src/org/gvsig/crs/gui/CRSSelectionDialog.java
CRSSelectionDialog.java | ||
---|---|---|
48 | 48 |
|
49 | 49 |
public void initialize(){ |
50 | 50 |
vp = new CRSMainPanel(); |
51 |
vp.getJComboOptions().addItemListener(this); |
|
52 | 51 |
this.add(getContentPanel(), null); |
53 |
listenerTablas(); |
|
54 |
vp.getJButtonAccept().addActionListener(this); |
|
55 |
vp.getJButtonCancel().addActionListener(this); |
|
56 |
vp.esp.getJTextOpen().getDocument().addDocumentListener(this); |
|
52 |
setListeners(); |
|
53 |
vp.rp.loadRecents(); |
|
57 | 54 |
} |
58 | 55 |
|
59 | 56 |
public boolean isOkPressed() { return okPressed; } |
... | ... | |
70 | 67 |
return contentPane; |
71 | 68 |
} |
72 | 69 |
|
73 |
public void listenerTablas(){
|
|
70 |
public void setListeners(){
|
|
74 | 71 |
ListSelectionModel rowSM = vp.ep.getJTable().getSelectionModel(); |
75 | 72 |
rowSM.addListSelectionListener(this); |
76 | 73 |
|
... | ... | |
79 | 76 |
|
80 | 77 |
ListSelectionModel rowSMrecents = vp.rp.getJTable().getSelectionModel(); |
81 | 78 |
rowSMrecents.addListSelectionListener(this); |
79 |
|
|
80 |
vp.getJComboOptions().addItemListener(this); |
|
81 |
vp.getJButtonAccept().addActionListener(this); |
|
82 |
vp.getJButtonCancel().addActionListener(this); |
|
83 |
vp.esp.getJTextOpen().getDocument().addDocumentListener(this); |
|
82 | 84 |
} |
83 | 85 |
|
84 | 86 |
public void setCode(int cod){ |
Also available in: Unified diff