Revision 4336 trunk/extensions/extCatalogYNomenclator/src/es/gva/cit/gvsig/gazetteer/GazetteerModule.java
GazetteerModule.java | ||
---|---|---|
51 | 51 |
import com.iver.utiles.swing.jcomboServer.ServerData; |
52 | 52 |
|
53 | 53 |
import es.gva.cit.gvsig.gazetteer.gui.ConnectDialog; |
54 |
import es.gva.cit.gvsig.gazetteer.loaders.FeatureLoader; |
|
54 | 55 |
|
55 | 56 |
|
56 | 57 |
/** |
... | ... | |
73 | 74 |
* @see com.iver.andami.plugins.Extension#execute(java.lang.String) |
74 | 75 |
*/ |
75 | 76 |
public void execute(String actionCommand) { |
76 |
actionConnectDialogStart(); |
|
77 |
if (actionCommand.compareTo("DELETE") == 0){ |
|
78 |
FeatureLoader.deteleAllFeatures(); |
|
79 |
}else if (actionCommand.compareTo("GAZETTEER") == 0){ |
|
80 |
actionConnectDialogStart(); |
|
81 |
} |
|
77 | 82 |
|
78 | 83 |
} |
79 | 84 |
|
85 |
/** |
|
86 |
* |
|
87 |
* |
|
88 |
*/ |
|
80 | 89 |
private void actionConnectDialogStart() { |
81 | 90 |
System.out.println("Bot?n de Gazeteer pulsado"); |
82 | 91 |
restoreServerList(); |
Also available in: Unified diff