Statistics
| Revision:

root / trunk / applications / appCatalogAndGazetteerClient / src / es / gva / cit / catalog / ui / showtree / ShowTreeDialog.java @ 15558

History | View | Annotate | Download (3.82 KB)

1

    
2
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
3
*
4
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
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 2
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., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
19
*
20
* For more information, contact:
21
*
22
*  Generalitat Valenciana
23
*   Conselleria d'Infraestructures i Transport
24
*   Av. Blasco Ib??ez, 50
25
*   46010 VALENCIA
26
*   SPAIN
27
*
28
*      +34 963862235
29
*   gvsig@gva.es
30
*      www.gvsig.gva.es
31
*
32
*    or
33
*
34
*   IVER T.I. S.A
35
*   Salamanca 50
36
*   46005 Valencia
37
*   Spain
38
*
39
*   +34 963163400
40
*   dac@iver.es
41
*/
42
package es.gva.cit.catalog.ui.showtree;
43
import java.awt.event.WindowEvent;
44
import java.awt.event.WindowListener;
45

    
46
import javax.swing.JDialog;
47

    
48
import es.gva.cit.catalog.metadataxml.XMLNode;
49
import es.gva.cit.catalog.utils.Frames;
50

    
51
/**
52
 * 
53
 * 
54
 * 
55
 * @author Jorge Piera Llodra (piera_jor@gva.es)
56
 */
57
public class ShowTreeDialog extends JDialog implements WindowListener {
58

    
59
/**
60
 * 
61
 * 
62
 */
63
    int currentNode;
64

    
65
/**
66
 * 
67
 * 
68
 * 
69
 * @param node 
70
 */
71
    public  ShowTreeDialog(XMLNode node) {        
72
        super();
73
        initialize(node);
74
    } 
75

    
76
/**
77
 * This method initializes jDialog
78
 * 
79
 * 
80
 * @param node 
81
 */
82
    private void initialize(es.gva.cit.catalog.metadataxml.XMLNode node) {        
83
        Frames.centerFrame(this,800,675);
84
        this.setTitle("Cliente de Cat?logo");
85
        ShowTreeDialogPanel panel = new ShowTreeDialogPanel(node);
86
        panel.setParent(this);
87
        getContentPane().add(panel);
88
        
89
        this.setVisible(true);
90
    } 
91
/* (non-Javadoc)
92
     * @see java.awt.event.WindowListener#windowActivated(java.awt.event.WindowEvent)
93
     */
94

    
95
/**
96
 * 
97
 * 
98
 * 
99
 * @param e 
100
 */
101
    public void windowActivated(WindowEvent e) {        
102
        // TODO Auto-generated method stub
103
    } 
104
/* (non-Javadoc)
105
     * @see java.awt.event.WindowListener#windowClosed(java.awt.event.WindowEvent)
106
     */
107

    
108
/**
109
 * 
110
 * 
111
 * 
112
 * @param e 
113
 */
114
    public void windowClosed(WindowEvent e) {        
115
        // TODO Auto-generated method stub
116
    } 
117
/* (non-Javadoc)
118
     * @see java.awt.event.WindowListener#windowClosing(java.awt.event.WindowEvent)
119
     */
120

    
121
/**
122
 * 
123
 * 
124
 * 
125
 * @param e 
126
 */
127
    public void windowClosing(WindowEvent e) {        
128
        // TODO Auto-generated method stub
129
    } 
130
/* (non-Javadoc)
131
     * @see java.awt.event.WindowListener#windowDeactivated(java.awt.event.WindowEvent)
132
     */
133

    
134
/**
135
 * 
136
 * 
137
 * 
138
 * @param e 
139
 */
140
    public void windowDeactivated(WindowEvent e) {        
141
        // TODO Auto-generated method stub
142
    } 
143
/* (non-Javadoc)
144
     * @see java.awt.event.WindowListener#windowDeiconified(java.awt.event.WindowEvent)
145
     */
146

    
147
/**
148
 * 
149
 * 
150
 * 
151
 * @param e 
152
 */
153
    public void windowDeiconified(WindowEvent e) {        
154
        // TODO Auto-generated method stub
155
    } 
156
/* (non-Javadoc)
157
     * @see java.awt.event.WindowListener#windowIconified(java.awt.event.WindowEvent)
158
     */
159

    
160
/**
161
 * 
162
 * 
163
 * 
164
 * @param e 
165
 */
166
    public void windowIconified(WindowEvent e) {        
167
        // TODO Auto-generated method stub
168
    } 
169
/* (non-Javadoc)
170
     * @see java.awt.event.WindowListener#windowOpened(java.awt.event.WindowEvent)
171
     */
172

    
173
/**
174
 * 
175
 * 
176
 * 
177
 * @param e 
178
 */
179
    public void windowOpened(WindowEvent e) {        
180
        // TODO Auto-generated method stub
181
    } 
182
 }