Revision 12733 branches/CatalogYNomenclator_v1_1_0_1005/applications/appCatalogYNomenclatorClient/src/es/gva/cit/catalogClient/ui/showresults/ShowResultsPanel.java
ShowResultsPanel.java | ||
---|---|---|
70 | 70 |
|
71 | 71 |
import es.gva.cit.catalogClient.CatalogClient; |
72 | 72 |
import es.gva.cit.catalogClient.metadataxml.XMLNode; |
73 |
import es.gva.cit.catalogClient.schemas.discoverer.DiscovererFormat; |
|
74 |
import es.gva.cit.catalogClient.schemas.discoverer.Record; |
|
73 |
import es.gva.cit.catalogClient.schemas.records.Record; |
|
75 | 74 |
|
76 | 75 |
/** |
77 | 76 |
* |
... | ... | |
101 | 100 |
private JButton lastButton = null; |
102 | 101 |
private JLabel textLabel = null; |
103 | 102 |
private JButton nextButton = null; |
104 |
private int numRecords; |
|
105 |
private DiscovererFormat discoverer = null; |
|
103 |
private int numRecords; |
|
106 | 104 |
private JButton closeButton = null; |
107 | 105 |
|
108 | 106 |
/** |
... | ... | |
120 | 118 |
super(); |
121 | 119 |
this.client = client; |
122 | 120 |
this.record = record; |
123 |
this.numRecords = numRecords; |
|
124 |
discoverer = new DiscovererFormat(client); |
|
121 |
this.numRecords = numRecords; |
|
125 | 122 |
initialize(); |
126 | 123 |
} |
127 | 124 |
|
... | ... | |
335 | 332 |
* @param protocol |
336 | 333 |
*/ |
337 | 334 |
public void loadTextNewRecord(Record record, CatalogClient client) { |
338 |
setTags(discoverer.DiscoverAndParse(record.getNode()));
|
|
335 |
setTags(record);
|
|
339 | 336 |
|
340 | 337 |
descriptionArea.setText(this.getHtml()); |
341 | 338 |
descriptionArea.setCaretPosition(0); |
Also available in: Unified diff