root / trunk / extensions / extRasterTools-SE / src / org / gvsig / rastertools / saveraster / ui / properties / WriterPropertiesDialog.java @ 11337
History | View | Annotate | Download (2.05 KB)
1 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
---|---|
2 |
*
|
3 |
* Copyright (C) 2007 IVER T.I. and Generalitat Valenciana.
|
4 |
*
|
5 |
* This program is free software; you can redistribute it and/or
|
6 |
* modify it under the terms of the GNU General Public License
|
7 |
* as published by the Free Software Foundation; either version 2
|
8 |
* of the License, or (at your option) any later version.
|
9 |
*
|
10 |
* This program is distributed in the hope that it will be useful,
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13 |
* GNU General Public License for more details.
|
14 |
*
|
15 |
* You should have received a copy of the GNU General Public License
|
16 |
* along with this program; if not, write to the Free Software
|
17 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
18 |
*/
|
19 |
package org.gvsig.rastertools.saveraster.ui.properties; |
20 |
|
21 |
import org.gvsig.gui.beans.propertiespanel.PropertiesPanel; |
22 |
import org.gvsig.raster.dataset.WriterParams; |
23 |
import org.gvsig.rastertools.saveraster.ui.listener.WriterPropertiesListener; |
24 |
|
25 |
import com.iver.andami.PluginServices; |
26 |
import com.iver.andami.ui.mdiManager.IWindow; |
27 |
import com.iver.andami.ui.mdiManager.WindowInfo; |
28 |
|
29 |
/**
|
30 |
* Ventana para el dialogo de propiedades del driver de escritura.
|
31 |
*
|
32 |
* @version 24/04/2007
|
33 |
* @author Nacho Brodin (nachobrodin@gmail.com)
|
34 |
*
|
35 |
*/
|
36 |
public class WriterPropertiesDialog implements IWindow { |
37 |
|
38 |
private PropertiesPanel pd = null; |
39 |
private WriterPropertiesListener listener = null; |
40 |
|
41 |
/**
|
42 |
* Constructor. Asigna el panel de propiedades.
|
43 |
* @param pd PropertiesDialog
|
44 |
*/
|
45 |
public WriterPropertiesDialog(PropertiesPanel pd, WriterParams params) {
|
46 |
this.pd = pd;
|
47 |
listener = new WriterPropertiesListener(this, params); |
48 |
pd.addButtonPressedListener(listener); |
49 |
} |
50 |
|
51 |
/*
|
52 |
* (non-Javadoc)
|
53 |
* @see com.iver.andami.ui.mdiManager.IWindow#getWindowInfo()
|
54 |
*/
|
55 |
public WindowInfo getWindowInfo() {
|
56 |
WindowInfo m_viewinfo=new WindowInfo(WindowInfo.MODALDIALOG);
|
57 |
m_viewinfo.setTitle(PluginServices.getText(this, "properties")); |
58 |
return m_viewinfo;
|
59 |
} |
60 |
|
61 |
} |