Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.plugin / org.gvsig.app / org.gvsig.app.mainplugin / src / main / java / org / gvsig / app / project / documents / view / info / gui / FInfoDialogXML.java @ 40596

History | View | Annotate | Download (2.37 KB)

1
/**
2
 * gvSIG. Desktop Geographic Information System.
3
 *
4
 * Copyright (C) 2007-2013 gvSIG Association.
5
 *
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 3
9
 * of the License, or (at your option) any later version.
10
 *
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU General Public License
17
 * along with this program; if not, write to the Free Software
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
 * MA  02110-1301, USA.
20
 *
21
 * For any additional information, do not hesitate to contact us
22
 * at info AT gvsig.com, or visit our website www.gvsig.com.
23
 */
24

    
25
package org.gvsig.app.project.documents.view.info.gui;
26

    
27
import org.gvsig.andami.PluginServices;
28
import org.gvsig.andami.ui.mdiManager.IWindow;
29
import org.gvsig.andami.ui.mdiManager.WindowInfo;
30
import org.gvsig.utils.xmlViewer.XMLViewer;
31

    
32

    
33

    
34
/**
35
 * Di?logo utilizado para mostrar la infromaci?n.
36
 *
37
 * @author fernando To change the template for this generated type comment go
38
 *                    to Window>Preferences>Java>Code Generation>Code and
39
 *                    Comments
40
 */
41
public class FInfoDialogXML extends XMLViewer implements IWindow {
42

    
43

    
44
        public FInfoDialogXML(){
45
                super();
46
                setNamesColumn(new String[]{PluginServices.getText(this, "Atributo"), PluginServices.getText(this, "Valor")});
47
                setSize(500, 375);
48
        }
49
        /**
50
         * @see com.iver.mdiApp.ui.MDIManager.IWindow#windowActivated()
51
         */
52
        public void viewActivated() {
53
        }
54

    
55
        /* (non-Javadoc)
56
         * @see com.iver.mdiApp.ui.MDIManager.View#getViewInfo()
57
         */
58
        public WindowInfo getWindowInfo() {
59
                WindowInfo m_viewinfo = new WindowInfo(WindowInfo.MODELESSDIALOG |
60
                                WindowInfo.RESIZABLE | WindowInfo.PALETTE);
61
                m_viewinfo.setWidth(getWidth()+8);
62
                m_viewinfo.setHeight(getHeight());
63
                m_viewinfo.setTitle(PluginServices.getText(this,
64
                                "Identificar_Resultados"));
65

    
66
                return m_viewinfo;
67
        }
68

    
69
        /**
70
         * @see com.iver.mdiApp.ui.MDIManager.SingletonWindow#getWindowModel()
71
         */
72
        public Object getViewModel() {
73
                return "FInfoDialogXML";
74
        }
75
        public Object getWindowProfile() {
76
                return WindowInfo.PROPERTIES_PROFILE;
77
        }
78
}