Revision 2818
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.0/org.gvsig.vcsgis.app/org.gvsig.vcsgis.app.server/pom.xml | ||
---|---|---|
1 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
2 |
<modelVersion>4.0.0</modelVersion> |
|
3 |
<parent> |
|
4 |
<groupId>org.gvsig</groupId> |
|
5 |
<artifactId>org.gvsig.vcsgis.app</artifactId> |
|
6 |
<version>1.0.0</version> |
|
7 |
</parent> |
|
8 |
<artifactId>org.gvsig.vcsgis.app.server</artifactId> |
|
9 |
<packaging>jar</packaging> |
|
10 |
<name>${project.artifactId}</name> |
|
11 |
<properties> |
|
12 |
<!-- Package info property values --> |
|
13 |
<gvsig.package.info.state>testing</gvsig.package.info.state> |
|
14 |
<gvsig.package.info.official>true</gvsig.package.info.official> |
|
15 |
<gvsig.package.info.name>vcsgis-server</gvsig.package.info.name> |
|
16 |
<gvsig.package.info.description>Provides a implementation of a HTTP server of VCSGis protocol (Version Control System for GIS).</gvsig.package.info.description> |
|
17 |
<gvsig.package.info.categories /> |
|
18 |
<gvsig.package.info.javaVM>j1_8</gvsig.package.info.javaVM> |
|
19 |
<gvsig.package.info.poolURL>https://devel.gvsig.org/download/projects/gvsig-vcsgis/pool</gvsig.package.info.poolURL> |
|
20 |
</properties> |
|
21 |
|
|
22 |
<dependencies> |
|
23 |
<dependency> |
|
24 |
<groupId>org.gvsig</groupId> |
|
25 |
<artifactId>org.gvsig.andami</artifactId> |
|
26 |
</dependency> |
|
27 |
<dependency> |
|
28 |
<groupId>org.gvsig</groupId> |
|
29 |
<artifactId>org.gvsig.vcsgis.swing.api</artifactId> |
|
30 |
</dependency> |
|
31 |
<dependency> |
|
32 |
<groupId>org.gvsig</groupId> |
|
33 |
<artifactId>org.gvsig.vcsgis.lib.api</artifactId> |
|
34 |
</dependency> |
|
35 |
<dependency> |
|
36 |
<groupId>org.gvsig</groupId> |
|
37 |
<artifactId>org.gvsig.vcsgis.lib.impl</artifactId> |
|
38 |
</dependency> |
|
39 |
<dependency> |
|
40 |
<groupId>org.gvsig</groupId> |
|
41 |
<artifactId>org.gvsig.vcsgis.swing.impl</artifactId> |
|
42 |
</dependency> |
|
43 |
<dependency> |
|
44 |
<groupId>org.gvsig</groupId> |
|
45 |
<artifactId>org.gvsig.app.mainplugin</artifactId> |
|
46 |
</dependency> |
|
47 |
<dependency> |
|
48 |
<groupId>org.gvsig</groupId> |
|
49 |
<artifactId>org.gvsig.app.document.table.app.mainplugin</artifactId> |
|
50 |
</dependency> |
|
51 |
<dependency> |
|
52 |
<groupId>org.gvsig</groupId> |
|
53 |
<artifactId>org.gvsig.vcsgis.server.lib</artifactId> |
|
54 |
</dependency> |
|
55 |
<!-- <dependency> |
|
56 |
<groupId>org.eclipse.jetty.aggregate</groupId> |
|
57 |
<artifactId>jetty-all</artifactId> |
|
58 |
<version>${jettyVersion}</version> |
|
59 |
<type>pom</type> |
|
60 |
</dependency>--> |
|
61 |
|
|
62 |
<dependency> |
|
63 |
<groupId>org.eclipse.jetty</groupId> |
|
64 |
<artifactId>jetty-server</artifactId> |
|
65 |
<version>${jettyVersion}</version> |
|
66 |
</dependency> |
|
67 |
<dependency> |
|
68 |
<groupId>org.eclipse.jetty</groupId> |
|
69 |
<artifactId>jetty-servlet</artifactId> |
|
70 |
<version>${jettyVersion}</version> |
|
71 |
</dependency> |
|
72 |
<dependency> |
|
73 |
<groupId>org.eclipse.jetty</groupId> |
|
74 |
<artifactId>jetty-webapp</artifactId> |
|
75 |
<version>${jettyVersion}</version> |
|
76 |
<exclusions> |
|
77 |
<exclusion> |
|
78 |
<groupId>javax.servlet</groupId> |
|
79 |
<artifactId>servlet-api</artifactId> |
|
80 |
</exclusion> |
|
81 |
</exclusions> |
|
82 |
</dependency> |
|
83 |
<dependency> |
|
84 |
<groupId>org.eclipse.jetty</groupId> |
|
85 |
<artifactId>jetty-util</artifactId> |
|
86 |
<version>${jettyVersion}</version> |
|
87 |
</dependency> |
|
88 |
<dependency> |
|
89 |
<groupId>org.eclipse.jetty</groupId> |
|
90 |
<artifactId>jetty-io</artifactId> |
|
91 |
<version>${jettyVersion}</version> |
|
92 |
</dependency> |
|
93 |
<dependency> |
|
94 |
<groupId>org.eclipse.jetty</groupId> |
|
95 |
<artifactId>jetty-jndi</artifactId> |
|
96 |
<version>${jettyVersion}</version> |
|
97 |
</dependency> |
|
98 |
</dependencies> |
|
99 |
</project> |
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.0/org.gvsig.vcsgis.app/org.gvsig.vcsgis.app.server/buildNumber.properties | ||
---|---|---|
1 |
#Mon Nov 30 08:57:17 CET 2020 |
|
2 |
buildNumber=4 |
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.0/org.gvsig.vcsgis.app/org.gvsig.vcsgis.app.server/src/main/resources-plugin/config.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
|
2 |
<!-- gvSIG. Desktop Geographic Information System. Copyright (C) 2007-2013 gvSIG |
|
3 |
Association. This program is free software; you can redistribute it and/or modify |
|
4 |
it under the terms of the GNU General Public License as published by the Free Software |
|
5 |
Foundation; either version 3 of the License, or (at your option) any later version. |
|
6 |
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|
7 |
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR |
|
8 |
PURPOSE. See the GNU General Public License for more details. You should have received |
|
9 |
a copy of the GNU General Public License along with this program; if not, write to |
|
10 |
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, |
|
11 |
USA. For any additional information, do not hesitate to contact us at info AT gvsig.com, |
|
12 |
or visit our website www.gvsig.com. --> |
|
13 |
<plugin-config> |
|
14 |
<depends plugin-name="org.gvsig.app.mainplugin" /> |
|
15 |
<depends plugin-name="org.gvsig.vcsgis.app.mainplugin" /> |
|
16 |
<resourceBundle name="text" /> |
|
17 |
<libraries library-dir="lib" /> |
|
18 |
<extensions> |
|
19 |
<extension class-name="org.gvsig.vcsgis.app.VCSGisServerExtension" |
|
20 |
description="" active="true" priority="1"> |
|
21 |
|
|
22 |
<action |
|
23 |
name="tools-vcsgis-show-server" |
|
24 |
label="_Show_the_VCSGis_server_panel" |
|
25 |
tooltip="_Show_the_VCSGis_server_panel" |
|
26 |
position="900700101" |
|
27 |
action-command="tools-vcsgis-show-server" |
|
28 |
icon="tools-vcsgis-show-server" |
|
29 |
accelerator="" |
|
30 |
/> |
|
31 |
|
|
32 |
<menu text="tools/_VCSGis/_Administration/_Show_server_panel" name="tools-vcsgis-show-server" /> |
|
33 |
|
|
34 |
</extension> |
|
35 |
</extensions> |
|
36 |
</plugin-config> |
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.0/org.gvsig.vcsgis.app/org.gvsig.vcsgis.app.server/src/main/assembly/gvsig-plugin-package.xml | ||
---|---|---|
1 |
<!-- gvSIG. Desktop Geographic Information System. Copyright (C) 2007-2013 gvSIG |
|
2 |
Association. This program is free software; you can redistribute it and/or modify |
|
3 |
it under the terms of the GNU General Public License as published by the Free Software |
|
4 |
Foundation; either version 3 of the License, or (at your option) any later version. |
|
5 |
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|
6 |
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR |
|
7 |
PURPOSE. See the GNU General Public License for more details. You should have received |
|
8 |
a copy of the GNU General Public License along with this program; if not, write to |
|
9 |
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, |
|
10 |
USA. For any additional information, do not hesitate to contact us at info AT gvsig.com, |
|
11 |
or visit our website www.gvsig.com. --> |
|
12 |
<assembly> |
|
13 |
<id>gvsig-plugin-package</id> |
|
14 |
<formats> |
|
15 |
<format>zip</format> |
|
16 |
</formats> |
|
17 |
<baseDirectory>${project.artifactId}</baseDirectory> |
|
18 |
<includeBaseDirectory>true</includeBaseDirectory> |
|
19 |
<files> |
|
20 |
<file> |
|
21 |
<source>target/${project.artifactId}-${project.version}.jar</source> |
|
22 |
<outputDirectory>lib</outputDirectory> |
|
23 |
</file> |
|
24 |
<file> |
|
25 |
<source>target/package.info</source> |
|
26 |
</file> |
|
27 |
</files> |
|
28 |
|
|
29 |
<fileSets> |
|
30 |
<fileSet> |
|
31 |
<directory>src/main/resources-plugin</directory> |
|
32 |
<outputDirectory>.</outputDirectory> |
|
33 |
</fileSet> |
|
34 |
</fileSets> |
|
35 |
|
|
36 |
|
|
37 |
<dependencySets> |
|
38 |
<dependencySet> |
|
39 |
<useProjectArtifact>false</useProjectArtifact> |
|
40 |
<useTransitiveDependencies>false</useTransitiveDependencies> |
|
41 |
<outputDirectory>lib</outputDirectory> |
|
42 |
<includes> |
|
43 |
<include>org.gvsig:org.gvsig.vcsgis.server.lib</include> |
|
44 |
</includes> |
|
45 |
</dependencySet> |
|
46 |
|
|
47 |
<dependencySet> |
|
48 |
<useProjectArtifact>false</useProjectArtifact> |
|
49 |
<useTransitiveDependencies>true</useTransitiveDependencies> |
|
50 |
<outputDirectory>lib</outputDirectory> |
|
51 |
<includes> |
|
52 |
<include>org.eclipse.jetty:jetty-server</include> |
|
53 |
<include>org.eclipse.jetty:jetty-servlet</include> |
|
54 |
<include>org.eclipse.jetty:jetty-webapp</include> |
|
55 |
<include>org.eclipse.jetty:jetty-util</include> |
|
56 |
<include>org.eclipse.jetty:jetty-io</include> |
|
57 |
<include>org.eclipse.jetty:jetty-jndi</include> |
|
58 |
<!-- |
|
59 |
<include>org.eclipse.jetty:jetty-servlets</include> |
|
60 |
<include>org.eclipse.jetty:jetty-client</include> |
|
61 |
<include>org.eclipse.jetty:jetty-http</include> |
|
62 |
<include>org.eclipse.jetty:jetty-deploy</include> |
|
63 |
<include>org.eclipse.jetty:jetty-xml</include> |
|
64 |
<include>org.eclipse.jetty:jetty-jmx</include> |
|
65 |
<include>org.eclipse.jetty:jetty-plus</include> |
|
66 |
<include>org.eclipse.jetty:jetty-annotations</include> |
|
67 |
<include>javax.annotation:javax.annotation-api</include> |
|
68 |
<include>org.ow2.asm:asm</include> |
|
69 |
<include>org.ow2.asm:asm-commons</include> |
|
70 |
<include>org.ow2.asm:asm-tree</include> |
|
71 |
<include>org.ow2.asm:asm-analysis</include> |
|
72 |
<include>org.eclipse.jetty:jetty-jaspi</include> |
|
73 |
<include>org.eclipse.jetty:jetty-security</include> |
|
74 |
<include>org.eclipse.jetty.orbit:javax.security.auth.message</include> |
|
75 |
<include>org.eclipse.jetty:jetty-rewrite</include> |
|
76 |
<include>org.eclipse.jetty:jetty-continuation</include> |
|
77 |
<include>org.eclipse.jetty:jetty-quickstart</include> |
|
78 |
<include>javax.transaction:javax.transaction-api</include> |
|
79 |
<include>org.eclipse.jetty.websocket:websocket-servlet</include> |
|
80 |
<include>org.eclipse.jetty.websocket:websocket-api</include> |
|
81 |
<include>org.eclipse.jetty.websocket:javax-websocket-server-impl</include> |
|
82 |
<include>org.eclipse.jetty.websocket:javax-websocket-client-impl</include> |
|
83 |
<include>javax.websocket:javax.websocket-client-api</include> |
|
84 |
<include>org.eclipse.jetty.websocket:websocket-server</include> |
|
85 |
<include>org.eclipse.jetty.websocket:websocket-client</include> |
|
86 |
<include>org.eclipse.jetty.websocket:websocket-common</include> |
|
87 |
<include>org.eclipse.jetty:jetty-alpn-client</include> |
|
88 |
<include>org.eclipse.jetty.http2:http2-server</include> |
|
89 |
<include>org.eclipse.jetty.http2:http2-common</include> |
|
90 |
<include>org.eclipse.jetty.http2:http2-hpack</include> |
|
91 |
<include>org.eclipse.jetty.http2:http2-client</include> |
|
92 |
<include>javax.websocket:javax.websocket-api</include> |
|
93 |
<include>javax.servlet:javax.servlet-api</include> |
|
94 |
<include>org.eclipse.jetty.orbit:javax.mail.glassfish</include> |
|
95 |
<include>org.eclipse.jetty.orbit:javax.activation</include> |
|
96 |
--> |
|
97 |
</includes> |
|
98 |
</dependencySet> |
|
99 |
|
|
100 |
</dependencySets> |
|
101 |
|
|
102 |
</assembly> |
|
103 |
|
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.0/org.gvsig.vcsgis.app/org.gvsig.vcsgis.app.server/src/main/java/org/gvsig/vcsgis/app/server/VCSGisServerPanel.java | ||
---|---|---|
1 |
/* |
|
2 |
* gvSIG. Desktop Geographic Information System. |
|
3 |
* |
|
4 |
* Copyright (C) 2007-2020 gvSIG Association. |
|
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 3 |
|
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, see <https://www.gnu.org/licenses/>. |
|
18 |
* |
|
19 |
* For any additional information, do not hesitate to contact us |
|
20 |
* at info AT gvsig.com, or visit our website www.gvsig.com. |
|
21 |
*/ |
|
22 |
|
|
23 |
package org.gvsig.vcsgis.app.server; |
|
24 |
|
|
25 |
import java.awt.Dimension; |
|
26 |
import java.awt.event.ActionEvent; |
|
27 |
import javax.swing.ImageIcon; |
|
28 |
import javax.swing.JComponent; |
|
29 |
import org.apache.commons.io.FilenameUtils; |
|
30 |
import org.eclipse.jetty.server.Server; |
|
31 |
import org.gvsig.fmap.dal.store.jdbc.JDBCServerExplorerParameters; |
|
32 |
import org.gvsig.fmap.dal.swing.DALSwingLocator; |
|
33 |
import org.gvsig.tools.swing.api.Component; |
|
34 |
import org.gvsig.tools.swing.api.ToolsSwingLocator; |
|
35 |
import org.gvsig.tools.swing.api.ToolsSwingManager; |
|
36 |
import org.gvsig.tools.swing.api.documentfilters.IntegerDocumentFilter; |
|
37 |
import org.gvsig.tools.swing.api.pickercontroller.PickerController; |
|
38 |
import org.gvsig.tools.swing.icontheme.IconTheme; |
|
39 |
import org.gvsig.vcsgis.server.lib.VCSGisServerUtils; |
|
40 |
import org.slf4j.Logger; |
|
41 |
import org.slf4j.LoggerFactory; |
|
42 |
|
|
43 |
/** |
|
44 |
* |
|
45 |
* @author gvSIG Team |
|
46 |
*/ |
|
47 |
public class VCSGisServerPanel extends VCSGisServerPanelView implements Component { |
|
48 |
|
|
49 |
private static final Logger LOGGER = LoggerFactory.getLogger(VCSGisServerPanel.class); |
|
50 |
|
|
51 |
private Server server; |
|
52 |
private PickerController<JDBCServerExplorerParameters> connectionPicker; |
|
53 |
|
|
54 |
public VCSGisServerPanel() { |
|
55 |
this.server = null; |
|
56 |
this.initComponents(); |
|
57 |
} |
|
58 |
|
|
59 |
private void initComponents() { |
|
60 |
ToolsSwingManager swingManager = ToolsSwingLocator.getToolsSwingManager(); |
|
61 |
|
|
62 |
swingManager.setDefaultPopupMenu(this.txtPort); |
|
63 |
swingManager.setDefaultPopupMenu(this.txtLog); |
|
64 |
|
|
65 |
IntegerDocumentFilter.install(this.txtPort); |
|
66 |
|
|
67 |
this.connectionPicker = DALSwingLocator.getSwingManager().createJDBCConnectionPickerController( |
|
68 |
this.cboConnections, |
|
69 |
this.btnAddConnection |
|
70 |
); |
|
71 |
|
|
72 |
this.btnRestart.addActionListener((ActionEvent e) -> { |
|
73 |
doRestart(); |
|
74 |
}); |
|
75 |
this.btnStop.addActionListener((ActionEvent e) -> { |
|
76 |
doStop(); |
|
77 |
}); |
|
78 |
|
|
79 |
this.txtPort.setText(String.valueOf(VCSGisServerUtils.SERVER_PORT)); |
|
80 |
|
|
81 |
this.setPreferredSize(new Dimension(550,350)); |
|
82 |
} |
|
83 |
|
|
84 |
@Override |
|
85 |
public JComponent asJComponent() { |
|
86 |
return this; |
|
87 |
} |
|
88 |
|
|
89 |
@Override |
|
90 |
public ImageIcon loadImage(String imageName) { |
|
91 |
String iconName = FilenameUtils.getBaseName(imageName); |
|
92 |
IconTheme theme = ToolsSwingLocator.getIconThemeManager().getCurrent(); |
|
93 |
if( theme.exists(iconName) ) { |
|
94 |
return theme.get(iconName); |
|
95 |
} |
|
96 |
return super.loadImage(imageName); |
|
97 |
} |
|
98 |
|
|
99 |
private void message(String msg) { |
|
100 |
this.txtLog.append(msg); |
|
101 |
this.txtLog.setCaretPosition(this.txtLog.getDocument().getLength()); |
|
102 |
} |
|
103 |
|
|
104 |
private int getPort() { |
|
105 |
return IntegerDocumentFilter.getValue(txtPort); |
|
106 |
} |
|
107 |
|
|
108 |
private JDBCServerExplorerParameters getServerExplorerParameters() { |
|
109 |
return this.connectionPicker.get(); |
|
110 |
} |
|
111 |
|
|
112 |
private void doRestart() { |
|
113 |
if( this.getServerExplorerParameters()==null ) { |
|
114 |
return; |
|
115 |
} |
|
116 |
if( this.server != null ) { |
|
117 |
message("Stoping server..."); |
|
118 |
try { |
|
119 |
this.server.stop(); |
|
120 |
} catch (Exception ex) { |
|
121 |
LOGGER.warn("Can't stop GVSGis Server", ex); |
|
122 |
message("Error stoping server ("+ex.getMessage()+")."); |
|
123 |
return; |
|
124 |
} |
|
125 |
this.server = null; |
|
126 |
} |
|
127 |
message("Creating server..."); |
|
128 |
this.server = VCSGisServerUtils.createServer( |
|
129 |
this.getPort(), |
|
130 |
this.getServerExplorerParameters(), |
|
131 |
null |
|
132 |
); |
|
133 |
message("Starting server with repository "+this.getServerExplorerParameters().getUrl()+"..."); |
|
134 |
try { |
|
135 |
this.server.start(); |
|
136 |
} catch (Exception ex) { |
|
137 |
LOGGER.warn("Can't start server.",ex); |
|
138 |
message("Can't start server ("+ex.getMessage()+")."); |
|
139 |
} |
|
140 |
|
|
141 |
} |
|
142 |
|
|
143 |
private void doStop() { |
|
144 |
if( this.server==null ) { |
|
145 |
return; |
|
146 |
} |
|
147 |
try { |
|
148 |
this.server.stop(); |
|
149 |
} catch (Exception ex) { |
|
150 |
LOGGER.warn("Can't stop server.",ex); |
|
151 |
message("Can't stop server ("+ex.getMessage()+")."); |
|
152 |
} |
|
153 |
} |
|
154 |
} |
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.0/org.gvsig.vcsgis.app/org.gvsig.vcsgis.app.server/src/main/java/org/gvsig/vcsgis/app/server/VCSGisServerPanelView.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
|
|
3 |
<object classname="com.jeta.forms.store.memento.FormPackage"> |
|
4 |
<at name="fileversion"> |
|
5 |
<object classname="com.jeta.forms.store.memento.FormsVersion2"> |
|
6 |
<at name="major">2</at> |
|
7 |
<at name="minor">0</at> |
|
8 |
<at name="sub">0</at> |
|
9 |
</object> |
|
10 |
</at> |
|
11 |
<at name="form"> |
|
12 |
<object classname="com.jeta.forms.store.memento.FormMemento"> |
|
13 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
14 |
<at name="cellconstraints"> |
|
15 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
16 |
<at name="column">1</at> |
|
17 |
<at name="row">1</at> |
|
18 |
<at name="colspan">1</at> |
|
19 |
<at name="rowspan">1</at> |
|
20 |
<at name="halign">default</at> |
|
21 |
<at name="valign">default</at> |
|
22 |
<at name="insets" object="insets">0,0,0,0</at> |
|
23 |
</object> |
|
24 |
</at> |
|
25 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
|
26 |
</super> |
|
27 |
<at name="id">/home/jjdelcerro/datos/devel/org.gvsig.vcsgis/org.gvsig.vcsgis.app/org.gvsig.vcsgis.app.server/src/main/java/org/gvsig/vcsgis/app/server/VCSGisServerPanelView.xml</at> |
|
28 |
<at name="path">datos/devel/org.gvsig.vcsgis/org.gvsig.vcsgis.app/org.gvsig.vcsgis.app.server/src/main/java/org/gvsig/vcsgis/app/server/VCSGisServerPanelView.xml</at> |
|
29 |
<at name="rowspecs">CENTER:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0),CENTER:DEFAULT:NONE</at> |
|
30 |
<at name="colspecs">FILL:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE</at> |
|
31 |
<at name="components"> |
|
32 |
<object classname="java.util.LinkedList"> |
|
33 |
<item > |
|
34 |
<at name="value"> |
|
35 |
<object classname="com.jeta.forms.store.memento.FormMemento"> |
|
36 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
37 |
<at name="cellconstraints"> |
|
38 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
39 |
<at name="column">2</at> |
|
40 |
<at name="row">2</at> |
|
41 |
<at name="colspan">1</at> |
|
42 |
<at name="rowspan">1</at> |
|
43 |
<at name="halign">default</at> |
|
44 |
<at name="valign">default</at> |
|
45 |
<at name="insets" object="insets">0,0,0,0</at> |
|
46 |
</object> |
|
47 |
</at> |
|
48 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
|
49 |
</super> |
|
50 |
<at name="id">embedded.1428137394</at> |
|
51 |
<at name="rowspecs">CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE,CENTER:DEFAULT:NONE</at> |
|
52 |
<at name="colspecs">FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE</at> |
|
53 |
<at name="components"> |
|
54 |
<object classname="java.util.LinkedList"> |
|
55 |
<item > |
|
56 |
<at name="value"> |
|
57 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
58 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
59 |
<at name="cellconstraints"> |
|
60 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
61 |
<at name="column">1</at> |
|
62 |
<at name="row">3</at> |
|
63 |
<at name="colspan">1</at> |
|
64 |
<at name="rowspan">1</at> |
|
65 |
<at name="halign">default</at> |
|
66 |
<at name="valign">default</at> |
|
67 |
<at name="insets" object="insets">0,0,0,0</at> |
|
68 |
</object> |
|
69 |
</at> |
|
70 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
71 |
</super> |
|
72 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
73 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
74 |
<at name="beanproperties"> |
|
75 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
76 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
77 |
<at name="properties"> |
|
78 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
79 |
<at name="border"> |
|
80 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
81 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
82 |
<at name="name">border</at> |
|
83 |
</super> |
|
84 |
<at name="borders"> |
|
85 |
<object classname="java.util.LinkedList"> |
|
86 |
<item > |
|
87 |
<at name="value"> |
|
88 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
89 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
90 |
<at name="name">border</at> |
|
91 |
</super> |
|
92 |
</object> |
|
93 |
</at> |
|
94 |
</item> |
|
95 |
</object> |
|
96 |
</at> |
|
97 |
</object> |
|
98 |
</at> |
|
99 |
<at name="name">lblPort</at> |
|
100 |
<at name="width">78</at> |
|
101 |
<at name="text">_Port</at> |
|
102 |
<at name="fill"> |
|
103 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
104 |
<at name="name">fill</at> |
|
105 |
</object> |
|
106 |
</at> |
|
107 |
<at name="height">15</at> |
|
108 |
</object> |
|
109 |
</at> |
|
110 |
</object> |
|
111 |
</at> |
|
112 |
</object> |
|
113 |
</at> |
|
114 |
</item> |
|
115 |
<item > |
|
116 |
<at name="value"> |
|
117 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
118 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
119 |
<at name="cellconstraints"> |
|
120 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
121 |
<at name="column">3</at> |
|
122 |
<at name="row">3</at> |
|
123 |
<at name="colspan">3</at> |
|
124 |
<at name="rowspan">1</at> |
|
125 |
<at name="halign">default</at> |
|
126 |
<at name="valign">default</at> |
|
127 |
<at name="insets" object="insets">0,0,0,0</at> |
|
128 |
</object> |
|
129 |
</at> |
|
130 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
131 |
</super> |
|
132 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
133 |
<at name="beanclass">javax.swing.JTextField</at> |
|
134 |
<at name="beanproperties"> |
|
135 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
136 |
<at name="classname">javax.swing.JTextField</at> |
|
137 |
<at name="properties"> |
|
138 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
139 |
<at name="border"> |
|
140 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
141 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
142 |
<at name="name">border</at> |
|
143 |
</super> |
|
144 |
<at name="borders"> |
|
145 |
<object classname="java.util.LinkedList"> |
|
146 |
<item > |
|
147 |
<at name="value"> |
|
148 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
149 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
150 |
<at name="name">border</at> |
|
151 |
</super> |
|
152 |
</object> |
|
153 |
</at> |
|
154 |
</item> |
|
155 |
</object> |
|
156 |
</at> |
|
157 |
</object> |
|
158 |
</at> |
|
159 |
<at name="horizontalAlignment">4</at> |
|
160 |
<at name="name">txtPort</at> |
|
161 |
<at name="width">754</at> |
|
162 |
<at name="height">19</at> |
|
163 |
</object> |
|
164 |
</at> |
|
165 |
</object> |
|
166 |
</at> |
|
167 |
</object> |
|
168 |
</at> |
|
169 |
</item> |
|
170 |
<item > |
|
171 |
<at name="value"> |
|
172 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
173 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
174 |
<at name="cellconstraints"> |
|
175 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
176 |
<at name="column">1</at> |
|
177 |
<at name="row">5</at> |
|
178 |
<at name="colspan">1</at> |
|
179 |
<at name="rowspan">1</at> |
|
180 |
<at name="halign">default</at> |
|
181 |
<at name="valign">default</at> |
|
182 |
<at name="insets" object="insets">0,0,0,0</at> |
|
183 |
</object> |
|
184 |
</at> |
|
185 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
186 |
</super> |
|
187 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
188 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
189 |
<at name="beanproperties"> |
|
190 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
191 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
192 |
<at name="properties"> |
|
193 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
194 |
<at name="border"> |
|
195 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
196 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
197 |
<at name="name">border</at> |
|
198 |
</super> |
|
199 |
<at name="borders"> |
|
200 |
<object classname="java.util.LinkedList"> |
|
201 |
<item > |
|
202 |
<at name="value"> |
|
203 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
204 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
205 |
<at name="name">border</at> |
|
206 |
</super> |
|
207 |
</object> |
|
208 |
</at> |
|
209 |
</item> |
|
210 |
</object> |
|
211 |
</at> |
|
212 |
</object> |
|
213 |
</at> |
|
214 |
<at name="name">lblMessages</at> |
|
215 |
<at name="width">78</at> |
|
216 |
<at name="text">_Messages</at> |
|
217 |
<at name="fill"> |
|
218 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
219 |
<at name="name">fill</at> |
|
220 |
</object> |
|
221 |
</at> |
|
222 |
<at name="height">15</at> |
|
223 |
</object> |
|
224 |
</at> |
|
225 |
</object> |
|
226 |
</at> |
|
227 |
</object> |
|
228 |
</at> |
|
229 |
</item> |
|
230 |
<item > |
|
231 |
<at name="value"> |
|
232 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
233 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
234 |
<at name="cellconstraints"> |
|
235 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
236 |
<at name="column">1</at> |
|
237 |
<at name="row">7</at> |
|
238 |
<at name="colspan">5</at> |
|
239 |
<at name="rowspan">1</at> |
|
240 |
<at name="halign">default</at> |
|
241 |
<at name="valign">default</at> |
|
242 |
<at name="insets" object="insets">0,0,0,0</at> |
|
243 |
</object> |
|
244 |
</at> |
|
245 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
246 |
</super> |
|
247 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
248 |
<at name="beanclass">javax.swing.JTextArea</at> |
|
249 |
<at name="beanproperties"> |
|
250 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
251 |
<at name="classname">javax.swing.JTextArea</at> |
|
252 |
<at name="properties"> |
|
253 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
254 |
<at name="border"> |
|
255 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
256 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
257 |
<at name="name">border</at> |
|
258 |
</super> |
|
259 |
<at name="borders"> |
|
260 |
<object classname="java.util.LinkedList"> |
|
261 |
<item > |
|
262 |
<at name="value"> |
|
263 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
264 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
265 |
<at name="name">border</at> |
|
266 |
</super> |
|
267 |
</object> |
|
268 |
</at> |
|
269 |
</item> |
|
270 |
</object> |
|
271 |
</at> |
|
272 |
</object> |
|
273 |
</at> |
|
274 |
<at name="scrollableTracksViewportHeight">true</at> |
|
275 |
<at name="scrollableTracksViewportWidth">true</at> |
|
276 |
<at name="name">txtLog</at> |
|
277 |
<at name="width">849</at> |
|
278 |
<at name="scollBars"> |
|
279 |
<object classname="com.jeta.forms.store.properties.ScrollBarsProperty"> |
|
280 |
<at name="name">scollBars</at> |
|
281 |
<at name="verticalpolicy">20</at> |
|
282 |
<at name="horizontalpolicy">30</at> |
|
283 |
<at name="border"> |
|
284 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
285 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
286 |
<at name="name">border</at> |
|
287 |
</super> |
|
288 |
<at name="borders"> |
|
289 |
<object classname="java.util.LinkedList"> |
|
290 |
<item > |
|
291 |
<at name="value"> |
|
292 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
293 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
294 |
<at name="name">border</at> |
|
295 |
</super> |
|
296 |
</object> |
|
297 |
</at> |
|
298 |
</item> |
|
299 |
</object> |
|
300 |
</at> |
|
301 |
</object> |
|
302 |
</at> |
|
303 |
</object> |
|
304 |
</at> |
|
305 |
<at name="height">325</at> |
|
306 |
</object> |
|
307 |
</at> |
|
308 |
</object> |
|
309 |
</at> |
|
310 |
</object> |
|
311 |
</at> |
|
312 |
</item> |
|
313 |
<item > |
|
314 |
<at name="value"> |
|
315 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
316 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
317 |
<at name="cellconstraints"> |
|
318 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
319 |
<at name="column">1</at> |
|
320 |
<at name="row">1</at> |
|
321 |
<at name="colspan">1</at> |
|
322 |
<at name="rowspan">1</at> |
|
323 |
<at name="halign">default</at> |
|
324 |
<at name="valign">default</at> |
|
325 |
<at name="insets" object="insets">0,0,0,0</at> |
|
326 |
</object> |
|
327 |
</at> |
|
328 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
329 |
</super> |
|
330 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
331 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
332 |
<at name="beanproperties"> |
|
333 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
334 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
335 |
<at name="properties"> |
|
336 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
337 |
<at name="border"> |
|
338 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
339 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
340 |
<at name="name">border</at> |
|
341 |
</super> |
|
342 |
<at name="borders"> |
|
343 |
<object classname="java.util.LinkedList"> |
|
344 |
<item > |
|
345 |
<at name="value"> |
|
346 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
347 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
348 |
<at name="name">border</at> |
|
349 |
</super> |
|
350 |
</object> |
|
351 |
</at> |
|
352 |
</item> |
|
353 |
</object> |
|
354 |
</at> |
|
355 |
</object> |
|
356 |
</at> |
|
357 |
<at name="name">lblDatabase</at> |
|
358 |
<at name="width">78</at> |
|
359 |
<at name="text">_Database</at> |
|
360 |
<at name="fill"> |
|
361 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
362 |
<at name="name">fill</at> |
|
363 |
</object> |
|
364 |
</at> |
|
365 |
<at name="height">15</at> |
|
366 |
</object> |
|
367 |
</at> |
|
368 |
</object> |
|
369 |
</at> |
|
370 |
</object> |
|
371 |
</at> |
|
372 |
</item> |
|
373 |
<item > |
|
374 |
<at name="value"> |
|
375 |
<object classname="com.jeta.forms.store.memento.FormMemento"> |
|
376 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
377 |
<at name="cellconstraints"> |
|
378 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
379 |
<at name="column">1</at> |
|
380 |
<at name="row">9</at> |
|
381 |
<at name="colspan">5</at> |
|
382 |
<at name="rowspan">1</at> |
|
383 |
<at name="halign">default</at> |
|
384 |
<at name="valign">default</at> |
|
385 |
<at name="insets" object="insets">0,0,0,0</at> |
|
386 |
</object> |
|
387 |
</at> |
|
388 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
|
389 |
</super> |
|
390 |
<at name="id">embedded.1121259399</at> |
|
391 |
<at name="rowspecs">CENTER:DEFAULT:NONE</at> |
|
392 |
<at name="colspecs">FILL:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE</at> |
|
393 |
<at name="components"> |
|
394 |
<object classname="java.util.LinkedList"> |
|
395 |
<item > |
|
396 |
<at name="value"> |
|
397 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
398 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
399 |
<at name="cellconstraints"> |
|
400 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
401 |
<at name="column">6</at> |
|
402 |
<at name="row">1</at> |
|
403 |
<at name="colspan">1</at> |
|
404 |
<at name="rowspan">1</at> |
|
405 |
<at name="halign">default</at> |
|
406 |
<at name="valign">default</at> |
|
407 |
<at name="insets" object="insets">0,0,0,0</at> |
|
408 |
</object> |
|
409 |
</at> |
|
410 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
411 |
</super> |
|
412 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
413 |
<at name="beanclass">javax.swing.JButton</at> |
|
414 |
<at name="beanproperties"> |
|
415 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
416 |
<at name="classname">javax.swing.JButton</at> |
|
417 |
<at name="properties"> |
|
418 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
419 |
<at name="border"> |
|
420 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
421 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
422 |
<at name="name">border</at> |
|
423 |
</super> |
|
424 |
<at name="borders"> |
|
425 |
<object classname="java.util.LinkedList"> |
|
426 |
<item > |
|
427 |
<at name="value"> |
|
428 |
<object classname="com.jeta.forms.store.properties.EmptyBorderProperty"> |
|
429 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
430 |
<at name="name">border</at> |
|
431 |
</super> |
|
432 |
<at name="top">2</at> |
|
433 |
<at name="left">2</at> |
|
434 |
<at name="bottom">2</at> |
|
435 |
<at name="right">2</at> |
|
436 |
</object> |
|
437 |
</at> |
|
438 |
</item> |
|
439 |
</object> |
|
440 |
</at> |
|
441 |
</object> |
|
442 |
</at> |
|
443 |
<at name="actionCommand">Stop</at> |
|
444 |
<at name="icon"> |
|
445 |
<object classname="com.jeta.forms.store.properties.IconProperty"> |
|
446 |
<at name="embedded">false</at> |
|
447 |
<at name="path">datos/devel/org.gvsig.vcsgis/org.gvsig.vcsgis.app/org.gvsig.vcsgis.app.server/src/main/resources-plugin/images/action/tools-vcsgis-server-stop.png</at> |
|
448 |
<at name="description">tools-vcsgis-server-stop.png</at> |
|
449 |
<at name="width">16</at> |
|
450 |
<at name="height">16</at> |
|
451 |
</object> |
|
452 |
</at> |
|
453 |
<at name="name">btnStop</at> |
|
454 |
<at name="width">63</at> |
|
455 |
<at name="text">_Stop</at> |
|
456 |
<at name="toolTipText">_Stop_the_data_service</at> |
|
457 |
<at name="height">20</at> |
|
458 |
</object> |
|
459 |
</at> |
|
460 |
</object> |
|
461 |
</at> |
|
462 |
</object> |
|
463 |
</at> |
|
464 |
</item> |
|
465 |
<item > |
|
466 |
<at name="value"> |
|
467 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
468 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
469 |
<at name="cellconstraints"> |
|
470 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
471 |
<at name="column">4</at> |
|
472 |
<at name="row">1</at> |
|
473 |
<at name="colspan">1</at> |
|
474 |
<at name="rowspan">1</at> |
|
475 |
<at name="halign">default</at> |
|
476 |
<at name="valign">default</at> |
|
477 |
<at name="insets" object="insets">0,0,0,0</at> |
|
478 |
</object> |
|
479 |
</at> |
|
480 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
481 |
</super> |
|
482 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
483 |
<at name="beanclass">javax.swing.JButton</at> |
|
484 |
<at name="beanproperties"> |
|
485 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
486 |
<at name="classname">javax.swing.JButton</at> |
|
487 |
<at name="properties"> |
|
488 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
489 |
<at name="border"> |
|
490 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
491 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
492 |
<at name="name">border</at> |
|
493 |
</super> |
|
494 |
<at name="borders"> |
|
495 |
<object classname="java.util.LinkedList"> |
|
496 |
<item > |
|
497 |
<at name="value"> |
|
498 |
<object classname="com.jeta.forms.store.properties.EmptyBorderProperty"> |
|
499 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
500 |
<at name="name">border</at> |
|
501 |
</super> |
|
502 |
<at name="top">2</at> |
|
503 |
<at name="left">2</at> |
|
504 |
<at name="bottom">2</at> |
|
505 |
<at name="right">2</at> |
|
506 |
</object> |
|
507 |
</at> |
|
508 |
</item> |
|
509 |
</object> |
|
510 |
</at> |
|
511 |
</object> |
|
512 |
</at> |
|
513 |
<at name="actionCommand">Restart</at> |
|
514 |
<at name="icon"> |
|
515 |
<object classname="com.jeta.forms.store.properties.IconProperty"> |
|
516 |
<at name="embedded">false</at> |
|
517 |
<at name="path">datos/devel/org.gvsig.vcsgis/org.gvsig.vcsgis.app/org.gvsig.vcsgis.app.server/src/main/resources-plugin/images/action/tools-vcsgis-server-restart.png</at> |
|
518 |
<at name="description">tools-vcsgis-server-restart.png</at> |
|
519 |
<at name="width">16</at> |
|
520 |
<at name="height">16</at> |
|
521 |
</object> |
|
522 |
</at> |
|
523 |
<at name="name">btnRestart</at> |
|
524 |
<at name="width">83</at> |
|
525 |
<at name="text">_Restart</at> |
|
526 |
<at name="toolTipText">_Restart_the_data_service</at> |
|
527 |
<at name="height">20</at> |
|
528 |
</object> |
|
529 |
</at> |
|
530 |
</object> |
|
531 |
</at> |
|
532 |
</object> |
|
533 |
</at> |
|
534 |
</item> |
|
535 |
</object> |
|
536 |
</at> |
|
537 |
<at name="properties"> |
|
538 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
539 |
<at name="classname">com.jeta.forms.gui.form.GridView</at> |
|
540 |
<at name="properties"> |
|
541 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
542 |
<at name="border"> |
|
543 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
544 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
545 |
<at name="name">border</at> |
|
546 |
</super> |
|
547 |
<at name="borders"> |
|
548 |
<object classname="java.util.LinkedList"/> |
|
549 |
</at> |
|
550 |
</object> |
|
551 |
</at> |
|
552 |
<at name="name"></at> |
|
553 |
<at name="fill"> |
|
554 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
555 |
<at name="name">fill</at> |
|
556 |
</object> |
|
557 |
</at> |
|
558 |
<at name="scollBars"> |
|
559 |
<object classname="com.jeta.forms.store.properties.ScrollBarsProperty"> |
|
560 |
<at name="name">scollBars</at> |
|
561 |
<at name="verticalpolicy">21</at> |
|
562 |
<at name="horizontalpolicy">31</at> |
|
563 |
<at name="border"> |
|
564 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
565 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
566 |
<at name="name">border</at> |
|
567 |
</super> |
|
568 |
<at name="borders"> |
|
569 |
<object classname="java.util.LinkedList"> |
|
570 |
<item > |
|
571 |
<at name="value"> |
|
572 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
573 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
574 |
<at name="name">border</at> |
|
575 |
</super> |
|
576 |
</object> |
|
577 |
</at> |
|
578 |
</item> |
|
579 |
</object> |
|
580 |
</at> |
|
581 |
</object> |
|
582 |
</at> |
|
583 |
</object> |
|
584 |
</at> |
|
585 |
</object> |
|
586 |
</at> |
|
587 |
</object> |
|
588 |
</at> |
|
589 |
<at name="cellpainters"> |
|
590 |
<object classname="com.jeta.forms.store.support.Matrix"> |
|
591 |
<at name="rows"> |
|
592 |
<object classname="[Ljava.lang.Object;" size="1"> |
|
593 |
<at name="item" index="0"> |
|
594 |
<object classname="[Ljava.lang.Object;" size="6"/> |
|
595 |
</at> |
|
596 |
</object> |
|
597 |
</at> |
|
598 |
</object> |
|
599 |
</at> |
|
600 |
<at name="rowgroups"> |
|
601 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
602 |
<at name="groups"> |
|
603 |
<object classname="java.util.HashMap"/> |
|
604 |
</at> |
|
605 |
</object> |
|
606 |
</at> |
|
607 |
<at name="colgroups"> |
|
608 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
609 |
<at name="groups"> |
|
610 |
<object classname="java.util.HashMap"/> |
|
611 |
</at> |
|
612 |
</object> |
|
613 |
</at> |
|
614 |
</object> |
|
615 |
</at> |
|
616 |
</item> |
|
617 |
<item > |
|
618 |
<at name="value"> |
|
619 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
620 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
621 |
<at name="cellconstraints"> |
|
622 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
623 |
<at name="column">5</at> |
|
624 |
<at name="row">1</at> |
|
625 |
<at name="colspan">1</at> |
|
626 |
<at name="rowspan">1</at> |
|
627 |
<at name="halign">default</at> |
|
628 |
<at name="valign">default</at> |
|
629 |
<at name="insets" object="insets">0,0,0,0</at> |
|
630 |
</object> |
|
631 |
</at> |
|
632 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
633 |
</super> |
|
634 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
635 |
<at name="beanclass">javax.swing.JButton</at> |
|
636 |
<at name="beanproperties"> |
|
637 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
638 |
<at name="classname">javax.swing.JButton</at> |
|
639 |
<at name="properties"> |
|
640 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
641 |
<at name="border"> |
|
642 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
643 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
644 |
<at name="name">border</at> |
|
645 |
</super> |
|
646 |
<at name="borders"> |
|
647 |
<object classname="java.util.LinkedList"> |
|
648 |
<item > |
|
649 |
<at name="value"> |
|
650 |
<object classname="com.jeta.forms.store.properties.EmptyBorderProperty"> |
|
651 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
652 |
<at name="name">border</at> |
|
653 |
</super> |
|
654 |
<at name="top">2</at> |
|
655 |
<at name="left">2</at> |
|
656 |
<at name="bottom">2</at> |
|
657 |
<at name="right">2</at> |
|
658 |
</object> |
|
659 |
</at> |
|
660 |
</item> |
|
661 |
</object> |
|
662 |
</at> |
|
663 |
</object> |
|
664 |
</at> |
|
665 |
<at name="actionCommand">...</at> |
|
666 |
<at name="name">btnAddConnection</at> |
|
667 |
<at name="width">19</at> |
|
668 |
<at name="text">...</at> |
|
669 |
<at name="height">19</at> |
|
670 |
</object> |
|
671 |
</at> |
|
672 |
</object> |
|
673 |
</at> |
|
674 |
</object> |
|
675 |
</at> |
|
676 |
</item> |
|
677 |
<item > |
|
678 |
<at name="value"> |
|
679 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
680 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
681 |
<at name="cellconstraints"> |
|
682 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
683 |
<at name="column">3</at> |
|
684 |
<at name="row">1</at> |
|
685 |
<at name="colspan">1</at> |
|
686 |
<at name="rowspan">1</at> |
|
687 |
<at name="halign">default</at> |
|
688 |
<at name="valign">default</at> |
|
689 |
<at name="insets" object="insets">0,0,0,0</at> |
|
690 |
</object> |
|
691 |
</at> |
|
692 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
693 |
</super> |
|
694 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
695 |
<at name="beanclass">javax.swing.JComboBox</at> |
|
696 |
<at name="beanproperties"> |
|
697 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
698 |
<at name="classname">javax.swing.JComboBox</at> |
|
699 |
<at name="properties"> |
|
700 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
701 |
<at name="border"> |
|
702 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
703 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
704 |
<at name="name">border</at> |
|
705 |
</super> |
|
706 |
<at name="borders"> |
|
707 |
<object classname="java.util.LinkedList"> |
|
708 |
<item > |
|
709 |
<at name="value"> |
|
710 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
711 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
712 |
<at name="name">border</at> |
|
713 |
</super> |
|
714 |
</object> |
|
715 |
</at> |
|
716 |
</item> |
|
717 |
</object> |
|
718 |
</at> |
|
719 |
</object> |
|
720 |
</at> |
|
721 |
<at name="name">cboConnections</at> |
|
722 |
<at name="width">722</at> |
|
723 |
<at name="items"> |
|
724 |
<object classname="com.jeta.forms.store.properties.ItemsProperty"> |
|
725 |
<at name="name">items</at> |
|
726 |
</object> |
|
727 |
</at> |
|
728 |
<at name="height">24</at> |
|
729 |
</object> |
|
730 |
</at> |
|
731 |
</object> |
|
732 |
</at> |
|
733 |
</object> |
|
734 |
</at> |
|
735 |
</item> |
|
736 |
</object> |
|
737 |
</at> |
|
738 |
<at name="properties"> |
|
739 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
740 |
<at name="classname">com.jeta.forms.gui.form.GridView</at> |
|
741 |
<at name="properties"> |
|
742 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
743 |
<at name="border"> |
|
744 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
745 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
746 |
<at name="name">border</at> |
|
747 |
</super> |
|
748 |
<at name="borders"> |
|
749 |
<object classname="java.util.LinkedList"/> |
|
750 |
</at> |
|
751 |
</object> |
|
752 |
</at> |
|
753 |
<at name="name"></at> |
|
754 |
<at name="fill"> |
|
755 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
756 |
<at name="name">fill</at> |
|
757 |
</object> |
|
758 |
</at> |
|
759 |
<at name="scollBars"> |
|
760 |
<object classname="com.jeta.forms.store.properties.ScrollBarsProperty"> |
|
761 |
<at name="name">scollBars</at> |
|
762 |
<at name="verticalpolicy">21</at> |
|
763 |
<at name="horizontalpolicy">31</at> |
|
764 |
<at name="border"> |
|
765 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
766 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
767 |
<at name="name">border</at> |
|
768 |
</super> |
|
769 |
<at name="borders"> |
|
770 |
<object classname="java.util.LinkedList"> |
|
771 |
<item > |
|
772 |
<at name="value"> |
|
773 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
774 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
775 |
<at name="name">border</at> |
|
776 |
</super> |
|
777 |
</object> |
|
778 |
</at> |
|
779 |
</item> |
|
780 |
</object> |
|
781 |
</at> |
|
782 |
</object> |
|
783 |
</at> |
|
784 |
</object> |
|
785 |
</at> |
|
786 |
</object> |
|
787 |
</at> |
|
788 |
</object> |
|
789 |
</at> |
|
790 |
<at name="cellpainters"> |
|
791 |
<object classname="com.jeta.forms.store.support.Matrix"> |
|
792 |
<at name="rows"> |
|
793 |
<object classname="[Ljava.lang.Object;" size="9"> |
|
794 |
<at name="item" index="0"> |
|
795 |
<object classname="[Ljava.lang.Object;" size="5"/> |
|
796 |
</at> |
|
797 |
<at name="item" index="1"> |
|
798 |
<object classname="[Ljava.lang.Object;" size="5"/> |
|
799 |
</at> |
|
800 |
<at name="item" index="2"> |
|
801 |
<object classname="[Ljava.lang.Object;" size="5"/> |
|
802 |
</at> |
|
803 |
<at name="item" index="3"> |
|
804 |
<object classname="[Ljava.lang.Object;" size="5"/> |
|
805 |
</at> |
|
806 |
<at name="item" index="4"> |
|
807 |
<object classname="[Ljava.lang.Object;" size="5"/> |
|
808 |
</at> |
|
809 |
<at name="item" index="5"> |
|
810 |
<object classname="[Ljava.lang.Object;" size="5"/> |
|
811 |
</at> |
|
812 |
<at name="item" index="6"> |
|
813 |
<object classname="[Ljava.lang.Object;" size="5"/> |
|
814 |
</at> |
|
815 |
<at name="item" index="7"> |
|
816 |
<object classname="[Ljava.lang.Object;" size="5"/> |
|
817 |
</at> |
|
818 |
<at name="item" index="8"> |
|
819 |
<object classname="[Ljava.lang.Object;" size="5"/> |
|
820 |
</at> |
|
821 |
</object> |
|
822 |
</at> |
|
823 |
</object> |
|
824 |
</at> |
|
825 |
<at name="rowgroups"> |
|
826 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
827 |
<at name="groups"> |
|
828 |
<object classname="java.util.HashMap"/> |
|
829 |
</at> |
|
830 |
</object> |
|
831 |
</at> |
|
832 |
<at name="colgroups"> |
|
833 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
834 |
<at name="groups"> |
|
835 |
<object classname="java.util.HashMap"/> |
|
836 |
</at> |
|
837 |
</object> |
|
838 |
</at> |
|
839 |
</object> |
|
840 |
</at> |
|
841 |
</item> |
|
842 |
</object> |
|
843 |
</at> |
|
844 |
<at name="properties"> |
|
845 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
846 |
<at name="classname">com.jeta.forms.gui.form.GridView</at> |
|
847 |
<at name="properties"> |
|
848 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
849 |
<at name="border"> |
|
850 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
851 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
852 |
<at name="name">border</at> |
|
853 |
</super> |
|
854 |
<at name="borders"> |
|
855 |
<object classname="java.util.LinkedList"/> |
|
856 |
</at> |
|
857 |
</object> |
|
858 |
</at> |
|
859 |
<at name="name"></at> |
|
860 |
<at name="fill"> |
|
861 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
862 |
<at name="name">fill</at> |
|
863 |
</object> |
|
864 |
</at> |
|
865 |
<at name="scollBars"> |
|
866 |
<object classname="com.jeta.forms.store.properties.ScrollBarsProperty"> |
|
867 |
<at name="name">scollBars</at> |
|
868 |
<at name="verticalpolicy">21</at> |
|
869 |
<at name="horizontalpolicy">31</at> |
|
870 |
<at name="border"> |
|
871 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
872 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
873 |
<at name="name">border</at> |
|
874 |
</super> |
|
875 |
<at name="borders"> |
|
876 |
<object classname="java.util.LinkedList"> |
|
877 |
<item > |
|
878 |
<at name="value"> |
|
879 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
880 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
881 |
<at name="name">border</at> |
|
882 |
</super> |
|
883 |
</object> |
|
884 |
</at> |
|
885 |
</item> |
|
886 |
</object> |
|
887 |
</at> |
|
888 |
</object> |
|
889 |
</at> |
|
890 |
</object> |
|
891 |
</at> |
|
892 |
</object> |
|
893 |
</at> |
|
894 |
</object> |
|
895 |
</at> |
|
896 |
<at name="cellpainters"> |
|
897 |
<object classname="com.jeta.forms.store.support.Matrix"> |
|
898 |
<at name="rows"> |
|
899 |
<object classname="[Ljava.lang.Object;" size="3"> |
|
900 |
<at name="item" index="0"> |
|
901 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
902 |
</at> |
|
903 |
<at name="item" index="1"> |
|
904 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
905 |
</at> |
|
906 |
<at name="item" index="2"> |
|
907 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
908 |
</at> |
|
909 |
</object> |
|
910 |
</at> |
|
911 |
</object> |
|
912 |
</at> |
|
913 |
<at name="rowgroups"> |
|
914 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
915 |
<at name="groups"> |
|
916 |
<object classname="java.util.HashMap"/> |
|
917 |
</at> |
|
918 |
</object> |
|
919 |
</at> |
|
920 |
<at name="colgroups"> |
|
921 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
922 |
<at name="groups"> |
|
923 |
<object classname="java.util.HashMap"/> |
|
924 |
</at> |
|
925 |
</object> |
|
926 |
</at> |
|
927 |
</object> |
|
928 |
</at> |
|
929 |
</object> |
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.0/org.gvsig.vcsgis.app/org.gvsig.vcsgis.app.server/src/main/java/org/gvsig/vcsgis/app/server/VCSGisServerPanelView.java | ||
---|---|---|
1 |
package org.gvsig.vcsgis.app.server; |
|
2 |
|
|
3 |
import com.jeta.open.i18n.I18NUtils; |
|
4 |
import com.jgoodies.forms.layout.CellConstraints; |
|
5 |
import com.jgoodies.forms.layout.FormLayout; |
|
6 |
import java.awt.BorderLayout; |
|
7 |
import java.awt.ComponentOrientation; |
|
8 |
import java.awt.Container; |
|
9 |
import java.awt.Dimension; |
|
10 |
import javax.swing.Box; |
|
11 |
import javax.swing.ImageIcon; |
|
12 |
import javax.swing.JButton; |
|
13 |
import javax.swing.JComboBox; |
|
14 |
import javax.swing.JFrame; |
|
15 |
import javax.swing.JLabel; |
|
16 |
import javax.swing.JPanel; |
|
17 |
import javax.swing.JScrollPane; |
|
18 |
import javax.swing.JTextArea; |
|
19 |
import javax.swing.JTextField; |
|
20 |
import javax.swing.border.EmptyBorder; |
|
21 |
|
|
22 |
|
|
23 |
public class VCSGisServerPanelView extends JPanel |
|
24 |
{ |
|
25 |
JLabel lblPort = new JLabel(); |
|
26 |
JTextField txtPort = new JTextField(); |
|
27 |
JLabel lblMessages = new JLabel(); |
|
28 |
JTextArea txtLog = new JTextArea(); |
|
29 |
JLabel lblDatabase = new JLabel(); |
|
30 |
JButton btnStop = new JButton(); |
|
31 |
JButton btnRestart = new JButton(); |
|
32 |
JButton btnAddConnection = new JButton(); |
|
33 |
JComboBox cboConnections = new JComboBox(); |
|
34 |
|
|
35 |
/** |
|
36 |
* Default constructor |
|
37 |
*/ |
|
38 |
public VCSGisServerPanelView() |
|
39 |
{ |
|
40 |
initializePanel(); |
|
41 |
} |
|
42 |
|
|
43 |
/** |
|
44 |
* Adds fill components to empty cells in the first row and first column of the grid. |
|
45 |
* This ensures that the grid spacing will be the same as shown in the designer. |
|
46 |
* @param cols an array of column indices in the first row where fill components should be added. |
|
47 |
* @param rows an array of row indices in the first column where fill components should be added. |
|
48 |
*/ |
|
49 |
void addFillComponents( Container panel, int[] cols, int[] rows ) |
|
50 |
{ |
|
51 |
Dimension filler = new Dimension(10,10); |
|
52 |
|
|
53 |
boolean filled_cell_11 = false; |
|
54 |
CellConstraints cc = new CellConstraints(); |
|
55 |
if ( cols.length > 0 && rows.length > 0 ) |
|
56 |
{ |
|
57 |
if ( cols[0] == 1 && rows[0] == 1 ) |
|
58 |
{ |
|
59 |
/** add a rigid area */ |
|
60 |
panel.add( Box.createRigidArea( filler ), cc.xy(1,1) ); |
|
61 |
filled_cell_11 = true; |
|
62 |
} |
|
63 |
} |
|
64 |
|
|
65 |
for( int index = 0; index < cols.length; index++ ) |
|
66 |
{ |
|
67 |
if ( cols[index] == 1 && filled_cell_11 ) |
|
68 |
{ |
|
69 |
continue; |
|
70 |
} |
|
71 |
panel.add( Box.createRigidArea( filler ), cc.xy(cols[index],1) ); |
|
72 |
} |
|
73 |
|
|
74 |
for( int index = 0; index < rows.length; index++ ) |
|
75 |
{ |
|
76 |
if ( rows[index] == 1 && filled_cell_11 ) |
|
77 |
{ |
|
78 |
continue; |
|
79 |
} |
|
80 |
panel.add( Box.createRigidArea( filler ), cc.xy(1,rows[index]) ); |
|
81 |
} |
|
82 |
|
|
83 |
} |
|
84 |
|
|
85 |
/** |
|
86 |
* Helper method to load an image file from the CLASSPATH |
|
87 |
* @param imageName the package and name of the file to load relative to the CLASSPATH |
|
88 |
* @return an ImageIcon instance with the specified image file |
|
89 |
* @throws IllegalArgumentException if the image resource cannot be loaded. |
|
90 |
*/ |
|
91 |
public ImageIcon loadImage( String imageName ) |
|
92 |
{ |
|
93 |
try |
|
94 |
{ |
|
95 |
ClassLoader classloader = getClass().getClassLoader(); |
|
96 |
java.net.URL url = classloader.getResource( imageName ); |
|
97 |
if ( url != null ) |
|
98 |
{ |
|
99 |
ImageIcon icon = new ImageIcon( url ); |
|
100 |
return icon; |
|
101 |
} |
|
102 |
} |
|
103 |
catch( Exception e ) |
|
104 |
{ |
|
105 |
e.printStackTrace(); |
|
106 |
} |
|
107 |
throw new IllegalArgumentException( "Unable to load image: " + imageName ); |
|
108 |
} |
Also available in: Unified diff