Revision 4552
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.30/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.impl/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.swing</artifactId> |
|
6 |
<version>1.0.30</version> |
|
7 |
</parent> |
|
8 |
<artifactId>org.gvsig.vcsgis.swing.impl</artifactId> |
|
9 |
<name>${project.artifactId}</name> |
|
10 |
<dependencies> |
|
11 |
<dependency> |
|
12 |
<groupId>org.gvsig</groupId> |
|
13 |
<artifactId>org.gvsig.vcsgis.swing.api</artifactId> |
|
14 |
<scope>compile</scope> |
|
15 |
</dependency> |
|
16 |
<dependency> |
|
17 |
<groupId>org.gvsig</groupId> |
|
18 |
<artifactId>org.gvsig.tools.lib</artifactId> |
|
19 |
<scope>compile</scope> |
|
20 |
</dependency> |
|
21 |
<dependency> |
|
22 |
<groupId>com.jgoodies</groupId> |
|
23 |
<artifactId>jgoodies-forms</artifactId> |
|
24 |
<scope>compile</scope> |
|
25 |
</dependency> |
|
26 |
<dependency> |
|
27 |
<groupId>org.gvsig</groupId> |
|
28 |
<artifactId>org.gvsig.vcsgis.lib.api</artifactId> |
|
29 |
<scope>compile</scope> |
|
30 |
</dependency> |
|
31 |
<dependency> |
|
32 |
<groupId>org.gvsig</groupId> |
|
33 |
<artifactId>org.gvsig.tools.swing.api</artifactId> |
|
34 |
<scope>compile</scope> |
|
35 |
</dependency> |
|
36 |
<dependency> |
|
37 |
<groupId>org.gvsig</groupId> |
|
38 |
<artifactId>org.gvsig.fmap.dal.swing.api</artifactId> |
|
39 |
<scope>compile</scope> |
|
40 |
</dependency> |
|
41 |
<dependency> |
|
42 |
<groupId>org.gvsig</groupId> |
|
43 |
<artifactId>org.gvsig.fmap.mapcontext.api</artifactId> |
|
44 |
<scope>compile</scope> |
|
45 |
</dependency> |
|
46 |
<dependency> |
|
47 |
<groupId>org.gvsig</groupId> |
|
48 |
<artifactId>org.gvsig.topology.lib.api</artifactId> |
|
49 |
<scope>compile</scope> |
|
50 |
</dependency> |
|
51 |
<dependency> |
|
52 |
<groupId>org.gvsig</groupId> |
|
53 |
<artifactId>org.gvsig.topology.swing.api</artifactId> |
|
54 |
<scope>compile</scope> |
|
55 |
</dependency> |
|
56 |
<dependency> |
|
57 |
<groupId>org.gvsig</groupId> |
|
58 |
<artifactId>org.gvsig.h2spatial.h2gis132.provider</artifactId> |
|
59 |
<scope>compile</scope> |
|
60 |
</dependency> |
|
61 |
</dependencies> |
|
62 |
</project> |
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.30/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.impl/src/main/resources/META-INF/services/org.gvsig.tools.library.Library | ||
---|---|---|
1 |
org.gvsig.vcsgis.swing.impl.VCSGisSwingImplLibrary |
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.30/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.impl/src/main/resources/org/gvsig/vcsgis/swing/impl/images/.directory | ||
---|---|---|
1 |
[Dolphin] |
|
2 |
PreviewsShown=true |
|
3 |
Timestamp=2020,10,25,19,27,22 |
|
4 |
Version=4 |
|
5 |
ViewMode=1 |
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.30/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.impl/src/main/java/org/gvsig/vcsgis/swing/impl/loggin/VCSGisUserIdentificationRequesterDialogView.java | ||
---|---|---|
1 |
package org.gvsig.vcsgis.swing.impl.loggin; |
|
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.JPanel; |
|
15 |
import javax.swing.JPasswordField; |
|
16 |
import javax.swing.JTextField; |
|
17 |
|
|
18 |
|
|
19 |
public class VCSGisUserIdentificationRequesterDialogView extends JPanel |
|
20 |
{ |
|
21 |
JLabel lblUser = new JLabel(); |
|
22 |
JLabel lblPassword = new JLabel(); |
|
23 |
JTextField txtUser = new JTextField(); |
|
24 |
JPasswordField txtPassword = new JPasswordField(); |
|
25 |
JLabel lblDescription = new JLabel(); |
|
26 |
|
|
27 |
/** |
|
28 |
* Default constructor |
|
29 |
*/ |
|
30 |
public VCSGisUserIdentificationRequesterDialogView() |
|
31 |
{ |
|
32 |
initializePanel(); |
|
33 |
} |
|
34 |
|
|
35 |
/** |
|
36 |
* Adds fill components to empty cells in the first row and first column of the grid. |
|
37 |
* This ensures that the grid spacing will be the same as shown in the designer. |
|
38 |
* @param cols an array of column indices in the first row where fill components should be added. |
|
39 |
* @param rows an array of row indices in the first column where fill components should be added. |
|
40 |
*/ |
|
41 |
void addFillComponents( Container panel, int[] cols, int[] rows ) |
|
42 |
{ |
|
43 |
Dimension filler = new Dimension(10,10); |
|
44 |
|
|
45 |
boolean filled_cell_11 = false; |
|
46 |
CellConstraints cc = new CellConstraints(); |
|
47 |
if ( cols.length > 0 && rows.length > 0 ) |
|
48 |
{ |
|
49 |
if ( cols[0] == 1 && rows[0] == 1 ) |
|
50 |
{ |
|
51 |
/** add a rigid area */ |
|
52 |
panel.add( Box.createRigidArea( filler ), cc.xy(1,1) ); |
|
53 |
filled_cell_11 = true; |
|
54 |
} |
|
55 |
} |
|
56 |
|
|
57 |
for( int index = 0; index < cols.length; index++ ) |
|
58 |
{ |
|
59 |
if ( cols[index] == 1 && filled_cell_11 ) |
|
60 |
{ |
|
61 |
continue; |
|
62 |
} |
|
63 |
panel.add( Box.createRigidArea( filler ), cc.xy(cols[index],1) ); |
|
64 |
} |
|
65 |
|
|
66 |
for( int index = 0; index < rows.length; index++ ) |
|
67 |
{ |
|
68 |
if ( rows[index] == 1 && filled_cell_11 ) |
|
69 |
{ |
|
70 |
continue; |
|
71 |
} |
|
72 |
panel.add( Box.createRigidArea( filler ), cc.xy(1,rows[index]) ); |
|
73 |
} |
|
74 |
|
|
75 |
} |
|
76 |
|
|
77 |
/** |
|
78 |
* Helper method to load an image file from the CLASSPATH |
|
79 |
* @param imageName the package and name of the file to load relative to the CLASSPATH |
|
80 |
* @return an ImageIcon instance with the specified image file |
|
81 |
* @throws IllegalArgumentException if the image resource cannot be loaded. |
|
82 |
*/ |
|
83 |
public ImageIcon loadImage( String imageName ) |
|
84 |
{ |
|
85 |
try |
|
86 |
{ |
|
87 |
ClassLoader classloader = getClass().getClassLoader(); |
|
88 |
java.net.URL url = classloader.getResource( imageName ); |
|
89 |
if ( url != null ) |
|
90 |
{ |
|
91 |
ImageIcon icon = new ImageIcon( url ); |
|
92 |
return icon; |
|
93 |
} |
|
94 |
} |
|
95 |
catch( Exception e ) |
|
96 |
{ |
|
97 |
e.printStackTrace(); |
|
98 |
} |
|
99 |
throw new IllegalArgumentException( "Unable to load image: " + imageName ); |
|
100 |
} |
|
101 |
|
|
102 |
/** |
|
103 |
* Method for recalculating the component orientation for |
|
104 |
* right-to-left Locales. |
|
105 |
* @param orientation the component orientation to be applied |
|
106 |
*/ |
|
107 |
public void applyComponentOrientation( ComponentOrientation orientation ) |
|
108 |
{ |
|
109 |
// Not yet implemented... |
|
110 |
// I18NUtils.applyComponentOrientation(this, orientation); |
|
111 |
super.applyComponentOrientation(orientation); |
|
112 |
} |
|
113 |
|
|
114 |
public JPanel createPanel() |
|
115 |
{ |
|
116 |
JPanel jpanel1 = new JPanel(); |
|
117 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE"); |
|
118 |
CellConstraints cc = new CellConstraints(); |
|
119 |
jpanel1.setLayout(formlayout1); |
|
120 |
|
|
121 |
lblUser.setName("lblUser"); |
|
122 |
lblUser.setText("_User"); |
|
123 |
jpanel1.add(lblUser,cc.xy(2,4)); |
|
124 |
|
|
125 |
lblPassword.setName("lblPassword"); |
|
126 |
lblPassword.setText("_Password"); |
|
127 |
jpanel1.add(lblPassword,cc.xy(2,6)); |
|
128 |
|
|
129 |
txtUser.setName("txtUser"); |
|
130 |
jpanel1.add(txtUser,cc.xy(4,4)); |
|
131 |
|
|
132 |
txtPassword.setName("txtPassword"); |
|
133 |
jpanel1.add(txtPassword,cc.xy(4,6)); |
|
134 |
|
|
135 |
lblDescription.setName("lblDescription"); |
|
136 |
lblDescription.setText("_Enter_the_identifier_and_password_of_a_user_with_permissions_to_perform_the_requested_operation"); |
|
137 |
jpanel1.add(lblDescription,cc.xywh(2,2,3,1)); |
|
138 |
|
|
139 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6,7 }); |
|
140 |
return jpanel1; |
|
141 |
} |
|
142 |
|
|
143 |
/** |
|
144 |
* Initializer |
|
145 |
*/ |
|
146 |
protected void initializePanel() |
|
147 |
{ |
|
148 |
setLayout(new BorderLayout()); |
|
149 |
add(createPanel(), BorderLayout.CENTER); |
|
150 |
} |
|
151 |
|
|
152 |
|
|
153 |
} |
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.30/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.impl/src/main/java/org/gvsig/vcsgis/swing/impl/loggin/VCSGisUserIdentificationRequesterDialog.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/fdiaz/projects/gvSIG/org.gvsig.vcsgis/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.impl/src/main/java/org/gvsig/vcsgis/swing/impl/loggin/VCSGisUserIdentificationRequesterDialog.xml</at> |
|
28 |
<at name="path">src/main/java/org/gvsig/vcsgis/swing/impl/loggin/VCSGisUserIdentificationRequesterDialog.xml</at> |
|
29 |
<at name="rowspecs">CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE</at> |
|
30 |
<at name="colspecs">FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU: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.BeanMemento"> |
|
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">4</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.StandardComponent</at> |
|
49 |
</super> |
|
50 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
51 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
52 |
<at name="beanproperties"> |
|
53 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
54 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
55 |
<at name="properties"> |
|
56 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
57 |
<at name="border"> |
|
58 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
59 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
60 |
<at name="name">border</at> |
|
61 |
</super> |
|
62 |
<at name="borders"> |
|
63 |
<object classname="java.util.LinkedList"> |
|
64 |
<item > |
|
65 |
<at name="value"> |
|
66 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
67 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
68 |
<at name="name">border</at> |
|
69 |
</super> |
|
70 |
</object> |
|
71 |
</at> |
|
72 |
</item> |
|
73 |
</object> |
|
74 |
</at> |
|
75 |
</object> |
|
76 |
</at> |
|
77 |
<at name="name">lblUser</at> |
|
78 |
<at name="width">62</at> |
|
79 |
<at name="text">_User</at> |
|
80 |
<at name="fill"> |
|
81 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
82 |
<at name="name">fill</at> |
|
83 |
</object> |
|
84 |
</at> |
|
85 |
<at name="height">14</at> |
|
86 |
</object> |
|
87 |
</at> |
|
88 |
</object> |
|
89 |
</at> |
|
90 |
</object> |
|
91 |
</at> |
|
92 |
</item> |
|
93 |
<item > |
|
94 |
<at name="value"> |
|
95 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
96 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
97 |
<at name="cellconstraints"> |
|
98 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
99 |
<at name="column">2</at> |
|
100 |
<at name="row">6</at> |
|
101 |
<at name="colspan">1</at> |
|
102 |
<at name="rowspan">1</at> |
|
103 |
<at name="halign">default</at> |
|
104 |
<at name="valign">default</at> |
|
105 |
<at name="insets" object="insets">0,0,0,0</at> |
|
106 |
</object> |
|
107 |
</at> |
|
108 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
109 |
</super> |
|
110 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
111 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
112 |
<at name="beanproperties"> |
|
113 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
114 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
115 |
<at name="properties"> |
|
116 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
117 |
<at name="border"> |
|
118 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
119 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
120 |
<at name="name">border</at> |
|
121 |
</super> |
|
122 |
<at name="borders"> |
|
123 |
<object classname="java.util.LinkedList"> |
|
124 |
<item > |
|
125 |
<at name="value"> |
|
126 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
127 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
128 |
<at name="name">border</at> |
|
129 |
</super> |
|
130 |
</object> |
|
131 |
</at> |
|
132 |
</item> |
|
133 |
</object> |
|
134 |
</at> |
|
135 |
</object> |
|
136 |
</at> |
|
137 |
<at name="name">lblPassword</at> |
|
138 |
<at name="width">62</at> |
|
139 |
<at name="text">_Password</at> |
|
140 |
<at name="fill"> |
|
141 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
142 |
<at name="name">fill</at> |
|
143 |
</object> |
|
144 |
</at> |
|
145 |
<at name="height">14</at> |
|
146 |
</object> |
|
147 |
</at> |
|
148 |
</object> |
|
149 |
</at> |
|
150 |
</object> |
|
151 |
</at> |
|
152 |
</item> |
|
153 |
<item > |
|
154 |
<at name="value"> |
|
155 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
156 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
157 |
<at name="cellconstraints"> |
|
158 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
159 |
<at name="column">4</at> |
|
160 |
<at name="row">4</at> |
|
161 |
<at name="colspan">1</at> |
|
162 |
<at name="rowspan">1</at> |
|
163 |
<at name="halign">default</at> |
|
164 |
<at name="valign">default</at> |
|
165 |
<at name="insets" object="insets">0,0,0,0</at> |
|
166 |
</object> |
|
167 |
</at> |
|
168 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
169 |
</super> |
|
170 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
171 |
<at name="beanclass">javax.swing.JTextField</at> |
|
172 |
<at name="beanproperties"> |
|
173 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
174 |
<at name="classname">javax.swing.JTextField</at> |
|
175 |
<at name="properties"> |
|
176 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
177 |
<at name="border"> |
|
178 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
179 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
180 |
<at name="name">border</at> |
|
181 |
</super> |
|
182 |
<at name="borders"> |
|
183 |
<object classname="java.util.LinkedList"> |
|
184 |
<item > |
|
185 |
<at name="value"> |
|
186 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
187 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
188 |
<at name="name">border</at> |
|
189 |
</super> |
|
190 |
</object> |
|
191 |
</at> |
|
192 |
</item> |
|
193 |
</object> |
|
194 |
</at> |
|
195 |
</object> |
|
196 |
</at> |
|
197 |
<at name="name">txtUser</at> |
|
198 |
<at name="width">949</at> |
|
199 |
<at name="height">20</at> |
|
200 |
</object> |
|
201 |
</at> |
|
202 |
</object> |
|
203 |
</at> |
|
204 |
</object> |
|
205 |
</at> |
|
206 |
</item> |
|
207 |
<item > |
|
208 |
<at name="value"> |
|
209 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
210 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
211 |
<at name="cellconstraints"> |
|
212 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
213 |
<at name="column">4</at> |
|
214 |
<at name="row">6</at> |
|
215 |
<at name="colspan">1</at> |
|
216 |
<at name="rowspan">1</at> |
|
217 |
<at name="halign">default</at> |
|
218 |
<at name="valign">default</at> |
|
219 |
<at name="insets" object="insets">0,0,0,0</at> |
|
220 |
</object> |
|
221 |
</at> |
|
222 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
223 |
</super> |
|
224 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
225 |
<at name="beanclass">javax.swing.JPasswordField</at> |
|
226 |
<at name="beanproperties"> |
|
227 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
228 |
<at name="classname">javax.swing.JPasswordField</at> |
|
229 |
<at name="properties"> |
|
230 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
231 |
<at name="border"> |
|
232 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
233 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
234 |
<at name="name">border</at> |
|
235 |
</super> |
|
236 |
<at name="borders"> |
|
237 |
<object classname="java.util.LinkedList"> |
|
238 |
<item > |
|
239 |
<at name="value"> |
|
240 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
241 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
242 |
<at name="name">border</at> |
|
243 |
</super> |
|
244 |
</object> |
|
245 |
</at> |
|
246 |
</item> |
|
247 |
</object> |
|
248 |
</at> |
|
249 |
</object> |
|
250 |
</at> |
|
251 |
<at name="name">txtPassword</at> |
|
252 |
<at name="width">949</at> |
|
253 |
<at name="height">20</at> |
|
254 |
</object> |
|
255 |
</at> |
|
256 |
</object> |
|
257 |
</at> |
|
258 |
</object> |
|
259 |
</at> |
|
260 |
</item> |
|
261 |
<item > |
|
262 |
<at name="value"> |
|
263 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
264 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
265 |
<at name="cellconstraints"> |
|
266 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
267 |
<at name="column">2</at> |
|
268 |
<at name="row">2</at> |
|
269 |
<at name="colspan">3</at> |
|
270 |
<at name="rowspan">1</at> |
|
271 |
<at name="halign">default</at> |
|
272 |
<at name="valign">default</at> |
|
273 |
<at name="insets" object="insets">0,0,0,0</at> |
|
274 |
</object> |
|
275 |
</at> |
|
276 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
277 |
</super> |
|
278 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
279 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
280 |
<at name="beanproperties"> |
|
281 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
282 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
283 |
<at name="properties"> |
|
284 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
285 |
<at name="border"> |
|
286 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
287 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
288 |
<at name="name">border</at> |
|
289 |
</super> |
|
290 |
<at name="borders"> |
|
291 |
<object classname="java.util.LinkedList"> |
|
292 |
<item > |
|
293 |
<at name="value"> |
|
294 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
295 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
296 |
<at name="name">border</at> |
|
297 |
</super> |
|
298 |
</object> |
|
299 |
</at> |
|
300 |
</item> |
|
301 |
</object> |
|
302 |
</at> |
|
303 |
</object> |
|
304 |
</at> |
|
305 |
<at name="name">lblDescription</at> |
|
306 |
<at name="width">1022</at> |
|
307 |
<at name="text">_Enter_the_identifier_and_password_of_a_user_with_permissions_to_perform_the_requested_operation</at> |
|
308 |
<at name="fill"> |
|
309 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
310 |
<at name="name">fill</at> |
|
311 |
</object> |
|
312 |
</at> |
|
313 |
<at name="height">14</at> |
|
314 |
</object> |
|
315 |
</at> |
|
316 |
</object> |
|
317 |
</at> |
|
318 |
</object> |
|
319 |
</at> |
|
320 |
</item> |
|
321 |
</object> |
|
322 |
</at> |
|
323 |
<at name="properties"> |
|
324 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
325 |
<at name="classname">com.jeta.forms.gui.form.GridView</at> |
|
326 |
<at name="properties"> |
|
327 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
328 |
<at name="border"> |
|
329 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
330 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
331 |
<at name="name">border</at> |
|
332 |
</super> |
|
333 |
<at name="borders"> |
|
334 |
<object classname="java.util.LinkedList"/> |
|
335 |
</at> |
|
336 |
</object> |
|
337 |
</at> |
|
338 |
<at name="name"/> |
|
339 |
<at name="fill"> |
|
340 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
341 |
<at name="name">fill</at> |
|
342 |
</object> |
|
343 |
</at> |
|
344 |
<at name="scollBars"> |
|
345 |
<object classname="com.jeta.forms.store.properties.ScrollBarsProperty"> |
|
346 |
<at name="name">scollBars</at> |
|
347 |
<at name="verticalpolicy">21</at> |
|
348 |
<at name="horizontalpolicy">31</at> |
|
349 |
<at name="border"> |
|
350 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
351 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
352 |
<at name="name">border</at> |
|
353 |
</super> |
|
354 |
<at name="borders"> |
|
355 |
<object classname="java.util.LinkedList"> |
|
356 |
<item > |
|
357 |
<at name="value"> |
|
358 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
359 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
360 |
<at name="name">border</at> |
|
361 |
</super> |
|
362 |
</object> |
|
363 |
</at> |
|
364 |
</item> |
|
365 |
</object> |
|
366 |
</at> |
|
367 |
</object> |
|
368 |
</at> |
|
369 |
</object> |
|
370 |
</at> |
|
371 |
</object> |
|
372 |
</at> |
|
373 |
</object> |
|
374 |
</at> |
|
375 |
<at name="cellpainters"> |
|
376 |
<object classname="com.jeta.forms.store.support.Matrix"> |
|
377 |
<at name="rows"> |
|
378 |
<object classname="[Ljava.lang.Object;" size="7"> |
|
379 |
<at name="item" index="0"> |
|
380 |
<object classname="[Ljava.lang.Object;" size="5"/> |
|
381 |
</at> |
|
382 |
<at name="item" index="1"> |
|
383 |
<object classname="[Ljava.lang.Object;" size="5"/> |
|
384 |
</at> |
|
385 |
<at name="item" index="2"> |
|
386 |
<object classname="[Ljava.lang.Object;" size="5"/> |
|
387 |
</at> |
|
388 |
<at name="item" index="3"> |
|
389 |
<object classname="[Ljava.lang.Object;" size="5"/> |
|
390 |
</at> |
|
391 |
<at name="item" index="4"> |
|
392 |
<object classname="[Ljava.lang.Object;" size="5"/> |
|
393 |
</at> |
|
394 |
<at name="item" index="5"> |
|
395 |
<object classname="[Ljava.lang.Object;" size="5"/> |
|
396 |
</at> |
|
397 |
<at name="item" index="6"> |
|
398 |
<object classname="[Ljava.lang.Object;" size="5"/> |
|
399 |
</at> |
|
400 |
</object> |
|
401 |
</at> |
|
402 |
</object> |
|
403 |
</at> |
|
404 |
<at name="rowgroups"> |
|
405 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
406 |
<at name="groups"> |
|
407 |
<object classname="java.util.HashMap"/> |
|
408 |
</at> |
|
409 |
</object> |
|
410 |
</at> |
|
411 |
<at name="colgroups"> |
|
412 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
413 |
<at name="groups"> |
|
414 |
<object classname="java.util.HashMap"/> |
|
415 |
</at> |
|
416 |
</object> |
|
417 |
</at> |
|
418 |
</object> |
|
419 |
</at> |
|
420 |
</object> |
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.30/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.impl/src/main/java/org/gvsig/vcsgis/swing/impl/loggin/VCSGisUserIdentificationRequesterDialog.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.swing.impl.loggin; |
|
24 |
|
|
25 |
import java.awt.Dimension; |
|
26 |
import java.awt.event.ActionEvent; |
|
27 |
import javax.swing.SwingUtilities; |
|
28 |
import org.apache.commons.lang3.StringUtils; |
|
29 |
import org.apache.commons.lang3.mutable.MutableBoolean; |
|
30 |
import org.gvsig.tools.ToolsLocator; |
|
31 |
import org.gvsig.tools.i18n.I18nManager; |
|
32 |
import org.gvsig.tools.swing.api.ToolsSwingLocator; |
|
33 |
import org.gvsig.tools.swing.api.ToolsSwingManager; |
|
34 |
import org.gvsig.tools.swing.api.windowmanager.Dialog; |
|
35 |
import org.gvsig.tools.swing.api.windowmanager.WindowManager; |
|
36 |
import org.gvsig.tools.swing.api.windowmanager.WindowManager_v2; |
|
37 |
import org.gvsig.vcsgis.lib.VCSGisUserIdentificationRequester; |
|
38 |
|
|
39 |
/** |
|
40 |
* |
|
41 |
* @author gvSIG Team |
|
42 |
*/ |
|
43 |
@SuppressWarnings("UseSpecificCatch") |
|
44 |
public class VCSGisUserIdentificationRequesterDialog |
|
45 |
extends VCSGisUserIdentificationRequesterDialogView |
|
46 |
implements VCSGisUserIdentificationRequester |
|
47 |
|
|
48 |
{ |
|
49 |
|
|
50 |
private String userId; |
|
51 |
private String password; |
|
52 |
private boolean translated; |
|
53 |
|
|
54 |
public VCSGisUserIdentificationRequesterDialog() { |
|
55 |
this.password = null; |
|
56 |
this.userId = null; |
|
57 |
// translate(); |
|
58 |
this.initComponents(); |
|
59 |
} |
|
60 |
|
|
61 |
private void translate() { |
|
62 |
ToolsSwingManager swingManager = ToolsSwingLocator.getToolsSwingManager(); |
|
63 |
swingManager.translate(this.lblUser); |
|
64 |
swingManager.translate(this.lblPassword); |
|
65 |
swingManager.translate(this.lblDescription, true); |
|
66 |
} |
|
67 |
|
|
68 |
private void initComponents() { |
|
69 |
this.setPreferredSize(new Dimension(320, 110)); |
|
70 |
this.translated = false; |
|
71 |
|
|
72 |
} |
|
73 |
|
|
74 |
|
|
75 |
@Override |
|
76 |
public boolean requestIdentification() { |
|
77 |
if( !SwingUtilities.isEventDispatchThread() ) { |
|
78 |
try { |
|
79 |
MutableBoolean r = new MutableBoolean(); |
|
80 |
SwingUtilities.invokeAndWait(() -> { |
|
81 |
r.setValue(requestIdentification()); |
|
82 |
}); |
|
83 |
return r.booleanValue(); |
|
84 |
} catch (Exception ex) { |
|
85 |
return false; |
|
86 |
} |
|
87 |
} |
|
88 |
|
|
89 |
if(!this.translated){ |
|
90 |
translate(); |
|
91 |
this.translated = true; |
|
92 |
} |
|
93 |
I18nManager i18n = ToolsLocator.getI18nManager(); |
|
94 |
WindowManager_v2 windowManager = (WindowManager_v2) ToolsSwingLocator.getWindowManager(); |
|
95 |
Dialog dialog = windowManager.createDialog( |
|
96 |
this, |
|
97 |
i18n.getTranslation("_User_login"), |
|
98 |
null, |
|
99 |
WindowManager_v2.BUTTONS_OK_CANCEL |
|
100 |
); |
|
101 |
dialog.addActionListener((ActionEvent e) -> { |
|
102 |
if( dialog.getAction()==WindowManager_v2.BUTTON_OK) { |
|
103 |
this.userId = StringUtils.defaultIfBlank(this.txtUser.getText(), null); |
|
104 |
this.password = StringUtils.defaultIfBlank(String.valueOf(this.txtPassword.getPassword()), null); |
|
105 |
} |
|
106 |
}); |
|
107 |
dialog.show(WindowManager.MODE.DIALOG); |
|
108 |
return dialog.getAction()==WindowManager_v2.BUTTON_OK; |
|
109 |
} |
|
110 |
|
|
111 |
@Override |
|
112 |
public String getUserId() { |
|
113 |
return this.userId; |
|
114 |
} |
|
115 |
|
|
116 |
@Override |
|
117 |
public String getPassword() { |
|
118 |
return this.password; |
|
119 |
} |
|
120 |
|
|
121 |
} |
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.30/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.impl/src/main/java/org/gvsig/vcsgis/swing/impl/checkoutDataModel/VCSGisJCheckoutDataModelView.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.swing/org.gvsig.vcsgis.swing.impl/src/main/java/org/gvsig/vcsgis/swing/impl/checkoutDataModel/VCSGisJCheckoutDataModelView.xml</at> |
|
28 |
<at name="path">datos/devel/org.gvsig.vcsgis/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.impl/src/main/java/org/gvsig/vcsgis/swing/impl/checkoutDataModel/VCSGisJCheckoutDataModelView.xml</at> |
|
29 |
<at name="rowspecs">CENTER:2DLU:NONE,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,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE</at> |
|
30 |
<at name="colspecs">FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU: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.BeanMemento"> |
|
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.StandardComponent</at> |
|
49 |
</super> |
|
50 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
51 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
52 |
<at name="beanproperties"> |
|
53 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
54 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
55 |
<at name="properties"> |
|
56 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
57 |
<at name="border"> |
|
58 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
59 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
60 |
<at name="name">border</at> |
|
61 |
</super> |
|
62 |
<at name="borders"> |
|
63 |
<object classname="java.util.LinkedList"> |
|
64 |
<item > |
|
65 |
<at name="value"> |
|
66 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
67 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
68 |
<at name="name">border</at> |
|
69 |
</super> |
|
70 |
</object> |
|
71 |
</at> |
|
72 |
</item> |
|
73 |
</object> |
|
74 |
</at> |
|
75 |
</object> |
|
76 |
</at> |
|
77 |
<at name="name">lblWorkspace</at> |
|
78 |
<at name="width">75</at> |
|
79 |
<at name="text">_Workingcopy</at> |
|
80 |
<at name="fill"> |
|
81 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
82 |
<at name="name">fill</at> |
|
83 |
</object> |
|
84 |
</at> |
|
85 |
<at name="height">16</at> |
|
86 |
</object> |
|
87 |
</at> |
|
88 |
</object> |
|
89 |
</at> |
|
90 |
</object> |
|
91 |
</at> |
|
92 |
</item> |
|
93 |
<item > |
|
94 |
<at name="value"> |
|
95 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
96 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
97 |
<at name="cellconstraints"> |
|
98 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
99 |
<at name="column">4</at> |
|
100 |
<at name="row">2</at> |
|
101 |
<at name="colspan">1</at> |
|
102 |
<at name="rowspan">1</at> |
|
103 |
<at name="halign">default</at> |
|
104 |
<at name="valign">default</at> |
|
105 |
<at name="insets" object="insets">0,0,0,0</at> |
|
106 |
</object> |
|
107 |
</at> |
|
108 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
109 |
</super> |
|
110 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
111 |
<at name="beanclass">javax.swing.JComboBox</at> |
|
112 |
<at name="beanproperties"> |
|
113 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
114 |
<at name="classname">javax.swing.JComboBox</at> |
|
115 |
<at name="properties"> |
|
116 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
117 |
<at name="border"> |
|
118 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
119 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
120 |
<at name="name">border</at> |
|
121 |
</super> |
|
122 |
<at name="borders"> |
|
123 |
<object classname="java.util.LinkedList"> |
|
124 |
<item > |
|
125 |
<at name="value"> |
|
126 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
127 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
128 |
<at name="name">border</at> |
|
129 |
</super> |
|
130 |
</object> |
|
131 |
</at> |
|
132 |
</item> |
|
133 |
</object> |
|
134 |
</at> |
|
135 |
</object> |
|
136 |
</at> |
|
137 |
<at name="name">cboWorkspaces</at> |
|
138 |
<at name="width">1313</at> |
|
139 |
<at name="items"> |
|
140 |
<object classname="com.jeta.forms.store.properties.ItemsProperty"> |
|
141 |
<at name="name">items</at> |
|
142 |
</object> |
|
143 |
</at> |
|
144 |
<at name="height">22</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">6</at> |
|
159 |
<at name="row">2</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.JButton</at> |
|
171 |
<at name="beanproperties"> |
|
172 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
173 |
<at name="classname">javax.swing.JButton</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.EmptyBorderProperty"> |
|
186 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
187 |
<at name="name">border</at> |
|
188 |
</super> |
|
189 |
<at name="top">2</at> |
|
190 |
<at name="left">2</at> |
|
191 |
<at name="bottom">2</at> |
|
192 |
<at name="right">2</at> |
|
193 |
</object> |
|
194 |
</at> |
|
195 |
</item> |
|
196 |
</object> |
|
197 |
</at> |
|
198 |
</object> |
|
199 |
</at> |
|
200 |
<at name="actionCommand">...</at> |
|
201 |
<at name="name">btnInitWorkspace</at> |
|
202 |
<at name="width">20</at> |
|
203 |
<at name="text">...</at> |
|
204 |
<at name="height">20</at> |
|
205 |
</object> |
|
206 |
</at> |
|
207 |
</object> |
|
208 |
</at> |
|
209 |
</object> |
|
210 |
</at> |
|
211 |
</item> |
|
212 |
<item > |
|
213 |
<at name="value"> |
|
214 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
215 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
216 |
<at name="cellconstraints"> |
|
217 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
218 |
<at name="column">2</at> |
|
219 |
<at name="row">8</at> |
|
220 |
<at name="colspan">5</at> |
|
221 |
<at name="rowspan">1</at> |
|
222 |
<at name="halign">default</at> |
|
223 |
<at name="valign">default</at> |
|
224 |
<at name="insets" object="insets">0,0,0,0</at> |
|
225 |
</object> |
|
226 |
</at> |
|
227 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
228 |
</super> |
|
229 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
230 |
<at name="beanclass">javax.swing.JList</at> |
|
231 |
<at name="beanproperties"> |
|
232 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
233 |
<at name="classname">javax.swing.JList</at> |
|
234 |
<at name="properties"> |
|
235 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
236 |
<at name="border"> |
|
237 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
238 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
239 |
<at name="name">border</at> |
|
240 |
</super> |
|
241 |
<at name="borders"> |
|
242 |
<object classname="java.util.LinkedList"> |
|
243 |
<item > |
|
244 |
<at name="value"> |
|
245 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
246 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
247 |
<at name="name">border</at> |
|
248 |
</super> |
|
249 |
</object> |
|
250 |
</at> |
|
251 |
</item> |
|
252 |
</object> |
|
253 |
</at> |
|
254 |
</object> |
|
255 |
</at> |
|
256 |
<at name="scrollableTracksViewportHeight">true</at> |
|
257 |
<at name="scrollableTracksViewportWidth">true</at> |
|
258 |
<at name="name">lstTables</at> |
|
259 |
<at name="width">1426</at> |
|
260 |
<at name="items"> |
|
261 |
<object classname="com.jeta.forms.store.properties.ItemsProperty"> |
|
262 |
<at name="name">items</at> |
|
263 |
</object> |
|
264 |
</at> |
|
265 |
<at name="scollBars"> |
|
266 |
<object classname="com.jeta.forms.store.properties.ScrollBarsProperty"> |
|
267 |
<at name="name">scollBars</at> |
|
268 |
<at name="verticalpolicy">20</at> |
|
269 |
<at name="horizontalpolicy">30</at> |
|
270 |
<at name="border"> |
|
271 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
272 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
273 |
<at name="name">border</at> |
|
274 |
</super> |
|
275 |
<at name="borders"> |
|
276 |
<object classname="java.util.LinkedList"> |
|
277 |
<item > |
|
278 |
<at name="value"> |
|
279 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
280 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
281 |
<at name="name">border</at> |
|
282 |
</super> |
|
283 |
</object> |
|
284 |
</at> |
|
285 |
</item> |
|
286 |
</object> |
|
287 |
</at> |
|
288 |
</object> |
|
289 |
</at> |
|
290 |
</object> |
|
291 |
</at> |
|
292 |
<at name="height">670</at> |
|
293 |
</object> |
|
294 |
</at> |
|
295 |
</object> |
|
296 |
</at> |
|
297 |
</object> |
|
298 |
</at> |
|
299 |
</item> |
|
300 |
<item > |
|
301 |
<at name="value"> |
|
302 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
303 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
304 |
<at name="cellconstraints"> |
|
305 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
306 |
<at name="column">2</at> |
|
307 |
<at name="row">4</at> |
|
308 |
<at name="colspan">1</at> |
|
309 |
<at name="rowspan">1</at> |
|
310 |
<at name="halign">default</at> |
|
311 |
<at name="valign">default</at> |
|
312 |
<at name="insets" object="insets">0,0,0,0</at> |
|
313 |
</object> |
|
314 |
</at> |
|
315 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
316 |
</super> |
|
317 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
318 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
319 |
<at name="beanproperties"> |
|
320 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
321 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
322 |
<at name="properties"> |
|
323 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
324 |
<at name="border"> |
|
325 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
326 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
327 |
<at name="name">border</at> |
|
328 |
</super> |
|
329 |
<at name="borders"> |
|
330 |
<object classname="java.util.LinkedList"> |
|
331 |
<item > |
|
332 |
<at name="value"> |
|
333 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
334 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
335 |
<at name="name">border</at> |
|
336 |
</super> |
|
337 |
</object> |
|
338 |
</at> |
|
339 |
</item> |
|
340 |
</object> |
|
341 |
</at> |
|
342 |
</object> |
|
343 |
</at> |
|
344 |
<at name="name">lblDataModel</at> |
|
345 |
<at name="width">75</at> |
|
346 |
<at name="text">_Data_models</at> |
|
347 |
<at name="fill"> |
|
348 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
349 |
<at name="name">fill</at> |
|
350 |
</object> |
|
351 |
</at> |
|
352 |
<at name="height">16</at> |
|
353 |
</object> |
|
354 |
</at> |
Also available in: Unified diff