Statistics
| Revision:

svn-gvsig-desktop / tags / v1_0_2_Build_907 / extensions / extRasterTools / src / org / gvsig / rasterTools / saveRaster / ui / info / EndInfoDialog.java @ 11015

History | View | Annotate | Download (1.53 KB)

1
package org.gvsig.rasterTools.saveRaster.ui.info;
2

    
3
import java.awt.event.ActionEvent;
4
import java.awt.event.ActionListener;
5

    
6
import com.iver.andami.PluginServices;
7
import com.iver.andami.ui.mdiManager.IWindow;
8
import com.iver.andami.ui.mdiManager.WindowInfo;
9
import com.iver.cit.gvsig.project.documents.gui.FOpenDialog;
10

    
11
public class EndInfoDialog extends EndInfoPanel implements IWindow, ActionListener{
12
        
13
        /**
14
         * Contructor 
15
         * @param mapCtrl                        MapControl
16
         * @param layers                        Capas a rasterizar
17
         * @param currentProjection        Proyecci?n 
18
         * @param dimension                        Dimensi?n del marco en pixeles
19
         * @param ext                                Extend de las capas a rasterizar
20
         */
21
        public EndInfoDialog(        ){
22
                super();
23
                this.setSize(492, 140);
24
                this.getBAccept().addActionListener(this);
25
                this.setTranslation();
26
        }
27
        
28
        /**
29
         * Asigna los textos a los paneles en el idioma seleccionado
30
         */        
31
        private void setTranslation(){
32
                this.getLFileNameTag().setText(PluginServices.getText(this,"file")+":");
33
                this.getLSizeTag().setText(PluginServices.getText(this,"size")+":");
34
                this.getLTimeTag().setText(PluginServices.getText(this,"time")+":");
35
                this.getLCompressTag().setText(PluginServices.getText(this,"compress")+":");
36
        }
37
                        
38
        /**
39
         * @see com.iver.mdiApp.ui.MDIManager.IWindow#getWindowInfo()
40
         */
41
        public WindowInfo getWindowInfo() {
42
                WindowInfo m_viewinfo=new WindowInfo(WindowInfo.MODALDIALOG);
43
                    m_viewinfo.setTitle(PluginServices.getText(this, "endinfo"));
44
                return m_viewinfo;
45
        }
46

    
47
        public void actionPerformed(ActionEvent e) {
48
                PluginServices.getMDIManager().closeWindow(this);
49
        }
50
}
51

    
52