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