svn-gvsig-desktop / tags / v1_1_Build_1007 / extensions / extRasterTools / src / org / gvsig / rasterTools / saveRaster / ui / info / EndInfoDialog.java @ 12478
History | View | Annotate | Download (1.53 KB)
1 | 4547 | nacho | 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 | 6877 | cesar | import com.iver.andami.ui.mdiManager.IWindow; |
8 | 6880 | cesar | import com.iver.andami.ui.mdiManager.WindowInfo; |
9 | 8765 | jjdelcerro | import com.iver.cit.gvsig.project.documents.gui.FOpenDialog; |
10 | 4547 | nacho | |
11 | 6877 | cesar | public class EndInfoDialog extends EndInfoPanel implements IWindow, ActionListener{ |
12 | 4547 | nacho | |
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 | 6880 | cesar | * @see com.iver.mdiApp.ui.MDIManager.IWindow#getWindowInfo()
|
40 | 4547 | nacho | */
|
41 | 6880 | cesar | public WindowInfo getWindowInfo() {
|
42 | WindowInfo m_viewinfo=new WindowInfo(WindowInfo.MODALDIALOG);
|
||
43 | 4547 | nacho | m_viewinfo.setTitle(PluginServices.getText(this, "endinfo")); |
44 | return m_viewinfo;
|
||
45 | } |
||
46 | |||
47 | public void actionPerformed(ActionEvent e) { |
||
48 | 6880 | cesar | PluginServices.getMDIManager().closeWindow(this);
|
49 | 4547 | nacho | } |
50 | } |
||
51 |