Revision 12757
branches/CatalogYNomenclator_v1_1_0_1005/applications/appCatalogYNomenclatorClient/src/es/gva/cit/catalogClient/CatalogAP.java | ||
---|---|---|
68 | 68 |
*/ |
69 | 69 |
public static void main(String[] args) { |
70 | 70 |
CatalogClientRegister register = CatalogClientRegister.getInstance(); |
71 |
//register.register(new Z3950CatalogServiceDriver());
|
|
72 |
//register.register(new SRWCatalogServiceDriver());
|
|
71 |
register.register(new Z3950CatalogServiceDriver()); |
|
72 |
register.register(new SRWCatalogServiceDriver()); |
|
73 | 73 |
register.register(new CSWCatalogServiceDriver()); |
74 | 74 |
Messages.addLocale(Locale.getDefault()); |
75 | 75 |
try { |
branches/CatalogYNomenclator_v1_1_0_1005/applications/appCatalogYNomenclatorClient/src/es/gva/cit/catalogClient/ui/serverconnect/ServerConnectPanel.java | ||
---|---|---|
66 | 66 |
private javax.swing.JTextField dataBaseText; |
67 | 67 |
private javax.swing.JScrollPane jScrollPane1; |
68 | 68 |
private javax.swing.JPanel lowerPanel; |
69 |
private javax.swing.JComboBox protocolCombo;
|
|
69 |
protected javax.swing.JComboBox protocolCombo;
|
|
70 | 70 |
private javax.swing.JLabel protocolLabel; |
71 | 71 |
private javax.swing.JPanel protocolPanel; |
72 | 72 |
private javax.swing.JLabel replyLabel; |
branches/CatalogYNomenclator_v1_1_0_1005/applications/appCatalogYNomenclatorClient/src/es/gva/cit/gazetteer/ui/serverconnect/ServerConnectPanel.java | ||
---|---|---|
1 | 1 |
package es.gva.cit.gazetteer.ui.serverconnect; |
2 | 2 |
|
3 |
import es.gva.cit.catalogClient.drivers.ICatalogServiceDriver; |
|
4 |
import es.gva.cit.catalogClient.utils.CatalogClientRegister; |
|
5 |
import es.gva.cit.gazetteer.drivers.IGazetteerServiceDriver; |
|
6 |
import es.gva.cit.gazetteer.utils.GazetteerClientRegister; |
|
3 | 7 |
|
8 |
|
|
4 | 9 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
5 | 10 |
* |
6 | 11 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
... | ... | |
45 | 50 |
* |
46 | 51 |
* $Id$ |
47 | 52 |
* $Log$ |
48 |
* Revision 1.1.2.3 2007-07-13 12:00:35 jorpiell |
|
53 |
* Revision 1.1.2.4 2007-07-24 09:55:31 jorpiell |
|
54 |
* Add the default servers |
|
55 |
* |
|
56 |
* Revision 1.1.2.3 2007/07/13 12:00:35 jorpiell |
|
49 | 57 |
* Add the posibility to add a new panel |
50 | 58 |
* |
51 | 59 |
* Revision 1.1.2.2 2007/07/11 13:01:50 jorpiell |
... | ... | |
65 | 73 |
super(); |
66 | 74 |
setDatabaseVisible(false); |
67 | 75 |
} |
76 |
|
|
77 |
/** |
|
78 |
* Select a concrete protocol |
|
79 |
* @param protocol |
|
80 |
* Protocol to select |
|
81 |
*/ |
|
82 |
public void setProtocol(String protocol){ |
|
83 |
IGazetteerServiceDriver driver = GazetteerClientRegister.getInstance().getDriver(protocol); |
|
84 |
if (driver != null){ |
|
85 |
protocolCombo.setSelectedItem(driver); |
|
86 |
} |
|
87 |
} |
|
68 | 88 |
} |
branches/CatalogYNomenclator_v1_1_0_1005/applications/appCatalogYNomenclatorClient/servers/CatalogServers.txt | ||
---|---|---|
1 |
http://laits.gmu.edu:8099/LAITSCSW202ISO/discovery |
|
1 |
inspire.cop.gva.es:2100 |
Also available in: Unified diff