Revision 4216 trunk/extensions/extRasterTools/src/com/iver/cit/gvsig/rasterTools/saveRaster/gui/ProgressSaveRasterDialog.java
ProgressSaveRasterDialog.java | ||
---|---|---|
51 | 51 |
|
52 | 52 |
import org.cresques.cts.IProjection; |
53 | 53 |
import org.cresques.io.GeoRasterWriter; |
54 |
import org.cresques.ui.raster.ProgressSaveRasterPanel; |
|
55 | 54 |
|
56 | 55 |
import com.iver.andami.PluginServices; |
57 | 56 |
import com.iver.andami.ui.mdiManager.View; |
... | ... | |
61 | 60 |
import com.iver.cit.gvsig.fmap.layers.FLayers; |
62 | 61 |
import com.iver.cit.gvsig.fmap.rasterTools.saveRaster.operations.SaveRasterThread; |
63 | 62 |
import com.iver.cit.gvsig.rasterTools.saveRaster.gui.SaveRasterDialog.DriverProperties; |
63 |
import com.iver.cit.gvsig.rasterTools.saveRaster.gui.toolListeners.ProgressBarListener; |
|
64 | 64 |
|
65 | 65 |
/** |
66 | 66 |
* @author Nacho Brodin <brodin_ign@gva.es> |
67 | 67 |
*/ |
68 | 68 |
public class ProgressSaveRasterDialog extends ProgressSaveRasterPanel implements View{ |
69 |
|
|
70 |
|
|
71 | 69 |
private ViewPort vp = null; |
72 | 70 |
private SaveRasterThread threadSave = null; |
71 |
private ProgressBarListener progressBarListener = null; |
|
73 | 72 |
|
74 | 73 |
|
75 | 74 |
|
... | ... | |
92 | 91 |
vp.setBackColor(mapCtrl.getViewPort().getBackColor()); |
93 | 92 |
vp.setImageSize(dimension); |
94 | 93 |
vp.setExtent(ext); |
95 |
|
|
94 |
|
|
96 | 95 |
threadSave = new SaveRasterThread(mapCtrl, layers, dimension, vp, this); |
96 |
progressBarListener = new ProgressBarListener(threadSave, this); |
|
97 | 97 |
} |
98 | 98 |
|
99 | 99 |
/** |
100 | 100 |
* Asigna los textos a los paneles en el idioma seleccionado |
101 | 101 |
*/ |
102 | 102 |
private void setTranslation(){ |
103 |
this.lwait.setText(PluginServices.getText(this,"espere"));
|
|
103 |
this.getLabelWait().setText(PluginServices.getText(this,"espere"));
|
|
104 | 104 |
} |
105 | 105 |
|
106 | 106 |
/** |
Also available in: Unified diff