Revision 1238
org.gvsig.scripting/tags/org.gvsig.scripting-2.3.93/org.gvsig.scripting.app/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
|
2 |
|
|
3 |
<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"> |
|
4 |
<modelVersion>4.0.0</modelVersion> |
|
5 |
<artifactId>org.gvsig.scripting.app</artifactId> |
|
6 |
<packaging>pom</packaging> |
|
7 |
<name>${project.artifactId}</name> |
|
8 |
<parent> |
|
9 |
<groupId>org.gvsig</groupId> |
|
10 |
<artifactId>org.gvsig.scripting</artifactId> |
|
11 |
<version>2.3.93</version> |
|
12 |
</parent> |
|
13 |
|
|
14 |
<modules> |
|
15 |
<module>org.gvsig.scripting.app.mainplugin</module> |
|
16 |
</modules> |
|
17 |
</project> |
org.gvsig.scripting/tags/org.gvsig.scripting-2.3.93/org.gvsig.scripting.app/org.gvsig.scripting.app.mainplugin/src/main/java/org/gvsig/scripting/app/extension/ScriptingMain.java | ||
---|---|---|
1 |
package org.gvsig.scripting.app.extension; |
|
2 |
|
|
3 |
import java.io.File; |
|
4 |
import java.net.URL; |
|
5 |
import java.util.ArrayList; |
|
6 |
import java.util.HashMap; |
|
7 |
import java.util.List; |
|
8 |
import java.util.Map; |
|
9 |
import javax.swing.UIManager; |
|
10 |
import org.apache.commons.cli.CommandLine; |
|
11 |
import org.apache.commons.cli.CommandLineParser; |
|
12 |
import org.apache.commons.cli.Options; |
|
13 |
import org.apache.commons.cli.PosixParser; |
|
14 |
import org.apache.commons.io.FileUtils; |
|
15 |
import org.gvsig.about.AboutLocator; |
|
16 |
import org.gvsig.about.AboutManager; |
|
17 |
import org.gvsig.scripting.ScriptingManager; |
|
18 |
import org.gvsig.scripting.swing.api.ScriptingSwingLocator; |
|
19 |
import org.gvsig.scripting.swing.api.ScriptingUIManager; |
|
20 |
import org.gvsig.tools.ToolsLocator; |
|
21 |
import org.gvsig.tools.exception.BaseException; |
|
22 |
import org.gvsig.tools.library.impl.DefaultLibrariesInitializer; |
|
23 |
import org.gvsig.tools.packageutils.PackageInfo; |
|
24 |
import org.gvsig.tools.packageutils.PackageManager; |
|
25 |
import org.gvsig.tools.packageutils.Version; |
|
26 |
|
|
27 |
/** |
|
28 |
* |
|
29 |
* @author jjdelcerro |
|
30 |
*/ |
|
31 |
public class ScriptingMain { |
|
32 |
|
|
33 |
private File applicationFolder = null; |
|
34 |
private Version applicacionVersion = null; |
|
35 |
private List<File> pluginsFolder = null; |
|
36 |
private File applicationHomeFolder; |
|
37 |
private File installFolder; |
|
38 |
private int applicacionBuildNumber; |
|
39 |
|
|
40 |
private ScriptingUtils utils; |
|
41 |
|
|
42 |
public static void main(String args[]) throws Exception { |
|
43 |
ScriptingMain main = new ScriptingMain(); |
|
44 |
main.doMain(args); |
|
45 |
} |
|
46 |
|
|
47 |
public File getApplicationFolder() { |
|
48 |
if (applicationFolder == null) { |
|
49 |
applicationFolder = new File(System.getProperty("user.dir")); |
|
50 |
} |
|
51 |
return applicationFolder; |
|
52 |
} |
|
53 |
|
|
54 |
public File getApplicationHomeFolder() { |
|
55 |
if (applicationHomeFolder == null) { |
|
56 |
applicationHomeFolder = new File(System.getProperty("user.home")); |
|
57 |
} |
|
58 |
return applicationHomeFolder; |
|
59 |
} |
|
60 |
|
|
61 |
public File getInstallFolder() { |
|
62 |
if (installFolder == null) { |
|
63 |
installFolder = FileUtils.getFile(getApplicationFolder(), "install"); |
|
64 |
} |
|
65 |
return this.installFolder; |
|
66 |
} |
|
67 |
|
|
68 |
public Version getApplicationVersion() throws BaseException { |
|
69 |
if (applicacionVersion == null) { |
|
70 |
PackageManager packageManager = ToolsLocator.getPackageManager(); |
|
71 |
PackageInfo packageInfo = packageManager.createPackageInfo( |
|
72 |
new File(this.applicationFolder, "package.info") |
|
73 |
); |
|
74 |
applicacionVersion = (Version) packageInfo.getVersion(); |
|
75 |
} |
|
76 |
return applicacionVersion; |
|
77 |
} |
|
78 |
|
|
79 |
public int getApplicationBuildNumber() throws BaseException { |
|
80 |
if (applicacionBuildNumber == 0) { |
|
81 |
applicacionBuildNumber = getApplicationVersion().getBuild(); |
|
82 |
} |
|
83 |
return this.applicacionBuildNumber; |
|
84 |
} |
|
85 |
|
|
86 |
public List<File> getPluginsFolder() { |
|
87 |
List<File> folders = new ArrayList<>(); |
|
88 |
folders.add(FileUtils.getFile(this.getApplicationFolder(), "gvSIG", "extensiones")); |
|
89 |
folders.add(FileUtils.getFile(this.getApplicationHomeFolder(), "gvSIG", "installation", "gvSIG", "extensiones")); |
|
90 |
return folders; |
|
91 |
} |
|
92 |
|
|
93 |
public File getPluginHomeFolder() { |
|
94 |
File f = this.getApplicationHomeFolder(); |
|
95 |
f = FileUtils.getFile(f, "gvSIG", "plugins", "org.gvsig.scripting.app.mainplugin"); |
|
96 |
return f; |
|
97 |
} |
|
98 |
|
|
99 |
private void initializeAbout() throws Exception { |
|
100 |
AboutManager aboutManager = AboutLocator.getManager(); |
|
101 |
|
|
102 |
String build = String.valueOf(this.getApplicationBuildNumber()); |
|
103 |
String version = this.getApplicationVersion().toString(); |
|
104 |
|
|
105 |
Map<String, String> gvsig_vars = new HashMap<>(); |
|
106 |
gvsig_vars.put("version", version); |
|
107 |
gvsig_vars.put("build", build); |
|
108 |
aboutManager.setProject( |
|
109 |
"gvSIG Desktop", |
|
110 |
getResource("gvsig.html"), |
|
111 |
null, |
|
112 |
gvsig_vars); |
|
113 |
aboutManager.getProject().set("build", build); |
|
114 |
|
|
115 |
aboutManager.addSponsor( |
|
116 |
"Generalitat Valenciana", |
|
117 |
getResource("gva.html"), |
|
118 |
1); |
|
119 |
|
|
120 |
aboutManager.addDeveloper( |
|
121 |
"gvSIG Asocicion", |
|
122 |
getResource("gvSIG-asociacion.html"), |
|
123 |
2); |
|
124 |
|
|
125 |
} |
|
126 |
|
|
127 |
public void doMain(String args[]) throws Exception { |
|
128 |
|
|
129 |
String lookAndFeel = "com.jgoodies.looks.plastic.PlasticXPLookAndFeel"; |
|
130 |
try { |
|
131 |
UIManager.setLookAndFeel(lookAndFeel); |
|
132 |
} catch(Throwable th) { |
|
133 |
|
|
134 |
} |
|
135 |
|
|
136 |
new DefaultLibrariesInitializer().fullInitialize(); |
|
137 |
|
|
138 |
initializeAbout(); |
|
139 |
|
|
140 |
this.utils = new ScriptingUtils(); |
|
141 |
this.utils.initializaPaths( |
|
142 |
this.getPluginsFolder(), |
|
143 |
this.getInstallFolder(), |
|
144 |
this.getPluginHomeFolder(), |
|
145 |
this.getApplicationVersion().format("%M.%m.%r") |
|
146 |
); |
|
147 |
|
|
148 |
ScriptingUIManager uimanager = ScriptingSwingLocator.getUIManager(); |
|
149 |
ScriptingManager manager = uimanager.getManager(); |
|
150 |
|
|
151 |
Options options = new Options(); |
|
152 |
options.addOption("d", |
|
153 |
"debug", |
|
154 |
false, |
|
155 |
""); |
|
156 |
options.addOption("p", |
|
157 |
"pause", |
|
158 |
false, |
|
159 |
""); |
|
160 |
options.addOption("l", |
|
161 |
"launcher", |
|
162 |
false, |
|
163 |
"Show the launcher window"); |
|
164 |
options.addOption("c", |
|
165 |
"composer", |
|
166 |
false, |
|
167 |
"Show the composer window"); |
|
168 |
options.addOption("r", |
|
169 |
"run", |
|
170 |
true, |
|
171 |
"Run the specified script"); |
|
172 |
options.addOption("h", |
|
173 |
"home", |
|
174 |
true, |
|
175 |
"Specify for the home of the script framework"); |
|
176 |
CommandLineParser parser = new PosixParser(); |
|
177 |
CommandLine line = null; |
|
178 |
boolean runLauncherAtEnd = true; |
|
179 |
|
|
180 |
line = parser.parse(options, args); |
|
181 |
if (line.hasOption("home")) { |
|
182 |
manager.setHomeFolder(new File(line.getOptionValue("home"))); |
|
183 |
} |
|
184 |
if (line.hasOption("composer")) { |
|
185 |
runLauncherAtEnd = false; |
|
186 |
utils.runComposer(); |
|
187 |
} |
|
188 |
if (line.hasOption("run")) { |
|
189 |
runLauncherAtEnd = false; |
|
190 |
utils.runScript(line.getOptionValue("run"), line.getArgs()); |
|
191 |
} |
|
192 |
if( runLauncherAtEnd ) { |
|
193 |
utils.runLauncher(); |
|
194 |
} |
|
195 |
} |
|
196 |
|
|
197 |
private URL getResource(String name) { |
|
198 |
URL resource = this.getClass().getResource(name); |
|
199 |
return resource; |
|
200 |
} |
|
201 |
|
|
202 |
} |
org.gvsig.scripting/tags/org.gvsig.scripting-2.3.93/org.gvsig.scripting.app/org.gvsig.scripting.app.mainplugin/src/main/java/org/gvsig/scripting/app/extension/DataFoldersRecoverPanelView.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.scripting/org.gvsig.scripting.app/org.gvsig.scripting.app.mainplugin/src/main/java/org/gvsig/scripting/app/extension/DataFoldersRecoverPanelView.xml</at> |
|
28 |
<at name="rowspecs">CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE</at> |
|
29 |
<at name="colspecs">FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE</at> |
|
30 |
<at name="components"> |
|
31 |
<object classname="java.util.LinkedList"> |
|
32 |
<item > |
|
33 |
<at name="value"> |
|
34 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
35 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
36 |
<at name="cellconstraints"> |
|
37 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
38 |
<at name="column">2</at> |
|
39 |
<at name="row">2</at> |
|
40 |
<at name="colspan">1</at> |
|
41 |
<at name="rowspan">1</at> |
|
42 |
<at name="halign">default</at> |
|
43 |
<at name="valign">default</at> |
|
44 |
<at name="insets" object="insets">0,0,0,0</at> |
|
45 |
</object> |
|
46 |
</at> |
|
47 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
48 |
</super> |
|
49 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
50 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
51 |
<at name="beanproperties"> |
|
52 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
53 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
54 |
<at name="properties"> |
|
55 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
56 |
<at name="border"> |
|
57 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
58 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
59 |
<at name="name">border</at> |
|
60 |
</super> |
|
61 |
<at name="borders"> |
|
62 |
<object classname="java.util.LinkedList"> |
|
63 |
<item > |
|
64 |
<at name="value"> |
|
65 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
66 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
67 |
<at name="name">border</at> |
|
68 |
</super> |
|
69 |
</object> |
|
70 |
</at> |
|
71 |
</item> |
|
72 |
</object> |
|
73 |
</at> |
|
74 |
</object> |
|
75 |
</at> |
|
76 |
<at name="name">lblMsg1</at> |
|
77 |
<at name="width">583</at> |
|
78 |
<at name="text"><html>Han sido encontradas preferencias de versiones anteriores para algunos complementos.</html></at> |
|
79 |
<at name="fill"> |
|
80 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
81 |
<at name="name">fill</at> |
|
82 |
</object> |
|
83 |
</at> |
|
84 |
<at name="height">14</at> |
|
85 |
</object> |
|
86 |
</at> |
|
87 |
</object> |
|
88 |
</at> |
|
89 |
</object> |
|
90 |
</at> |
|
91 |
</item> |
|
92 |
<item > |
|
93 |
<at name="value"> |
|
94 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
95 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
96 |
<at name="cellconstraints"> |
|
97 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
98 |
<at name="column">2</at> |
|
99 |
<at name="row">4</at> |
|
100 |
<at name="colspan">1</at> |
|
101 |
<at name="rowspan">1</at> |
|
102 |
<at name="halign">default</at> |
|
103 |
<at name="valign">default</at> |
|
104 |
<at name="insets" object="insets">0,0,0,0</at> |
|
105 |
</object> |
|
106 |
</at> |
|
107 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
108 |
</super> |
|
109 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
110 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
111 |
<at name="beanproperties"> |
|
112 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
113 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
114 |
<at name="properties"> |
|
115 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
116 |
<at name="border"> |
|
117 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
118 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
119 |
<at name="name">border</at> |
|
120 |
</super> |
|
121 |
<at name="borders"> |
|
122 |
<object classname="java.util.LinkedList"> |
|
123 |
<item > |
|
124 |
<at name="value"> |
|
125 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
126 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
127 |
<at name="name">border</at> |
|
128 |
</super> |
|
129 |
</object> |
|
130 |
</at> |
|
131 |
</item> |
|
132 |
</object> |
|
133 |
</at> |
|
134 |
</object> |
|
135 |
</at> |
|
136 |
<at name="name">lblMsg2</at> |
|
137 |
<at name="width">583</at> |
|
138 |
<at name="text"><html>Seleccione los complementos para los que desea recuperar las preferencias de versiones anteriores</html></at> |
|
139 |
<at name="fill"> |
|
140 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
141 |
<at name="name">fill</at> |
|
142 |
</object> |
|
143 |
</at> |
|
144 |
<at name="height">14</at> |
|
145 |
</object> |
|
146 |
</at> |
|
147 |
</object> |
|
148 |
</at> |
|
149 |
</object> |
|
150 |
</at> |
|
151 |
</item> |
|
152 |
<item > |
|
153 |
<at name="value"> |
|
154 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
155 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
156 |
<at name="cellconstraints"> |
|
157 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
158 |
<at name="column">2</at> |
|
159 |
<at name="row">6</at> |
|
160 |
<at name="colspan">1</at> |
|
161 |
<at name="rowspan">1</at> |
|
162 |
<at name="halign">default</at> |
|
163 |
<at name="valign">default</at> |
|
164 |
<at name="insets" object="insets">0,0,0,0</at> |
|
165 |
</object> |
|
166 |
</at> |
|
167 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
168 |
</super> |
|
169 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
170 |
<at name="beanclass">javax.swing.JList</at> |
|
171 |
<at name="beanproperties"> |
|
172 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
173 |
<at name="classname">javax.swing.JList</at> |
|
174 |
<at name="properties"> |
|
175 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
176 |
<at name="border"> |
|
177 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
178 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
179 |
<at name="name">border</at> |
|
180 |
</super> |
|
181 |
<at name="borders"> |
|
182 |
<object classname="java.util.LinkedList"> |
|
183 |
<item > |
|
184 |
<at name="value"> |
|
185 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
186 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
187 |
<at name="name">border</at> |
|
188 |
</super> |
|
189 |
</object> |
|
190 |
</at> |
|
191 |
</item> |
|
192 |
</object> |
|
193 |
</at> |
|
194 |
</object> |
|
195 |
</at> |
|
196 |
<at name="scrollableTracksViewportHeight">true</at> |
|
197 |
<at name="scrollableTracksViewportWidth">true</at> |
|
198 |
<at name="name">lstDataFolders</at> |
|
199 |
<at name="width">581</at> |
|
200 |
<at name="items"> |
|
201 |
<object classname="com.jeta.forms.store.properties.ItemsProperty"> |
|
202 |
<at name="name">items</at> |
|
203 |
</object> |
|
204 |
</at> |
|
205 |
<at name="scollBars"> |
|
206 |
<object classname="com.jeta.forms.store.properties.ScrollBarsProperty"> |
|
207 |
<at name="name">scollBars</at> |
|
208 |
<at name="verticalpolicy">20</at> |
|
209 |
<at name="horizontalpolicy">30</at> |
|
210 |
<at name="border"> |
|
211 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
212 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
213 |
<at name="name">border</at> |
|
214 |
</super> |
|
215 |
<at name="borders"> |
|
216 |
<object classname="java.util.LinkedList"> |
|
217 |
<item > |
|
218 |
<at name="value"> |
|
219 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
220 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
221 |
<at name="name">border</at> |
|
222 |
</super> |
|
223 |
</object> |
|
224 |
</at> |
|
225 |
</item> |
|
226 |
</object> |
|
227 |
</at> |
|
228 |
</object> |
|
229 |
</at> |
|
230 |
</object> |
|
231 |
</at> |
|
232 |
<at name="height">289</at> |
|
233 |
</object> |
|
234 |
</at> |
|
235 |
</object> |
|
236 |
</at> |
|
237 |
</object> |
|
238 |
</at> |
|
239 |
</item> |
|
240 |
<item > |
|
241 |
<at name="value"> |
|
242 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
243 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
244 |
<at name="cellconstraints"> |
|
245 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
246 |
<at name="column">2</at> |
|
247 |
<at name="row">22</at> |
|
248 |
<at name="colspan">1</at> |
|
249 |
<at name="rowspan">1</at> |
|
250 |
<at name="halign">default</at> |
|
251 |
<at name="valign">default</at> |
|
252 |
<at name="insets" object="insets">0,0,0,0</at> |
|
253 |
</object> |
|
254 |
</at> |
|
255 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
256 |
</super> |
|
257 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
258 |
<at name="beanclass">javax.swing.JTextField</at> |
|
259 |
<at name="beanproperties"> |
|
260 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
261 |
<at name="classname">javax.swing.JTextField</at> |
|
262 |
<at name="properties"> |
|
263 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
264 |
<at name="border"> |
|
265 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
266 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
267 |
<at name="name">border</at> |
|
268 |
</super> |
|
269 |
<at name="borders"> |
|
270 |
<object classname="java.util.LinkedList"> |
|
271 |
<item > |
|
272 |
<at name="value"> |
|
273 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
274 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
275 |
<at name="name">border</at> |
|
276 |
</super> |
|
277 |
</object> |
|
278 |
</at> |
|
279 |
</item> |
|
280 |
</object> |
|
281 |
</at> |
|
282 |
</object> |
|
283 |
</at> |
|
284 |
<at name="name">txtOldFolder</at> |
|
285 |
<at name="width">583</at> |
|
286 |
<at name="enabled">false</at> |
|
287 |
<at name="height">20</at> |
|
288 |
</object> |
|
289 |
</at> |
|
290 |
</object> |
|
291 |
</at> |
|
292 |
</object> |
|
293 |
</at> |
|
294 |
</item> |
|
295 |
<item > |
|
296 |
<at name="value"> |
|
297 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
298 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
299 |
<at name="cellconstraints"> |
|
300 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
301 |
<at name="column">2</at> |
|
302 |
<at name="row">20</at> |
|
303 |
<at name="colspan">1</at> |
|
304 |
<at name="rowspan">1</at> |
|
305 |
<at name="halign">default</at> |
|
306 |
<at name="valign">default</at> |
|
307 |
<at name="insets" object="insets">0,0,0,0</at> |
|
308 |
</object> |
|
309 |
</at> |
|
310 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
311 |
</super> |
|
312 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
313 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
314 |
<at name="beanproperties"> |
|
315 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
316 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
317 |
<at name="properties"> |
|
318 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
319 |
<at name="border"> |
|
320 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
321 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
322 |
<at name="name">border</at> |
|
323 |
</super> |
|
324 |
<at name="borders"> |
|
325 |
<object classname="java.util.LinkedList"> |
|
326 |
<item > |
|
327 |
<at name="value"> |
|
328 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
329 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
330 |
<at name="name">border</at> |
|
331 |
</super> |
|
332 |
</object> |
|
333 |
</at> |
|
334 |
</item> |
|
335 |
</object> |
|
336 |
</at> |
|
337 |
</object> |
|
338 |
</at> |
|
339 |
<at name="name">lblRestoreFromFolder</at> |
|
340 |
<at name="width">583</at> |
|
341 |
<at name="text">Recuperar desde la carpeta</at> |
|
342 |
<at name="fill"> |
|
343 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
344 |
<at name="name">fill</at> |
|
345 |
</object> |
|
346 |
</at> |
|
347 |
<at name="height">14</at> |
|
348 |
</object> |
|
349 |
</at> |
|
350 |
</object> |
|
351 |
</at> |
|
352 |
</object> |
|
353 |
</at> |
|
354 |
</item> |
|
355 |
<item > |
|
356 |
<at name="value"> |
|
357 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
358 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
359 |
<at name="cellconstraints"> |
|
360 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
361 |
<at name="column">2</at> |
|
362 |
<at name="row">8</at> |
|
363 |
<at name="colspan">1</at> |
|
364 |
<at name="rowspan">1</at> |
|
365 |
<at name="halign">default</at> |
|
366 |
<at name="valign">default</at> |
|
367 |
<at name="insets" object="insets">0,0,0,0</at> |
|
368 |
</object> |
|
369 |
</at> |
|
370 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
371 |
</super> |
|
372 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
373 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
374 |
<at name="beanproperties"> |
|
375 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
376 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
377 |
<at name="properties"> |
|
378 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
379 |
<at name="border"> |
|
380 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
381 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
382 |
<at name="name">border</at> |
|
383 |
</super> |
|
384 |
<at name="borders"> |
|
385 |
<object classname="java.util.LinkedList"> |
|
386 |
<item > |
|
387 |
<at name="value"> |
|
388 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
389 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
390 |
<at name="name">border</at> |
|
391 |
</super> |
|
392 |
</object> |
|
393 |
</at> |
|
394 |
</item> |
|
395 |
</object> |
|
396 |
</at> |
|
397 |
</object> |
|
398 |
</at> |
|
399 |
<at name="name">lblApplication</at> |
|
400 |
<at name="width">583</at> |
|
401 |
<at name="text">Applicacion</at> |
|
402 |
<at name="fill"> |
|
403 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
404 |
<at name="name">fill</at> |
|
405 |
</object> |
|
406 |
</at> |
|
407 |
<at name="height">14</at> |
|
408 |
</object> |
|
409 |
</at> |
|
410 |
</object> |
|
411 |
</at> |
|
412 |
</object> |
|
413 |
</at> |
|
414 |
</item> |
|
415 |
<item > |
|
416 |
<at name="value"> |
|
417 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
418 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
419 |
<at name="cellconstraints"> |
|
420 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
421 |
<at name="column">2</at> |
|
422 |
<at name="row">10</at> |
|
423 |
<at name="colspan">1</at> |
|
424 |
<at name="rowspan">1</at> |
|
425 |
<at name="halign">default</at> |
|
426 |
<at name="valign">default</at> |
|
427 |
<at name="insets" object="insets">0,0,0,0</at> |
|
428 |
</object> |
|
429 |
</at> |
|
430 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
431 |
</super> |
|
432 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
433 |
<at name="beanclass">javax.swing.JTextField</at> |
|
434 |
<at name="beanproperties"> |
|
435 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
436 |
<at name="classname">javax.swing.JTextField</at> |
|
437 |
<at name="properties"> |
|
438 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
439 |
<at name="border"> |
|
440 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
441 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
442 |
<at name="name">border</at> |
|
443 |
</super> |
|
444 |
<at name="borders"> |
|
445 |
<object classname="java.util.LinkedList"> |
|
446 |
<item > |
|
447 |
<at name="value"> |
|
448 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
449 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
450 |
<at name="name">border</at> |
|
451 |
</super> |
|
452 |
</object> |
|
453 |
</at> |
|
454 |
</item> |
|
455 |
</object> |
|
456 |
</at> |
|
457 |
</object> |
|
458 |
</at> |
|
459 |
<at name="name">txtApplication</at> |
|
460 |
<at name="width">583</at> |
|
461 |
<at name="enabled">false</at> |
|
462 |
<at name="height">20</at> |
|
463 |
</object> |
|
464 |
</at> |
|
465 |
</object> |
|
466 |
</at> |
|
467 |
</object> |
|
468 |
</at> |
|
469 |
</item> |
|
470 |
<item > |
|
471 |
<at name="value"> |
|
472 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
473 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
474 |
<at name="cellconstraints"> |
|
475 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
476 |
<at name="column">2</at> |
|
477 |
<at name="row">18</at> |
|
478 |
<at name="colspan">1</at> |
|
479 |
<at name="rowspan">1</at> |
|
480 |
<at name="halign">default</at> |
|
481 |
<at name="valign">default</at> |
|
482 |
<at name="insets" object="insets">0,0,0,0</at> |
|
483 |
</object> |
|
484 |
</at> |
|
485 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
486 |
</super> |
|
487 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
488 |
<at name="beanclass">javax.swing.JTextField</at> |
|
489 |
<at name="beanproperties"> |
|
490 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
491 |
<at name="classname">javax.swing.JTextField</at> |
|
492 |
<at name="properties"> |
|
493 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
494 |
<at name="border"> |
|
495 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
496 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
497 |
<at name="name">border</at> |
|
498 |
</super> |
|
499 |
<at name="borders"> |
|
500 |
<object classname="java.util.LinkedList"> |
|
501 |
<item > |
|
502 |
<at name="value"> |
|
503 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
504 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
505 |
<at name="name">border</at> |
|
506 |
</super> |
|
507 |
</object> |
|
508 |
</at> |
|
509 |
</item> |
|
510 |
</object> |
|
511 |
</at> |
|
512 |
</object> |
|
513 |
</at> |
|
514 |
<at name="name">txtPath</at> |
|
515 |
<at name="width">583</at> |
|
516 |
<at name="enabled">false</at> |
|
517 |
<at name="height">20</at> |
|
518 |
</object> |
|
519 |
</at> |
|
520 |
</object> |
|
521 |
</at> |
|
522 |
</object> |
|
523 |
</at> |
|
524 |
</item> |
|
525 |
<item > |
|
526 |
<at name="value"> |
|
527 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
528 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
529 |
<at name="cellconstraints"> |
|
530 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
531 |
<at name="column">2</at> |
|
532 |
<at name="row">16</at> |
|
533 |
<at name="colspan">1</at> |
|
534 |
<at name="rowspan">1</at> |
|
535 |
<at name="halign">default</at> |
|
536 |
<at name="valign">default</at> |
|
537 |
<at name="insets" object="insets">0,0,0,0</at> |
|
538 |
</object> |
|
539 |
</at> |
|
540 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
541 |
</super> |
|
542 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
543 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
544 |
<at name="beanproperties"> |
|
545 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
546 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
547 |
<at name="properties"> |
|
548 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
549 |
<at name="border"> |
|
550 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
551 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
552 |
<at name="name">border</at> |
|
553 |
</super> |
|
554 |
<at name="borders"> |
|
555 |
<object classname="java.util.LinkedList"> |
|
556 |
<item > |
|
557 |
<at name="value"> |
|
558 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
559 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
560 |
<at name="name">border</at> |
|
561 |
</super> |
|
562 |
</object> |
|
563 |
</at> |
|
564 |
</item> |
|
565 |
</object> |
|
566 |
</at> |
|
567 |
</object> |
|
568 |
</at> |
|
569 |
<at name="name">lblPath</at> |
|
570 |
<at name="width">583</at> |
|
571 |
<at name="text">Ruta</at> |
|
572 |
<at name="fill"> |
|
573 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
574 |
<at name="name">fill</at> |
|
575 |
</object> |
|
576 |
</at> |
|
577 |
<at name="height">14</at> |
|
578 |
</object> |
|
579 |
</at> |
|
580 |
</object> |
|
581 |
</at> |
|
582 |
</object> |
|
583 |
</at> |
|
584 |
</item> |
|
585 |
<item > |
|
586 |
<at name="value"> |
|
587 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
588 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
589 |
<at name="cellconstraints"> |
|
590 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
591 |
<at name="column">2</at> |
|
592 |
<at name="row">12</at> |
|
593 |
<at name="colspan">1</at> |
|
594 |
<at name="rowspan">1</at> |
|
595 |
<at name="halign">default</at> |
|
596 |
<at name="valign">default</at> |
|
597 |
<at name="insets" object="insets">0,0,0,0</at> |
|
598 |
</object> |
|
599 |
</at> |
|
600 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
601 |
</super> |
|
602 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
603 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
604 |
<at name="beanproperties"> |
|
605 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
606 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
607 |
<at name="properties"> |
|
608 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
609 |
<at name="border"> |
|
610 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
611 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
612 |
<at name="name">border</at> |
|
613 |
</super> |
|
614 |
<at name="borders"> |
|
615 |
<object classname="java.util.LinkedList"> |
|
616 |
<item > |
|
617 |
<at name="value"> |
|
618 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
619 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
620 |
<at name="name">border</at> |
|
621 |
</super> |
|
622 |
</object> |
|
623 |
</at> |
|
624 |
</item> |
|
625 |
</object> |
|
626 |
</at> |
|
627 |
</object> |
|
628 |
</at> |
|
629 |
<at name="name">lblPath</at> |
|
630 |
<at name="width">583</at> |
|
631 |
<at name="text">Preferencias</at> |
|
632 |
<at name="fill"> |
|
633 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
634 |
<at name="name">fill</at> |
|
635 |
</object> |
|
636 |
</at> |
|
637 |
<at name="height">14</at> |
|
638 |
</object> |
|
639 |
</at> |
|
640 |
</object> |
|
641 |
</at> |
|
642 |
</object> |
|
643 |
</at> |
|
644 |
</item> |
|
645 |
<item > |
|
646 |
<at name="value"> |
|
647 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
648 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
649 |
<at name="cellconstraints"> |
|
650 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
651 |
<at name="column">2</at> |
|
652 |
<at name="row">14</at> |
|
653 |
<at name="colspan">1</at> |
|
654 |
<at name="rowspan">1</at> |
|
655 |
<at name="halign">default</at> |
|
656 |
<at name="valign">default</at> |
|
657 |
<at name="insets" object="insets">0,0,0,0</at> |
|
658 |
</object> |
|
659 |
</at> |
|
660 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
661 |
</super> |
|
662 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
663 |
<at name="beanclass">javax.swing.JTextField</at> |
|
664 |
<at name="beanproperties"> |
|
665 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
666 |
<at name="classname">javax.swing.JTextField</at> |
|
667 |
<at name="properties"> |
|
668 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
669 |
<at name="border"> |
|
670 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
671 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
672 |
<at name="name">border</at> |
|
673 |
</super> |
|
674 |
<at name="borders"> |
|
675 |
<object classname="java.util.LinkedList"> |
|
676 |
<item > |
|
677 |
<at name="value"> |
|
678 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
679 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
680 |
<at name="name">border</at> |
|
681 |
</super> |
|
682 |
</object> |
|
683 |
</at> |
|
684 |
</item> |
|
685 |
</object> |
|
686 |
</at> |
|
687 |
</object> |
|
688 |
</at> |
|
689 |
<at name="name">txtPreferencias</at> |
|
690 |
<at name="width">583</at> |
|
691 |
<at name="enabled">false</at> |
|
692 |
<at name="height">20</at> |
|
693 |
</object> |
|
694 |
</at> |
|
695 |
</object> |
|
696 |
</at> |
|
697 |
</object> |
|
698 |
</at> |
|
699 |
</item> |
|
700 |
</object> |
|
701 |
</at> |
|
702 |
<at name="properties"> |
|
703 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
704 |
<at name="classname">com.jeta.forms.gui.form.GridView</at> |
|
705 |
<at name="properties"> |
|
706 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
707 |
<at name="border"> |
|
708 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
709 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
710 |
<at name="name">border</at> |
|
711 |
</super> |
|
712 |
<at name="borders"> |
|
713 |
<object classname="java.util.LinkedList"/> |
|
714 |
</at> |
|
715 |
</object> |
|
716 |
</at> |
|
717 |
<at name="name"></at> |
|
718 |
<at name="fill"> |
|
719 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
720 |
<at name="name">fill</at> |
|
721 |
</object> |
|
722 |
</at> |
|
723 |
<at name="scollBars"> |
|
724 |
<object classname="com.jeta.forms.store.properties.ScrollBarsProperty"> |
|
725 |
<at name="name">scollBars</at> |
|
726 |
<at name="verticalpolicy">21</at> |
|
727 |
<at name="horizontalpolicy">31</at> |
|
728 |
<at name="border"> |
|
729 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
730 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
731 |
<at name="name">border</at> |
|
732 |
</super> |
|
733 |
<at name="borders"> |
|
734 |
<object classname="java.util.LinkedList"> |
|
735 |
<item > |
|
736 |
<at name="value"> |
|
737 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
738 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
739 |
<at name="name">border</at> |
|
740 |
</super> |
|
741 |
</object> |
|
742 |
</at> |
|
743 |
</item> |
|
744 |
</object> |
|
745 |
</at> |
|
746 |
</object> |
|
747 |
</at> |
|
748 |
</object> |
|
749 |
</at> |
|
750 |
</object> |
|
751 |
</at> |
|
752 |
</object> |
|
753 |
</at> |
|
754 |
<at name="cellpainters"> |
|
755 |
<object classname="com.jeta.forms.store.support.Matrix"> |
|
756 |
<at name="rows"> |
|
757 |
<object classname="[Ljava.lang.Object;" size="23"> |
|
758 |
<at name="item" index="0"> |
|
759 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
760 |
</at> |
|
761 |
<at name="item" index="1"> |
|
762 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
763 |
</at> |
|
764 |
<at name="item" index="2"> |
|
765 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
766 |
</at> |
|
767 |
<at name="item" index="3"> |
|
768 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
769 |
</at> |
|
770 |
<at name="item" index="4"> |
|
771 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
772 |
</at> |
|
773 |
<at name="item" index="5"> |
|
774 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
775 |
</at> |
|
776 |
<at name="item" index="6"> |
|
777 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
778 |
</at> |
|
779 |
<at name="item" index="7"> |
|
780 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
781 |
</at> |
|
782 |
<at name="item" index="8"> |
|
783 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
784 |
</at> |
|
785 |
<at name="item" index="9"> |
|
786 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
787 |
</at> |
|
788 |
<at name="item" index="10"> |
|
789 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
790 |
</at> |
|
791 |
<at name="item" index="11"> |
|
792 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
793 |
</at> |
|
794 |
<at name="item" index="12"> |
|
795 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
796 |
</at> |
|
797 |
<at name="item" index="13"> |
|
798 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
799 |
</at> |
|
800 |
<at name="item" index="14"> |
|
801 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
802 |
</at> |
|
803 |
<at name="item" index="15"> |
|
804 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
805 |
</at> |
|
806 |
<at name="item" index="16"> |
|
807 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
808 |
</at> |
|
809 |
<at name="item" index="17"> |
|
810 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
811 |
</at> |
|
812 |
<at name="item" index="18"> |
|
813 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
814 |
</at> |
|
815 |
<at name="item" index="19"> |
|
816 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
817 |
</at> |
|
818 |
<at name="item" index="20"> |
|
819 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
820 |
</at> |
|
821 |
<at name="item" index="21"> |
|
822 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
823 |
</at> |
|
824 |
<at name="item" index="22"> |
|
825 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
826 |
</at> |
|
827 |
</object> |
|
828 |
</at> |
|
829 |
</object> |
|
830 |
</at> |
|
831 |
<at name="rowgroups"> |
|
832 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
833 |
<at name="groups"> |
|
834 |
<object classname="java.util.HashMap"/> |
|
835 |
</at> |
|
836 |
</object> |
|
837 |
</at> |
|
838 |
<at name="colgroups"> |
|
839 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
840 |
<at name="groups"> |
|
841 |
<object classname="java.util.HashMap"/> |
|
842 |
</at> |
|
843 |
</object> |
|
844 |
</at> |
|
845 |
</object> |
|
846 |
</at> |
|
847 |
</object> |
org.gvsig.scripting/tags/org.gvsig.scripting-2.3.93/org.gvsig.scripting.app/org.gvsig.scripting.app.mainplugin/src/main/java/org/gvsig/scripting/app/extension/DataFoldersRecoverPanelView.java | ||
---|---|---|
1 |
package org.gvsig.scripting.app.extension; |
|
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.JFrame; |
|
13 |
import javax.swing.JLabel; |
|
14 |
import javax.swing.JList; |
|
15 |
import javax.swing.JPanel; |
|
16 |
import javax.swing.JScrollPane; |
|
17 |
import javax.swing.JTextField; |
|
18 |
|
|
19 |
|
|
20 |
public class DataFoldersRecoverPanelView extends JPanel |
|
21 |
{ |
|
22 |
JLabel lblMsg1 = new JLabel(); |
|
23 |
JLabel lblMsg2 = new JLabel(); |
|
24 |
JList lstDataFolders = new JList(); |
|
25 |
JTextField txtOldFolder = new JTextField(); |
|
26 |
JLabel lblRestoreFromFolder = new JLabel(); |
|
27 |
JLabel lblApplication = new JLabel(); |
|
28 |
JTextField txtApplication = new JTextField(); |
|
29 |
JTextField txtPath = new JTextField(); |
|
30 |
JLabel lblPath = new JLabel(); |
|
31 |
JLabel lblPath1 = new JLabel(); |
|
32 |
JTextField txtPreferencias = new JTextField(); |
|
33 |
|
|
34 |
/** |
|
35 |
* Default constructor |
|
36 |
*/ |
|
37 |
public DataFoldersRecoverPanelView() |
|
38 |
{ |
|
39 |
initializePanel(); |
|
40 |
} |
|
41 |
|
|
42 |
/** |
|
43 |
* Adds fill components to empty cells in the first row and first column of the grid. |
|
44 |
* This ensures that the grid spacing will be the same as shown in the designer. |
|
45 |
* @param cols an array of column indices in the first row where fill components should be added. |
|
46 |
* @param rows an array of row indices in the first column where fill components should be added. |
|
47 |
*/ |
|
48 |
void addFillComponents( Container panel, int[] cols, int[] rows ) |
|
49 |
{ |
|
50 |
Dimension filler = new Dimension(10,10); |
|
51 |
|
|
52 |
boolean filled_cell_11 = false; |
|
53 |
CellConstraints cc = new CellConstraints(); |
|
54 |
if ( cols.length > 0 && rows.length > 0 ) |
|
55 |
{ |
|
56 |
if ( cols[0] == 1 && rows[0] == 1 ) |
|
57 |
{ |
|
58 |
/** add a rigid area */ |
|
59 |
panel.add( Box.createRigidArea( filler ), cc.xy(1,1) ); |
|
60 |
filled_cell_11 = true; |
|
61 |
} |
|
62 |
} |
|
63 |
|
|
64 |
for( int index = 0; index < cols.length; index++ ) |
|
65 |
{ |
|
66 |
if ( cols[index] == 1 && filled_cell_11 ) |
|
67 |
{ |
|
68 |
continue; |
|
69 |
} |
|
70 |
panel.add( Box.createRigidArea( filler ), cc.xy(cols[index],1) ); |
|
71 |
} |
|
72 |
|
|
73 |
for( int index = 0; index < rows.length; index++ ) |
|
74 |
{ |
|
75 |
if ( rows[index] == 1 && filled_cell_11 ) |
|
76 |
{ |
|
77 |
continue; |
|
78 |
} |
|
79 |
panel.add( Box.createRigidArea( filler ), cc.xy(1,rows[index]) ); |
|
80 |
} |
|
81 |
|
|
82 |
} |
|
83 |
|
|
84 |
/** |
|
85 |
* Helper method to load an image file from the CLASSPATH |
|
86 |
* @param imageName the package and name of the file to load relative to the CLASSPATH |
|
87 |
* @return an ImageIcon instance with the specified image file |
|
88 |
* @throws IllegalArgumentException if the image resource cannot be loaded. |
|
89 |
*/ |
|
90 |
public ImageIcon loadImage( String imageName ) |
|
91 |
{ |
|
92 |
try |
|
93 |
{ |
|
94 |
ClassLoader classloader = getClass().getClassLoader(); |
|
95 |
java.net.URL url = classloader.getResource( imageName ); |
|
96 |
if ( url != null ) |
|
97 |
{ |
|
98 |
ImageIcon icon = new ImageIcon( url ); |
|
99 |
return icon; |
|
100 |
} |
|
101 |
} |
|
102 |
catch( Exception e ) |
|
103 |
{ |
|
104 |
e.printStackTrace(); |
|
105 |
} |
|
106 |
throw new IllegalArgumentException( "Unable to load image: " + imageName ); |
|
107 |
} |
|
108 |
|
|
109 |
/** |
|
110 |
* Method for recalculating the component orientation for |
|
111 |
* right-to-left Locales. |
|
112 |
* @param orientation the component orientation to be applied |
|
113 |
*/ |
|
114 |
public void applyComponentOrientation( ComponentOrientation orientation ) |
|
115 |
{ |
|
116 |
// Not yet implemented... |
|
117 |
// I18NUtils.applyComponentOrientation(this, orientation); |
|
118 |
super.applyComponentOrientation(orientation); |
|
119 |
} |
|
120 |
|
|
121 |
public JPanel createPanel() |
|
122 |
{ |
|
123 |
JPanel jpanel1 = new JPanel(); |
|
124 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE","CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE"); |
|
125 |
CellConstraints cc = new CellConstraints(); |
|
126 |
jpanel1.setLayout(formlayout1); |
|
127 |
|
|
128 |
lblMsg1.setName("lblMsg1"); |
|
129 |
lblMsg1.setText("<html>Han sido encontradas preferencias de versiones anteriores para algunos complementos.</html>"); |
|
130 |
jpanel1.add(lblMsg1,cc.xy(2,2)); |
|
131 |
|
|
132 |
lblMsg2.setName("lblMsg2"); |
|
133 |
lblMsg2.setText("<html>Seleccione los complementos para los que desea recuperar las preferencias de versiones anteriores</html>"); |
|
134 |
jpanel1.add(lblMsg2,cc.xy(2,4)); |
|
135 |
|
|
136 |
lstDataFolders.setName("lstDataFolders"); |
|
137 |
JScrollPane jscrollpane1 = new JScrollPane(); |
|
138 |
jscrollpane1.setViewportView(lstDataFolders); |
|
139 |
jscrollpane1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED); |
|
140 |
jscrollpane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED); |
|
141 |
jpanel1.add(jscrollpane1,cc.xy(2,6)); |
|
142 |
|
|
143 |
txtOldFolder.setEnabled(false); |
|
144 |
txtOldFolder.setName("txtOldFolder"); |
|
145 |
jpanel1.add(txtOldFolder,cc.xy(2,22)); |
|
146 |
|
|
147 |
lblRestoreFromFolder.setName("lblRestoreFromFolder"); |
|
148 |
lblRestoreFromFolder.setText("Recuperar desde la carpeta"); |
|
149 |
jpanel1.add(lblRestoreFromFolder,cc.xy(2,20)); |
|
150 |
|
|
151 |
lblApplication.setName("lblApplication"); |
|
152 |
lblApplication.setText("Applicacion"); |
|
153 |
jpanel1.add(lblApplication,cc.xy(2,8)); |
|
154 |
|
|
155 |
txtApplication.setEnabled(false); |
|
156 |
txtApplication.setName("txtApplication"); |
|
157 |
jpanel1.add(txtApplication,cc.xy(2,10)); |
|
158 |
|
|
159 |
txtPath.setEnabled(false); |
|
160 |
txtPath.setName("txtPath"); |
|
161 |
jpanel1.add(txtPath,cc.xy(2,18)); |
|
162 |
|
|
163 |
lblPath.setName("lblPath"); |
|
164 |
lblPath.setText("Ruta"); |
|
165 |
jpanel1.add(lblPath,cc.xy(2,16)); |
|
166 |
|
|
167 |
lblPath1.setName("lblPath"); |
|
168 |
lblPath1.setText("Preferencias"); |
|
169 |
jpanel1.add(lblPath1,cc.xy(2,12)); |
|
170 |
|
|
171 |
txtPreferencias.setEnabled(false); |
|
172 |
txtPreferencias.setName("txtPreferencias"); |
|
173 |
jpanel1.add(txtPreferencias,cc.xy(2,14)); |
|
174 |
|
|
175 |
addFillComponents(jpanel1,new int[]{ 1,2,3 },new int[]{ 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23 }); |
|
176 |
return jpanel1; |
|
177 |
} |
|
178 |
|
|
179 |
/** |
|
180 |
* Initializer |
|
181 |
*/ |
|
182 |
protected void initializePanel() |
|
183 |
{ |
|
184 |
setLayout(new BorderLayout()); |
|
185 |
add(createPanel(), BorderLayout.CENTER); |
|
186 |
} |
|
187 |
|
|
188 |
|
|
189 |
} |
org.gvsig.scripting/tags/org.gvsig.scripting-2.3.93/org.gvsig.scripting.app/org.gvsig.scripting.app.mainplugin/src/main/java/org/gvsig/scripting/app/extension/ScriptsInstallerInitializer.java | ||
---|---|---|
1 |
package org.gvsig.scripting.app.extension; |
|
2 |
|
|
3 |
import java.io.File; |
|
4 |
import org.apache.commons.io.FileUtils; |
|
5 |
import org.gvsig.andami.PluginServices; |
|
6 |
import org.gvsig.andami.PluginsLocator; |
|
7 |
import org.gvsig.andami.PluginsManager; |
|
8 |
import org.gvsig.installer.lib.api.InstallerLocator; |
|
9 |
import org.gvsig.installer.lib.api.InstallerManager; |
|
10 |
import org.gvsig.installer.lib.spi.InstallerProviderLocator; |
|
11 |
import org.gvsig.scripting.ScriptingLocator; |
|
12 |
import org.gvsig.scripting.ScriptingManager; |
|
13 |
import org.gvsig.tools.service.spi.ProviderFactory; |
|
14 |
import org.gvsig.tools.service.spi.ProviderManager; |
|
15 |
import org.gvsig.tools.util.Invocable; |
|
16 |
import org.slf4j.Logger; |
|
17 |
import org.slf4j.LoggerFactory; |
|
18 |
|
|
19 |
public class ScriptsInstallerInitializer implements Invocable { |
|
20 |
|
|
21 |
public static final String VERSION_FORMAT = "%M.%m.%r"; |
|
22 |
|
|
23 |
private static final Logger LOG = LoggerFactory.getLogger(ScriptsInstallerInitializer.class); |
|
24 |
|
|
25 |
@Override |
|
26 |
public Object call(Object... args) { |
|
27 |
// Cuando se hace la llamada a este metodo, aun no esta inicializado gvSIG. |
|
28 |
// Los servicios que ofrece el PluginsManager no son completos, solo algunos |
|
29 |
// de ellos estan disponibles. La lista de plugins aun no se ha cargado. |
|
30 |
try { |
|
31 |
String pluginName = (String) args[0]; |
|
32 |
|
|
33 |
ProviderManager providerManager = InstallerProviderLocator.getProviderManager(); |
|
34 |
PluginsManager pluginManager = PluginsLocator.getManager(); |
|
35 |
ScriptingManager manager = ScriptingLocator.getManager(); |
|
36 |
InstallerManager installerManager = InstallerLocator.getInstallerManager(); |
|
37 |
File pluginHomeFolder = pluginManager.getPluginHomeFolder(pluginName); |
|
38 |
|
|
39 |
String gvsigversion = pluginManager.getApplicationVersion().format(VERSION_FORMAT) ; |
|
40 |
File home = ScriptingUtils.getScriptsHomeFolder(pluginHomeFolder, gvsigversion); |
|
41 |
|
|
42 |
manager.setHomeFolder(home); |
|
43 |
manager.setPackagesFolder(pluginManager.getInstallFolder()); |
|
44 |
|
|
45 |
File localAddonRepositoryFolder = new File(manager.getRootUserFolder(), "addons"); |
|
46 |
|
|
47 |
ProviderFactory factory = manager.getInstallerFactory(); |
|
48 |
providerManager.addProviderFactory(factory); |
|
49 |
|
|
50 |
installerManager.setDefaultLocalAddonRepository( |
|
51 |
localAddonRepositoryFolder, |
|
52 |
factory.getName() |
|
53 |
); |
|
54 |
|
|
55 |
return true; |
|
56 |
|
|
57 |
} catch (Exception ex) { |
|
58 |
LOG.warn("Problems initializing scripts installer.",ex); |
|
59 |
return false; |
|
60 |
} |
|
61 |
} |
|
62 |
|
|
63 |
} |
org.gvsig.scripting/tags/org.gvsig.scripting-2.3.93/org.gvsig.scripting.app/org.gvsig.scripting.app.mainplugin/src/main/java/org/gvsig/scripting/app/extension/messagewait/MessageWaitView.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.scripting/org.gvsig.scripting.app/org.gvsig.scripting.app.mainplugin/src/main/java/org/gvsig/scripting/app/extension/messagewait/MessageWaitView.xml</at> |
|
28 |
<at name="rowspecs">CENTER:4DLU:NONE,FILL:DEFAULT:GROW(1.0),CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE</at> |
|
29 |
<at name="colspecs">FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE</at> |
|
30 |
<at name="components"> |
|
31 |
<object classname="java.util.LinkedList"> |
|
32 |
<item > |
|
33 |
<at name="value"> |
|
34 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
35 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
36 |
<at name="cellconstraints"> |
|
37 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
38 |
<at name="column">4</at> |
|
39 |
<at name="row">2</at> |
|
40 |
<at name="colspan">1</at> |
|
41 |
<at name="rowspan">1</at> |
|
42 |
<at name="halign">left</at> |
|
43 |
<at name="valign">top</at> |
|
44 |
<at name="insets" object="insets">0,0,0,0</at> |
|
45 |
</object> |
|
46 |
</at> |
|
47 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
48 |
</super> |
|
49 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
50 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
51 |
<at name="beanproperties"> |
|
52 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
53 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
54 |
<at name="properties"> |
|
55 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
56 |
<at name="border"> |
|
57 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
58 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
59 |
<at name="name">border</at> |
|
60 |
</super> |
|
61 |
<at name="borders"> |
|
62 |
<object classname="java.util.LinkedList"> |
|
63 |
<item > |
|
64 |
<at name="value"> |
|
65 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
66 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
67 |
<at name="name">border</at> |
|
68 |
</super> |
|
69 |
</object> |
|
70 |
</at> |
|
71 |
</item> |
|
72 |
</object> |
|
73 |
</at> |
|
74 |
</object> |
|
75 |
</at> |
|
76 |
<at name="name">lblMsg</at> |
|
77 |
<at name="width">12</at> |
|
78 |
<at name="fill"> |
|
79 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
80 |
<at name="name">fill</at> |
|
81 |
</object> |
|
82 |
</at> |
|
83 |
<at name="height">12</at> |
|
84 |
</object> |
|
85 |
</at> |
|
86 |
</object> |
|
87 |
</at> |
|
88 |
</object> |
|
89 |
</at> |
|
90 |
</item> |
|
91 |
<item > |
|
92 |
<at name="value"> |
|
93 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
94 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
95 |
<at name="cellconstraints"> |
|
96 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
97 |
<at name="column">4</at> |
|
98 |
<at name="row">4</at> |
|
99 |
<at name="colspan">1</at> |
|
100 |
<at name="rowspan">1</at> |
|
101 |
<at name="halign">right</at> |
|
102 |
<at name="valign">default</at> |
|
103 |
<at name="insets" object="insets">0,0,0,0</at> |
|
104 |
</object> |
|
105 |
</at> |
|
106 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
107 |
</super> |
|
108 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
109 |
<at name="beanclass">javax.swing.JButton</at> |
|
110 |
<at name="beanproperties"> |
|
111 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
112 |
<at name="classname">javax.swing.JButton</at> |
|
113 |
<at name="properties"> |
|
114 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
115 |
<at name="border"> |
|
116 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
117 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
118 |
<at name="name">border</at> |
|
119 |
</super> |
|
120 |
<at name="borders"> |
|
121 |
<object classname="java.util.LinkedList"> |
|
122 |
<item > |
|
123 |
<at name="value"> |
|
124 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
125 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
126 |
<at name="name">border</at> |
|
127 |
</super> |
|
128 |
</object> |
|
129 |
</at> |
|
130 |
</item> |
|
131 |
</object> |
|
132 |
</at> |
|
133 |
</object> |
|
134 |
</at> |
|
135 |
<at name="actionCommand">_Cancel</at> |
|
136 |
<at name="name">btnCancel</at> |
|
137 |
<at name="width">76</at> |
|
138 |
<at name="text">_Cancel</at> |
|
139 |
<at name="height">22</at> |
|
140 |
</object> |
|
141 |
</at> |
|
142 |
</object> |
|
143 |
</at> |
|
144 |
</object> |
|
145 |
</at> |
|
146 |
</item> |
|
147 |
<item > |
|
148 |
<at name="value"> |
|
149 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
150 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
151 |
<at name="cellconstraints"> |
|
152 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
153 |
<at name="column">2</at> |
Also available in: Unified diff