svn-gvsig-desktop / trunk / applications / appCatalogYNomenclatorClient / src / es / gva / cit / catalogClient / ui / showTree / ShowTreeDialog.java @ 3613
History | View | Annotate | Download (3.93 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.catalogClient.ui.showTree; |
43 |
import es.gva.cit.catalogClient.metadataXML.XMLNode; |
44 |
import es.gva.cit.catalogClient.traductor.WithOutAndamiTranslator; |
45 |
import es.gva.cit.catalogClient.utils.Frames; |
46 |
import java.awt.event.WindowEvent; |
47 |
import java.awt.event.WindowListener; |
48 |
import javax.swing.JDialog; |
49 |
|
50 |
/**
|
51 |
*
|
52 |
*
|
53 |
*
|
54 |
* @author Jorge Piera Llodra (piera_jor@gva.es)
|
55 |
*/
|
56 |
public class ShowTreeDialog extends JDialog implements WindowListener { |
57 |
|
58 |
/**
|
59 |
*
|
60 |
*
|
61 |
*/
|
62 |
int currentNode;
|
63 |
|
64 |
/**
|
65 |
*
|
66 |
*
|
67 |
*
|
68 |
* @param node
|
69 |
*/
|
70 |
public ShowTreeDialog(XMLNode node) {
|
71 |
super();
|
72 |
initialize(node); |
73 |
} |
74 |
|
75 |
/**
|
76 |
* This method initializes jDialog
|
77 |
*
|
78 |
*
|
79 |
* @param node
|
80 |
*/
|
81 |
private void initialize(es.gva.cit.catalogClient.metadataXML.XMLNode node) { |
82 |
Frames.centerFrame(this,800,675); |
83 |
this.setTitle("Cliente de Cat?logo"); |
84 |
ShowTreeDialogPanel panel = new ShowTreeDialogPanel(node,new WithOutAndamiTranslator()); |
85 |
panel.setParent(this);
|
86 |
getContentPane().add(panel); |
87 |
|
88 |
this.setVisible(true); |
89 |
} |
90 |
/* (non-Javadoc)
|
91 |
* @see java.awt.event.WindowListener#windowActivated(java.awt.event.WindowEvent)
|
92 |
*/
|
93 |
|
94 |
/**
|
95 |
*
|
96 |
*
|
97 |
*
|
98 |
* @param e
|
99 |
*/
|
100 |
public void windowActivated(WindowEvent e) { |
101 |
// TODO Auto-generated method stub
|
102 |
} |
103 |
/* (non-Javadoc)
|
104 |
* @see java.awt.event.WindowListener#windowClosed(java.awt.event.WindowEvent)
|
105 |
*/
|
106 |
|
107 |
/**
|
108 |
*
|
109 |
*
|
110 |
*
|
111 |
* @param e
|
112 |
*/
|
113 |
public void windowClosed(WindowEvent e) { |
114 |
// TODO Auto-generated method stub
|
115 |
} |
116 |
/* (non-Javadoc)
|
117 |
* @see java.awt.event.WindowListener#windowClosing(java.awt.event.WindowEvent)
|
118 |
*/
|
119 |
|
120 |
/**
|
121 |
*
|
122 |
*
|
123 |
*
|
124 |
* @param e
|
125 |
*/
|
126 |
public void windowClosing(WindowEvent e) { |
127 |
// TODO Auto-generated method stub
|
128 |
} |
129 |
/* (non-Javadoc)
|
130 |
* @see java.awt.event.WindowListener#windowDeactivated(java.awt.event.WindowEvent)
|
131 |
*/
|
132 |
|
133 |
/**
|
134 |
*
|
135 |
*
|
136 |
*
|
137 |
* @param e
|
138 |
*/
|
139 |
public void windowDeactivated(WindowEvent e) { |
140 |
// TODO Auto-generated method stub
|
141 |
} |
142 |
/* (non-Javadoc)
|
143 |
* @see java.awt.event.WindowListener#windowDeiconified(java.awt.event.WindowEvent)
|
144 |
*/
|
145 |
|
146 |
/**
|
147 |
*
|
148 |
*
|
149 |
*
|
150 |
* @param e
|
151 |
*/
|
152 |
public void windowDeiconified(WindowEvent e) { |
153 |
// TODO Auto-generated method stub
|
154 |
} |
155 |
/* (non-Javadoc)
|
156 |
* @see java.awt.event.WindowListener#windowIconified(java.awt.event.WindowEvent)
|
157 |
*/
|
158 |
|
159 |
/**
|
160 |
*
|
161 |
*
|
162 |
*
|
163 |
* @param e
|
164 |
*/
|
165 |
public void windowIconified(WindowEvent e) { |
166 |
// TODO Auto-generated method stub
|
167 |
} |
168 |
/* (non-Javadoc)
|
169 |
* @see java.awt.event.WindowListener#windowOpened(java.awt.event.WindowEvent)
|
170 |
*/
|
171 |
|
172 |
/**
|
173 |
*
|
174 |
*
|
175 |
*
|
176 |
* @param e
|
177 |
*/
|
178 |
public void windowOpened(WindowEvent e) { |
179 |
// TODO Auto-generated method stub
|
180 |
} |
181 |
} |