Statistics
| Revision:

root / branches / v2_0_0_prep / applications / appgvSIG / src / org / gvsig / app / project / documents / view / info / gui / FInfoDialogXML.java @ 29596

History | View | Annotate | Download (2.66 KB)

1
/*
2
 * Created on 13-sep-2004
3
 *
4
 */
5
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
6
 *
7
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
8
 *
9
 * This program is free software; you can redistribute it and/or
10
 * modify it under the terms of the GNU General Public License
11
 * as published by the Free Software Foundation; either version 2
12
 * of the License, or (at your option) any later version.
13
 *
14
 * This program is distributed in the hope that it will be useful,
15
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
 * GNU General Public License for more details.
18
 *
19
 * You should have received a copy of the GNU General Public License
20
 * along with this program; if not, write to the Free Software
21
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
22
 *
23
 * For more information, contact:
24
 *
25
 *  Generalitat Valenciana
26
 *   Conselleria d'Infraestructures i Transport
27
 *   Av. Blasco Ib??ez, 50
28
 *   46010 VALENCIA
29
 *   SPAIN
30
 *
31
 *      +34 963862235
32
 *   gvsig@gva.es
33
 *      www.gvsig.gva.es
34
 *
35
 *    or
36
 *
37
 *   IVER T.I. S.A
38
 *   Salamanca 50
39
 *   46005 Valencia
40
 *   Spain
41
 *
42
 *   +34 963163400
43
 *   dac@iver.es
44
 */
45
package org.gvsig.app.project.documents.view.info.gui;
46

    
47
import org.gvsig.andami.PluginServices;
48
import org.gvsig.andami.ui.mdiManager.IWindow;
49
import org.gvsig.andami.ui.mdiManager.WindowInfo;
50
import org.gvsig.utils.xmlViewer.XMLViewer;
51

    
52

    
53

    
54
/**
55
 * Di?logo utilizado para mostrar la infromaci?n.
56
 *
57
 * @author fernando To change the template for this generated type comment go
58
 *                    to Window>Preferences>Java>Code Generation>Code and
59
 *                    Comments
60
 */
61
public class FInfoDialogXML extends XMLViewer implements IWindow {
62

    
63

    
64
        public FInfoDialogXML(){
65
                super();
66
                setNamesColumn(new String[]{PluginServices.getText(this, "Atributo"), PluginServices.getText(this, "Valor")});
67
                setSize(500, 375);
68
        }
69
        /**
70
         * @see com.iver.mdiApp.ui.MDIManager.IWindow#windowActivated()
71
         */
72
        public void viewActivated() {
73
        }
74

    
75
        /* (non-Javadoc)
76
         * @see com.iver.mdiApp.ui.MDIManager.View#getViewInfo()
77
         */
78
        public WindowInfo getWindowInfo() {
79
                WindowInfo m_viewinfo = new WindowInfo(WindowInfo.MODELESSDIALOG |
80
                                WindowInfo.RESIZABLE | WindowInfo.PALETTE);
81
                m_viewinfo.setWidth(getWidth()+8);
82
                m_viewinfo.setHeight(getHeight());
83
                m_viewinfo.setTitle(PluginServices.getText(this,
84
                                "Identificar_Resultados"));
85

    
86
                return m_viewinfo;
87
        }
88

    
89
        /**
90
         * @see com.iver.mdiApp.ui.MDIManager.SingletonWindow#getWindowModel()
91
         */
92
        public Object getViewModel() {
93
                return "FInfoDialogXML";
94
        }
95
        public Object getWindowProfile() {
96
                return WindowInfo.PROPERTIES_PROFILE;
97
        }
98
}