Statistics
| Revision:

svn-gvsig-desktop / tags / Root_v06 / applications / appCatalogYNomenclatorClient / src / es / gva / cit / gazetteer / ui / serverConnect / ServerConnectDialog.java @ 4811

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.gazetteer.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
 * This class implements the server connect frame
51
 * 
52
 * 
53
 * @author Jorge Piera Llodra (piera_jor@gva.es)
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,630,305);
73
        this.setTitle("B?squeda en Gazetteer");
74
        setResizable(false);
75
        setName("serverConnect");
76
        
77
        getContentPane().add(new ServerConnectDialogPanel(
78
                this,
79
                new WithOutAndamiTranslator()));
80
        addWindowListener(this);
81
        setVisible(true);
82
    } 
83
/* (non-Javadoc)
84
     * @see java.awt.event.WindowListener#windowActivated(java.awt.event.WindowEvent)
85
     */
86

    
87
/**
88
 * 
89
 * 
90
 * 
91
 * @param e 
92
 */
93
    public void windowActivated(WindowEvent e) {        
94
        // TODO Auto-generated method stub
95
    } 
96

    
97
/**
98
 * DOCUMENT ME!
99
 * 
100
 * 
101
 * @param arg0 DOCUMENT ME!
102
 */
103
    public void windowClosing(WindowEvent arg0) {        
104
        // TODO Auto-generated method stub
105
        System.exit(0);
106
    } 
107
/* (non-Javadoc)
108
     * @see java.awt.event.WindowListener#windowClosed(java.awt.event.WindowEvent)
109
     */
110

    
111
/**
112
 * 
113
 * 
114
 * 
115
 * @param arg0 
116
 */
117
    public void windowClosed(WindowEvent arg0) {        
118
        // TODO Auto-generated method stub
119
        System.exit(0);
120
    } 
121
/* (non-Javadoc)
122
     * @see java.awt.event.WindowListener#windowDeactivated(java.awt.event.WindowEvent)
123
     */
124

    
125
/**
126
 * 
127
 * 
128
 * 
129
 * @param e 
130
 */
131
    public void windowDeactivated(WindowEvent e) {        
132
        // TODO Auto-generated method stub
133
    } 
134
/* (non-Javadoc)
135
     * @see java.awt.event.WindowListener#windowDeiconified(java.awt.event.WindowEvent)
136
     */
137

    
138
/**
139
 * 
140
 * 
141
 * 
142
 * @param e 
143
 */
144
    public void windowDeiconified(WindowEvent e) {        
145
        // TODO Auto-generated method stub
146
    } 
147
/* (non-Javadoc)
148
     * @see java.awt.event.WindowListener#windowIconified(java.awt.event.WindowEvent)
149
     */
150

    
151
/**
152
 * 
153
 * 
154
 * 
155
 * @param e 
156
 */
157
    public void windowIconified(WindowEvent e) {        
158
        // TODO Auto-generated method stub
159
    } 
160
/* (non-Javadoc)
161
     * @see java.awt.event.WindowListener#windowOpened(java.awt.event.WindowEvent)
162
     */
163

    
164
/**
165
 * 
166
 * 
167
 * 
168
 * @param e 
169
 */
170
    public void windowOpened(WindowEvent e) {        
171
        // TODO Auto-generated method stub
172
    } 
173
 }