Statistics
| Revision:

root / trunk / extensions / extPublish / src / com / iver / cit / gvsig / publish / gui / panelServices / LayersWindow.java @ 8969

History | View | Annotate | Download (2.46 KB)

1
package com.iver.cit.gvsig.publish.gui.panelServices;
2

    
3
import com.iver.andami.PluginServices;
4
import com.iver.andami.ui.mdiManager.IWindow;
5
import com.iver.andami.ui.mdiManager.WindowInfo;
6
import com.iver.cit.gvsig.publish.gui.listeners.AttributesLayerWindowListener;
7
import com.iver.cit.gvsig.publish.gui.listeners.OptionsServerWindowListener;
8

    
9
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
10
 *
11
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
12
 *
13
 * This program is free software; you can redistribute it and/or
14
 * modify it under the terms of the GNU General Public License
15
 * as published by the Free Software Foundation; either version 2
16
 * of the License, or (at your option) any later version.
17
 *
18
 * This program is distributed in the hope that it will be useful,
19
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
 * GNU General Public License for more details.
22
 *
23
 * You should have received a copy of the GNU General Public License
24
 * along with this program; if not, write to the Free Software
25
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
26
 *
27
 * For more information, contact:
28
 *
29
 *  Generalitat Valenciana
30
 *   Conselleria d'Infraestructures i Transport
31
 *   Av. Blasco Ib??ez, 50
32
 *   46010 VALENCIA
33
 *   SPAIN
34
 *
35
 *      +34 963862235
36
 *   gvsig@gva.es
37
 *      www.gvsig.gva.es
38
 *
39
 *    or
40
 *
41
 *   IVER T.I. S.A
42
 *   Salamanca 50
43
 *   46005 Valencia
44
 *   Spain
45
 *
46
 *   +34 963163400
47
 *   dac@iver.es
48
 */
49
/* CVS MESSAGES:
50
 *
51
 * $Id: LayersWindow.java 8969 2006-11-22 15:57:03Z jorpiell $
52
 * $Log$
53
 * Revision 1.1  2006-11-22 15:57:03  jorpiell
54
 * Se ha ajustado el interfaz de usuario
55
 *
56
 * Revision 1.1  2006/11/17 13:43:45  jorpiell
57
 * A?adido el nuevo panel donde se muestran las capas
58
 *
59
 *
60
 */
61
/**
62
 * @author Jorge Piera Llodr? (piera_jor@gva.es)
63
 */
64
public class LayersWindow extends LayersControlsPanel implements IWindow {
65
        private WindowInfo m_windowInfo = null;
66
        private IWindow lastWindow = null;
67
        private IWindow nextWindow = null;        
68

    
69
        public LayersWindow(IWindow lastWindow) {
70
                super();        
71
                this.lastWindow = lastWindow;        
72
                addButtonsListener(new AttributesLayerWindowListener(lastWindow,null,this));
73
        }        
74

    
75
        public WindowInfo getWindowInfo() {
76
                if (m_windowInfo == null){
77
                        m_windowInfo = new WindowInfo(WindowInfo.MODALDIALOG);
78
                        m_windowInfo.setTitle(PluginServices.getText(this,"layer_attibutes"));                
79
                        m_windowInfo.setHeight(200);
80
                        m_windowInfo.setWidth(650);
81
            }
82
                return m_windowInfo;
83
        }
84

    
85

    
86
}