Revision 26601 tmp/trunk/cliente/WorkSpace_WPSClient/extWPSCallejero/src/es/logex/gvsig/streetsmap/ui/PanelConnectionWPS.java
PanelConnectionWPS.java | ||
---|---|---|
1 | 1 |
package es.logex.gvsig.streetsmap.ui; |
2 | 2 |
|
3 |
import java.awt.Dimension; |
|
3 |
|
|
4 | 4 |
import java.awt.GridBagConstraints; |
5 | 5 |
import java.awt.GridBagLayout; |
6 | 6 |
import java.awt.Insets; |
7 | 7 |
import java.awt.event.ActionEvent; |
8 | 8 |
import java.awt.event.ActionListener; |
9 |
import java.io.FileNotFoundException; |
|
10 |
import java.io.FileOutputStream; |
|
11 |
import java.io.IOException; |
|
12 |
import java.io.ObjectOutputStream; |
|
13 |
import java.io.ObjectStreamClass; |
|
14 |
import java.io.Serializable; |
|
9 |
|
|
15 | 10 |
import java.net.MalformedURLException; |
16 | 11 |
import java.net.URL; |
17 | 12 |
import java.util.ArrayList; |
18 | 13 |
import java.util.List; |
19 | 14 |
|
20 |
import javax.naming.event.EventContext; |
|
15 |
|
|
21 | 16 |
import javax.swing.BorderFactory; |
22 |
import javax.swing.ComboBoxModel; |
|
17 |
|
|
23 | 18 |
import javax.swing.DefaultComboBoxModel; |
24 | 19 |
import javax.swing.ImageIcon; |
25 | 20 |
import javax.swing.JButton; |
26 |
import javax.swing.JComboBox; |
|
21 |
|
|
27 | 22 |
import javax.swing.JEditorPane; |
28 | 23 |
import javax.swing.JOptionPane; |
29 | 24 |
|
... | ... | |
33 | 28 |
import javax.swing.JFrame; |
34 | 29 |
import javax.swing.JLabel; |
35 | 30 |
import javax.swing.JPanel; |
36 |
import javax.swing.JTextArea; |
|
31 |
|
|
37 | 32 |
import javax.swing.SwingConstants; |
38 | 33 |
|
39 | 34 |
import com.iver.andami.PluginServices; |
... | ... | |
50 | 45 |
import es.logex.gvsig.wps.client.WPSProtocolHandler; |
51 | 46 |
|
52 | 47 |
/** |
53 |
* This code was edited or generated using CloudGarden's Jigloo SWT/Swing GUI |
|
54 |
* Builder, which is free for non-commercial use. If Jigloo is being used |
|
55 |
* commercially (ie, by a corporation, company or business for any purpose |
|
56 |
* whatever) then you should purchase a license for each developer using Jigloo. |
|
57 |
* Please visit www.cloudgarden.com for details. Use of Jigloo implies |
|
58 |
* acceptance of these licensing terms. A COMMERCIAL LICENSE HAS NOT BEEN |
|
59 |
* PURCHASED FOR THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED LEGALLY FOR |
|
60 |
* ANY CORPORATE OR COMMERCIAL PURPOSE. |
|
48 |
* This code was edited or generated using CloudGarden's Jigloo SWT/Swing GUI Builder, which is free for non-commercial use. If Jigloo is being used commercially (ie, by a corporation, company or business for any purpose whatever) then you should purchase a license for each developer using Jigloo. Please visit www.cloudgarden.com for details. Use of Jigloo implies acceptance of these licensing terms. A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE. |
|
49 |
* @uml.dependency supplier="es.logex.gvsig.streetsmap.ui.events.ConnectionSucceedEvent" |
|
50 |
* @uml.dependency supplier="javax.swing.JPanel" |
|
51 |
* @uml.dependency supplier="es.logex.gvsig.wps.client.WPSClient" |
|
52 |
* @uml.dependency supplier="es.logex.gvsig.streetsmap.ui.events.ConnectionSucceedListener" |
|
61 | 53 |
*/ |
62 | 54 |
public class PanelConnectionWPS extends javax.swing.JPanel implements ConnectionSucceedProducer { |
63 | 55 |
/** |
... | ... | |
77 | 69 |
|
78 | 70 |
private final String bgColor0 = "\"#FEEDD6\""; // light salmon |
79 | 71 |
private final String bgColor1 = "\"#EAEAEA\""; // light grey |
80 |
private final String bgColor2 = "\"#F2FEFF\""; // light blue |
|
72 |
|
|
81 | 73 |
private final String bgColor3 = "\"#FBFFE1\""; // light yellow |
82 | 74 |
private final String service_title = PluginServices.getText(this, "service_info"); |
83 | 75 |
private final String server = PluginServices.getText(this, "server"); |
... | ... | |
236 | 228 |
} |
237 | 229 |
} |
238 | 230 |
|
239 |
public void addConnectRequestListener(
|
|
231 |
public void addConnectSucceedListener(
|
|
240 | 232 |
ConnectionSucceedListener connectRequestListener) { |
241 | 233 |
connectRequestsListeners.add(connectRequestListener); |
242 | 234 |
|
243 | 235 |
} |
244 |
public void removeConnectRequestListener(
|
|
236 |
public void removeConnectSucceedListener(
|
|
245 | 237 |
ConnectionSucceedListener connectRequestListener) { |
246 | 238 |
connectRequestsListeners.remove(connectRequestListener); |
247 | 239 |
|
Also available in: Unified diff