svn-gvsig-desktop / tags / gvSIGv0_6_1RELEASE / applications / appCatalogYNomenclatorClient / src / es / gva / cit / catalogClient / ui / serverConnect / ServerConnectDialog.java @ 5222
History | View | Annotate | Download (3.88 KB)
1 | 3566 | jorpiell | |
---|---|---|---|
2 | 3213 | jorpiell | /* 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.serverConnect; |
||
43 | 3613 | jorpiell | import es.gva.cit.catalogClient.traductor.WithOutAndamiTranslator; |
44 | import es.gva.cit.catalogClient.utils.Frames; |
||
45 | 3213 | jorpiell | import java.awt.event.WindowEvent; |
46 | import java.awt.event.WindowListener; |
||
47 | import javax.swing.JFrame; |
||
48 | |||
49 | /**
|
||
50 | * DOCUMENT ME!
|
||
51 | 3566 | jorpiell | *
|
52 | *
|
||
53 | 3213 | jorpiell | * @author luisw
|
54 | */
|
||
55 | public class ServerConnectDialog extends JFrame implements WindowListener { |
||
56 | |||
57 | 3566 | jorpiell | /**
|
58 | * Crea un nuevo ServerConnectDialog.
|
||
59 | *
|
||
60 | */
|
||
61 | public ServerConnectDialog() {
|
||
62 | 3213 | jorpiell | super();
|
63 | //super.setModal(true);
|
||
64 | initialize(); |
||
65 | 3566 | jorpiell | } |
66 | 3213 | jorpiell | |
67 | 3566 | jorpiell | /**
|
68 | * This method initializes jDialog
|
||
69 | *
|
||
70 | */
|
||
71 | private void initialize() { |
||
72 | 3409 | jorpiell | Frames.centerFrame(this, 625, 290); |
73 | 3213 | jorpiell | this.setTitle("B?squeda en cat?logo de metadatos"); |
74 | setResizable(false);
|
||
75 | setName("serverConnect");
|
||
76 | 3409 | jorpiell | getContentPane().add(new ServerConnectDialogPanel(
|
77 | 3613 | jorpiell | this,
|
78 | 3409 | jorpiell | new WithOutAndamiTranslator()));
|
79 | 3213 | jorpiell | addWindowListener(this);
|
80 | setVisible(true);
|
||
81 | 3566 | jorpiell | } |
82 | /* (non-Javadoc)
|
||
83 | 3213 | jorpiell | * @see java.awt.event.WindowListener#windowActivated(java.awt.event.WindowEvent)
|
84 | */
|
||
85 | 3566 | jorpiell | |
86 | /**
|
||
87 | *
|
||
88 | *
|
||
89 | *
|
||
90 | * @param e
|
||
91 | */
|
||
92 | public void windowActivated(WindowEvent e) { |
||
93 | 3213 | jorpiell | // TODO Auto-generated method stub
|
94 | 3566 | jorpiell | } |
95 | 3213 | jorpiell | |
96 | 3566 | jorpiell | /**
|
97 | * DOCUMENT ME!
|
||
98 | *
|
||
99 | *
|
||
100 | * @param arg0 DOCUMENT ME!
|
||
101 | */
|
||
102 | public void windowClosing(WindowEvent arg0) { |
||
103 | 3213 | jorpiell | // TODO Auto-generated method stub
|
104 | System.exit(0); |
||
105 | 3566 | jorpiell | } |
106 | /* (non-Javadoc)
|
||
107 | 3213 | jorpiell | * @see java.awt.event.WindowListener#windowClosed(java.awt.event.WindowEvent)
|
108 | */
|
||
109 | 3566 | jorpiell | |
110 | /**
|
||
111 | *
|
||
112 | *
|
||
113 | *
|
||
114 | * @param arg0
|
||
115 | */
|
||
116 | public void windowClosed(WindowEvent arg0) { |
||
117 | 3213 | jorpiell | // TODO Auto-generated method stub
|
118 | System.exit(0); |
||
119 | 3566 | jorpiell | } |
120 | /* (non-Javadoc)
|
||
121 | 3213 | jorpiell | * @see java.awt.event.WindowListener#windowDeactivated(java.awt.event.WindowEvent)
|
122 | */
|
||
123 | 3566 | jorpiell | |
124 | /**
|
||
125 | *
|
||
126 | *
|
||
127 | *
|
||
128 | * @param e
|
||
129 | */
|
||
130 | public void windowDeactivated(WindowEvent e) { |
||
131 | 3213 | jorpiell | // TODO Auto-generated method stub
|
132 | 3566 | jorpiell | } |
133 | /* (non-Javadoc)
|
||
134 | 3213 | jorpiell | * @see java.awt.event.WindowListener#windowDeiconified(java.awt.event.WindowEvent)
|
135 | */
|
||
136 | 3566 | jorpiell | |
137 | /**
|
||
138 | *
|
||
139 | *
|
||
140 | *
|
||
141 | * @param e
|
||
142 | */
|
||
143 | public void windowDeiconified(WindowEvent e) { |
||
144 | 3213 | jorpiell | // TODO Auto-generated method stub
|
145 | 3566 | jorpiell | } |
146 | /* (non-Javadoc)
|
||
147 | 3213 | jorpiell | * @see java.awt.event.WindowListener#windowIconified(java.awt.event.WindowEvent)
|
148 | */
|
||
149 | 3566 | jorpiell | |
150 | /**
|
||
151 | *
|
||
152 | *
|
||
153 | *
|
||
154 | * @param e
|
||
155 | */
|
||
156 | public void windowIconified(WindowEvent e) { |
||
157 | 3213 | jorpiell | // TODO Auto-generated method stub
|
158 | 3566 | jorpiell | } |
159 | /* (non-Javadoc)
|
||
160 | 3213 | jorpiell | * @see java.awt.event.WindowListener#windowOpened(java.awt.event.WindowEvent)
|
161 | */
|
||
162 | 3566 | jorpiell | |
163 | /**
|
||
164 | *
|
||
165 | *
|
||
166 | *
|
||
167 | * @param e
|
||
168 | */
|
||
169 | public void windowOpened(WindowEvent e) { |
||
170 | 3213 | jorpiell | // TODO Auto-generated method stub
|
171 | 3566 | jorpiell | } |
172 | } |