Revision 4584 trunk/extensions/extCAD/src/com/iver/cit/gvsig/StopEditingToShp.java
StopEditingToShp.java | ||
---|---|---|
83 | 83 |
public void stopEditing(FLyrVect layer,MapControl mapControl) { |
84 | 84 |
try { |
85 | 85 |
JFileChooser jfc = new JFileChooser(); |
86 |
SimpleFileFilter filterShp = new SimpleFileFilter("shp", "Ficheros .shp");
|
|
86 |
SimpleFileFilter filterShp = new SimpleFileFilter("shp", PluginServices.getText(this,"shp_files"));
|
|
87 | 87 |
jfc.setFileFilter(filterShp); |
88 | 88 |
if (jfc.showSaveDialog((Component) PluginServices.getMainFrame()) == JFileChooser.APPROVE_OPTION) { |
89 | 89 |
File newFile = jfc.getSelectedFile(); |
... | ... | |
101 | 101 |
|
102 | 102 |
vea.stopEdition(writer); |
103 | 103 |
vea.getCommandRecord().removeCommandListener(mapControl); |
104 |
|
|
104 |
|
|
105 | 105 |
layer.setEditing(false); |
106 | 106 |
vista.hideConsole(); |
107 | 107 |
} |
Also available in: Unified diff