Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.swing / org.gvsig.fmap.dal.swing.impl / src / main / java / org / gvsig / fmap / dal / swing / impl / featuretype / DefaultFeatureAttributePanelView.java @ 45994

History | View | Annotate | Download (40.1 KB)

1
package org.gvsig.fmap.dal.swing.impl.featuretype;
2

    
3
import com.jeta.forms.components.line.HorizontalLineComponent;
4
import com.jgoodies.forms.layout.CellConstraints;
5
import com.jgoodies.forms.layout.FormLayout;
6
import java.awt.BorderLayout;
7
import java.awt.ComponentOrientation;
8
import java.awt.Container;
9
import java.awt.Dimension;
10
import javax.swing.Box;
11
import javax.swing.ImageIcon;
12
import javax.swing.JButton;
13
import javax.swing.JCheckBox;
14
import javax.swing.JComboBox;
15
import javax.swing.JLabel;
16
import javax.swing.JList;
17
import javax.swing.JPanel;
18
import javax.swing.JScrollPane;
19
import javax.swing.JTabbedPane;
20
import javax.swing.JTable;
21
import javax.swing.JTextArea;
22
import javax.swing.JTextField;
23
import javax.swing.border.EmptyBorder;
24

    
25

    
26
public class DefaultFeatureAttributePanelView extends JPanel
27
{
28
   JLabel lblFieldName = new JLabel();
29
   JTextField txtFieldName = new JTextField();
30
   JLabel lblFieldType = new JLabel();
31
   JTabbedPane tabAditionalFields = new JTabbedPane();
32
   JLabel lblSize = new JLabel();
33
   JTextField txtSize = new JTextField();
34
   JLabel lblPrecision = new JLabel();
35
   JLabel lblDefaultValue = new JLabel();
36
   JTextField txtPrecision = new JTextField();
37
   JTextField txtDefaultValue = new JTextField();
38
   JLabel lblDataProfile = new JLabel();
39
   JComboBox cboDataProfile = new JComboBox();
40
   JCheckBox chkVirtualField = new JCheckBox();
41
   JLabel lblScale = new JLabel();
42
   JTextField txtScale = new JTextField();
43
   JLabel lblRelationType = new JLabel();
44
   JComboBox cboRelationType = new JComboBox();
45
   JLabel lblDisplaySize = new JLabel();
46
   JTextField txtDisplaySize = new JTextField();
47
   JButton btnVirtualFieldBookmarks = new JButton();
48
   JTextField txtVirtualField = new JTextField();
49
   JButton btnVirtualFieldHistory = new JButton();
50
   JButton btnVirtualField = new JButton();
51
   JLabel lblDefaultFormat = new JLabel();
52
   JTextField txtDefaultFormat = new JTextField();
53
   JLabel lblGeometryType = new JLabel();
54
   JLabel lblGeometrySubtype = new JLabel();
55
   JLabel lblCRS = new JLabel();
56
   JComboBox cboGeometryType = new JComboBox();
57
   JComboBox cboGeometrySubtype = new JComboBox();
58
   JButton btnCRS = new JButton();
59
   JTextField txtCRS = new JTextField();
60
   JLabel lblDateFormat = new JLabel();
61
   JComboBox cboDateFormat = new JComboBox();
62
   JLabel lblInterval = new JLabel();
63
   JLabel lblIntervalStart = new JLabel();
64
   JLabel lblIntervalEnd = new JLabel();
65
   JTextField txtIntervalStart = new JTextField();
66
   JButton btnIntervalStart = new JButton();
67
   JButton btnIntervalEnd = new JButton();
68
   JTextField txtIntervalEnd = new JTextField();
69
   JPanel grdAttrTags = new JPanel();
70
   HorizontalLineComponent horizontallinecomponent1 = new HorizontalLineComponent();
71
   JPanel grdAttrTagsItems = new JPanel();
72
   JTable tblAttrTagsItems = new JTable();
73
   JButton btnAttrTagsNew = new JButton();
74
   JButton btnAttrTagsDelete = new JButton();
75
   JPanel gridAttrTagsItem = new JPanel();
76
   JButton btnAttrTagsAccept = new JButton();
77
   JButton btnAttrTagsDiscard = new JButton();
78
   JButton btnAttrTagsModify = new JButton();
79
   JPanel grdAttrTagsItemView = new JPanel();
80
   JLabel lblAttrTagsItemName = new JLabel();
81
   JLabel lblAttrTagsItemValue = new JLabel();
82
   JComboBox cboAttrTagsItemName = new JComboBox();
83
   JComboBox cboAttrTagsItemValue = new JComboBox();
84
   JLabel lblAttrTagsItemNotes = new JLabel();
85
   JLabel lblAttrTagsItemNotesValue = new JLabel();
86
   JCheckBox chkIsForeingKey = new JCheckBox();
87
   JLabel lblForeingKeyTableName = new JLabel();
88
   JLabel lblForeingKeyCodeName = new JLabel();
89
   JLabel lblForeingKeyLabelFormula = new JLabel();
90
   JComboBox cboForeingKeyTableName = new JComboBox();
91
   JComboBox cboForeingKeyCodeName = new JComboBox();
92
   JTextField txtForeingKeyFormula = new JTextField();
93
   JLabel lblIsClosedList = new JLabel();
94
   JCheckBox chkIsClosedList = new JCheckBox();
95
   JButton btnForeingKeyFormula = new JButton();
96
   JButton btnForeingKeyFormulaHistory = new JButton();
97
   JButton btnForeingKeyFormulaBookmarks = new JButton();
98
   JTabbedPane tabLayout = new JTabbedPane();
99
   JLabel lblGroup = new JLabel();
100
   JLabel lblOrder = new JLabel();
101
   JComboBox cboGroup = new JComboBox();
102
   JTextField txtOrder = new JTextField();
103
   JLabel lblHidden = new JLabel();
104
   JCheckBox chkHidden = new JCheckBox();
105
   JLabel lblLabel = new JLabel();
106
   JTextField txtLabel = new JTextField();
107
   JLabel lblDescription = new JLabel();
108
   JTextArea txtDescription = new JTextArea();
109
   JLabel lblAvailableValues = new JLabel();
110
   JList lstAvailableValues = new JList();
111
   JLabel lblAvailableValuesLabel = new JLabel();
112
   JTextField txtAvailableValuesLabel = new JTextField();
113
   JLabel lblAvailableValuesValue = new JLabel();
114
   JTextField txtAvailableValuesValue = new JTextField();
115
   JLabel lblValuesFilter = new JLabel();
116
   JButton btnAvailableValuesAdd = new JButton();
117
   JButton btnAvailableValuesUpdate = new JButton();
118
   JButton btnAvailableValuesRemove = new JButton();
119
   JButton btnAvailableValuesRemoveAll = new JButton();
120
   JTextField txtValuesFilter = new JTextField();
121
   JButton btnValuesFilter = new JButton();
122
   JButton btnValuesFilterHistory = new JButton();
123
   JButton btnValuesFilterBookmarks = new JButton();
124
   JLabel lblIsPrimaryKey = new JLabel();
125
   JCheckBox chkIsPrimaryKey = new JCheckBox();
126
   JLabel lblIsAutomatic = new JLabel();
127
   JCheckBox chkIsAutomatic = new JCheckBox();
128
   JLabel lblAllowNulls = new JLabel();
129
   JCheckBox chkAllowNulls = new JCheckBox();
130
   JCheckBox chkIsReadOnly = new JCheckBox();
131
   JCheckBox chkIsIndexed = new JCheckBox();
132
   JLabel lblIsReadOnly = new JLabel();
133
   JLabel lblIsIndexed = new JLabel();
134
   JComboBox cboFieldType = new JComboBox();
135
   JButton btnFieldType = new JButton();
136

    
137
   /**
138
    * Default constructor
139
    */
140
   public DefaultFeatureAttributePanelView()
141
   {
142
      initializePanel();
143
   }
144

    
145
   /**
146
    * Adds fill components to empty cells in the first row and first column of the grid.
147
    * This ensures that the grid spacing will be the same as shown in the designer.
148
    * @param cols an array of column indices in the first row where fill components should be added.
149
    * @param rows an array of row indices in the first column where fill components should be added.
150
    */
151
   void addFillComponents( Container panel, int[] cols, int[] rows )
152
   {
153
      Dimension filler = new Dimension(10,10);
154

    
155
      boolean filled_cell_11 = false;
156
      CellConstraints cc = new CellConstraints();
157
      if ( cols.length > 0 && rows.length > 0 )
158
      {
159
         if ( cols[0] == 1 && rows[0] == 1 )
160
         {
161
            /** add a rigid area  */
162
            panel.add( Box.createRigidArea( filler ), cc.xy(1,1) );
163
            filled_cell_11 = true;
164
         }
165
      }
166

    
167
      for( int index = 0; index < cols.length; index++ )
168
      {
169
         if ( cols[index] == 1 && filled_cell_11 )
170
         {
171
            continue;
172
         }
173
         panel.add( Box.createRigidArea( filler ), cc.xy(cols[index],1) );
174
      }
175

    
176
      for( int index = 0; index < rows.length; index++ )
177
      {
178
         if ( rows[index] == 1 && filled_cell_11 )
179
         {
180
            continue;
181
         }
182
         panel.add( Box.createRigidArea( filler ), cc.xy(1,rows[index]) );
183
      }
184

    
185
   }
186

    
187
   /**
188
    * Helper method to load an image file from the CLASSPATH
189
    * @param imageName the package and name of the file to load relative to the CLASSPATH
190
    * @return an ImageIcon instance with the specified image file
191
    * @throws IllegalArgumentException if the image resource cannot be loaded.
192
    */
193
   public ImageIcon loadImage( String imageName )
194
   {
195
      try
196
      {
197
         ClassLoader classloader = getClass().getClassLoader();
198
         java.net.URL url = classloader.getResource( imageName );
199
         if ( url != null )
200
         {
201
            ImageIcon icon = new ImageIcon( url );
202
            return icon;
203
         }
204
      }
205
      catch( Exception e )
206
      {
207
         e.printStackTrace();
208
      }
209
      throw new IllegalArgumentException( "Unable to load image: " + imageName );
210
   }
211

    
212
   /**
213
    * Method for recalculating the component orientation for 
214
    * right-to-left Locales.
215
    * @param orientation the component orientation to be applied
216
    */
217
   public void applyComponentOrientation( ComponentOrientation orientation )
218
   {
219
      // Not yet implemented...
220
      // I18NUtils.applyComponentOrientation(this, orientation);
221
      super.applyComponentOrientation(orientation);
222
   }
223

    
224
   public JPanel createPanel()
225
   {
226
      JPanel jpanel1 = new JPanel();
227
      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,FILL:DEFAULT:NONE,CENTER:2DLU:NONE");
228
      CellConstraints cc = new CellConstraints();
229
      jpanel1.setLayout(formlayout1);
230

    
231
      lblFieldName.setName("lblFieldName");
232
      lblFieldName.setText("_Field_name");
233
      jpanel1.add(lblFieldName,cc.xy(2,2));
234

    
235
      txtFieldName.setName("txtFieldName");
236
      jpanel1.add(txtFieldName,cc.xy(4,2));
237

    
238
      lblFieldType.setName("lblFieldType");
239
      lblFieldType.setText("_Field_type");
240
      jpanel1.add(lblFieldType,cc.xy(2,4));
241

    
242
      tabAditionalFields.setName("tabAditionalFields");
243
      tabAditionalFields.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT);
244
      tabAditionalFields.addTab("_Basic_fields",null,createPanel1());
245
      tabAditionalFields.addTab("_Geometry",null,createPanel3());
246
      tabAditionalFields.addTab("_Time",null,createPanel5());
247
      tabAditionalFields.addTab("_Tags",null,createPanel7());
248
      tabAditionalFields.addTab("_ForeingKey",null,createPanel10());
249
      tabAditionalFields.addTab("_Visualization",null,createPanel11());
250
      jpanel1.add(tabAditionalFields,cc.xywh(2,8,3,1));
251

    
252
      jpanel1.add(createPanel16(),cc.xy(4,6));
253
      jpanel1.add(createPanel17(),cc.xy(4,4));
254
      addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6,7,8,9 });
255
      return jpanel1;
256
   }
257

    
258
   public JPanel createPanel1()
259
   {
260
      JPanel jpanel1 = new JPanel();
261
      FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:2DLU:NONE,FILL: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:3PX:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE");
262
      CellConstraints cc = new CellConstraints();
263
      jpanel1.setLayout(formlayout1);
264

    
265
      lblSize.setName("lblSize");
266
      lblSize.setText("_Size");
267
      jpanel1.add(lblSize,cc.xy(2,4));
268

    
269
      txtSize.setName("txtSize");
270
      jpanel1.add(txtSize,cc.xy(4,4));
271

    
272
      lblPrecision.setName("lblPrecision");
273
      lblPrecision.setText("_Total_digits_precision");
274
      lblPrecision.setToolTipText("_Number_of_digits_used_to_represent_the_number_Includes_the_digits_of_the_integer_part_and_the_digits_of_the_decimal_part");
275
      jpanel1.add(lblPrecision,cc.xy(2,6));
276

    
277
      lblDefaultValue.setName("lblDefaultValue");
278
      lblDefaultValue.setText("_Default_value");
279
      jpanel1.add(lblDefaultValue,cc.xy(2,10));
280

    
281
      txtPrecision.setName("txtPrecision");
282
      txtPrecision.setToolTipText("_Number_of_digits_used_to_represent_the_number_Includes_the_digits_of_the_integer_part_and_the_digits_of_the_decimal_part");
283
      jpanel1.add(txtPrecision,cc.xy(4,6));
284

    
285
      txtDefaultValue.setName("txtDefaultValue");
286
      jpanel1.add(txtDefaultValue,cc.xy(4,10));
287

    
288
      lblDataProfile.setName("lblDataProfile");
289
      lblDataProfile.setText("_Data_profile");
290
      jpanel1.add(lblDataProfile,cc.xy(2,14));
291

    
292
      cboDataProfile.setName("cboDataProfile");
293
      jpanel1.add(cboDataProfile,cc.xy(4,14));
294

    
295
      chkVirtualField.setActionCommand("Campo virtual");
296
      chkVirtualField.setName("chkVirtualField");
297
      chkVirtualField.setRolloverEnabled(true);
298
      chkVirtualField.setText("_Virtual_field");
299
      jpanel1.add(chkVirtualField,cc.xy(2,16));
300

    
301
      lblScale.setName("lblScale");
302
      lblScale.setText("_Decimal_digits_escale");
303
      lblScale.setToolTipText("_Number_of_decimal_digits_used_to_represent_the_number");
304
      jpanel1.add(lblScale,cc.xy(2,8));
305

    
306
      txtScale.setName("txtScale");
307
      txtScale.setToolTipText("_Number_of_decimal_digits_used_to_represent_the_number");
308
      jpanel1.add(txtScale,cc.xy(4,8));
309

    
310
      lblRelationType.setName("lblRelationType");
311
      lblRelationType.setText("_Relation_type");
312
      jpanel1.add(lblRelationType,cc.xy(2,18));
313

    
314
      cboRelationType.setName("cboRelationType");
315
      jpanel1.add(cboRelationType,cc.xy(4,18));
316

    
317
      lblDisplaySize.setName("lblDisplaySize");
318
      lblDisplaySize.setText("_Characters_in_display");
319
      lblDisplaySize.setToolTipText("_Number_of_characters_required_to_display_the_data_in_this_field_Leave_it_empty_or_zero_to_be_automatically_calculated");
320
      jpanel1.add(lblDisplaySize,cc.xy(2,2));
321

    
322
      txtDisplaySize.setName("txtDisplaySize");
323
      txtDisplaySize.setToolTipText("_Number_of_bytes_required_to_store_the_data_in_this_field_Leave_it_empty_or_zero_to_be_automatically_calculated_This_value_is_dependent_on_the_type_of_layer");
324
      jpanel1.add(txtDisplaySize,cc.xy(4,2));
325

    
326
      jpanel1.add(createPanel2(),cc.xy(4,16));
327
      lblDefaultFormat.setName("lblDefaultFormat");
328
      lblDefaultFormat.setText("_Default_format");
329
      jpanel1.add(lblDefaultFormat,cc.xy(2,12));
330

    
331
      txtDefaultFormat.setName("txtDefaultFormat");
332
      jpanel1.add(txtDefaultFormat,cc.xy(4,12));
333

    
334
      addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18 });
335
      return jpanel1;
336
   }
337

    
338
   public JPanel createPanel2()
339
   {
340
      JPanel jpanel1 = new JPanel();
341
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE");
342
      CellConstraints cc = new CellConstraints();
343
      jpanel1.setLayout(formlayout1);
344

    
345
      btnVirtualFieldBookmarks.setActionCommand("...");
346
      btnVirtualFieldBookmarks.setName("btnVirtualFieldBookmarks");
347
      btnVirtualFieldBookmarks.setRolloverEnabled(true);
348
      btnVirtualFieldBookmarks.setText("...");
349
      EmptyBorder emptyborder1 = new EmptyBorder(2,2,2,2);
350
      btnVirtualFieldBookmarks.setBorder(emptyborder1);
351
      jpanel1.add(btnVirtualFieldBookmarks,cc.xy(7,1));
352

    
353
      txtVirtualField.setName("txtVirtualField");
354
      jpanel1.add(txtVirtualField,cc.xy(1,1));
355

    
356
      btnVirtualFieldHistory.setActionCommand("...");
357
      btnVirtualFieldHistory.setName("btnVirtualFieldHistory");
358
      btnVirtualFieldHistory.setRolloverEnabled(true);
359
      btnVirtualFieldHistory.setText("...");
360
      EmptyBorder emptyborder2 = new EmptyBorder(2,2,2,2);
361
      btnVirtualFieldHistory.setBorder(emptyborder2);
362
      jpanel1.add(btnVirtualFieldHistory,cc.xy(5,1));
363

    
364
      btnVirtualField.setActionCommand("...");
365
      btnVirtualField.setName("btnVirtualField");
366
      btnVirtualField.setRolloverEnabled(true);
367
      btnVirtualField.setText("...");
368
      EmptyBorder emptyborder3 = new EmptyBorder(2,2,2,2);
369
      btnVirtualField.setBorder(emptyborder3);
370
      jpanel1.add(btnVirtualField,cc.xy(3,1));
371

    
372
      addFillComponents(jpanel1,new int[]{ 2,4,6 },new int[0]);
373
      return jpanel1;
374
   }
375

    
376
   public JPanel createPanel3()
377
   {
378
      JPanel jpanel1 = new JPanel();
379
      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");
380
      CellConstraints cc = new CellConstraints();
381
      jpanel1.setLayout(formlayout1);
382

    
383
      lblGeometryType.setName("lblGeometryType");
384
      lblGeometryType.setText("_Geometry_type");
385
      jpanel1.add(lblGeometryType,cc.xy(2,2));
386

    
387
      lblGeometrySubtype.setName("lblGeometrySubtype");
388
      lblGeometrySubtype.setText("_Geometry_subtype");
389
      jpanel1.add(lblGeometrySubtype,cc.xy(2,4));
390

    
391
      lblCRS.setName("lblCRS");
392
      lblCRS.setText("_CRS");
393
      jpanel1.add(lblCRS,cc.xy(2,6));
394

    
395
      cboGeometryType.setName("cboGeometryType");
396
      jpanel1.add(cboGeometryType,cc.xy(4,2));
397

    
398
      cboGeometrySubtype.setName("cboGeometrySubtype");
399
      jpanel1.add(cboGeometrySubtype,cc.xy(4,4));
400

    
401
      jpanel1.add(createPanel4(),cc.xy(4,6));
402
      addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6,7 });
403
      return jpanel1;
404
   }
405

    
406
   public JPanel createPanel4()
407
   {
408
      JPanel jpanel1 = new JPanel();
409
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE");
410
      CellConstraints cc = new CellConstraints();
411
      jpanel1.setLayout(formlayout1);
412

    
413
      btnCRS.setActionCommand("...");
414
      btnCRS.setName("btnCRS");
415
      btnCRS.setRolloverEnabled(true);
416
      btnCRS.setText("...");
417
      EmptyBorder emptyborder1 = new EmptyBorder(2,2,2,2);
418
      btnCRS.setBorder(emptyborder1);
419
      jpanel1.add(btnCRS,cc.xy(3,1));
420

    
421
      txtCRS.setName("txtCRS");
422
      jpanel1.add(txtCRS,cc.xy(1,1));
423

    
424
      addFillComponents(jpanel1,new int[]{ 2 },new int[0]);
425
      return jpanel1;
426
   }
427

    
428
   public JPanel createPanel5()
429
   {
430
      JPanel jpanel1 = new JPanel();
431
      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:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE");
432
      CellConstraints cc = new CellConstraints();
433
      jpanel1.setLayout(formlayout1);
434

    
435
      lblDateFormat.setName("lblDateFormat");
436
      lblDateFormat.setText("_Date_format");
437
      jpanel1.add(lblDateFormat,cc.xy(2,2));
438

    
439
      cboDateFormat.setEditable(true);
440
      cboDateFormat.setName("cboDateFormat");
441
      jpanel1.add(cboDateFormat,cc.xy(4,2));
442

    
443
      lblInterval.setName("lblInterval");
444
      lblInterval.setText("_Interval");
445
      jpanel1.add(lblInterval,new CellConstraints(2,5,1,1,CellConstraints.DEFAULT,CellConstraints.TOP));
446

    
447
      jpanel1.add(createPanel6(),cc.xy(4,5));
448
      addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6 });
449
      return jpanel1;
450
   }
451

    
452
   public JPanel createPanel6()
453
   {
454
      JPanel jpanel1 = new JPanel();
455
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE");
456
      CellConstraints cc = new CellConstraints();
457
      jpanel1.setLayout(formlayout1);
458

    
459
      lblIntervalStart.setName("lblIntervalStart");
460
      lblIntervalStart.setText("_Start");
461
      jpanel1.add(lblIntervalStart,cc.xy(1,1));
462

    
463
      lblIntervalEnd.setName("lblIntervalEnd");
464
      lblIntervalEnd.setText("_End");
465
      jpanel1.add(lblIntervalEnd,cc.xy(1,3));
466

    
467
      txtIntervalStart.setName("txtIntervalStart");
468
      jpanel1.add(txtIntervalStart,cc.xy(3,1));
469

    
470
      btnIntervalStart.setActionCommand("...");
471
      btnIntervalStart.setName("btnIntervalStart");
472
      btnIntervalStart.setRolloverEnabled(true);
473
      btnIntervalStart.setText("...");
474
      EmptyBorder emptyborder1 = new EmptyBorder(2,2,2,2);
475
      btnIntervalStart.setBorder(emptyborder1);
476
      jpanel1.add(btnIntervalStart,cc.xy(5,1));
477

    
478
      btnIntervalEnd.setActionCommand("...");
479
      btnIntervalEnd.setName("btnIntervalEnd");
480
      btnIntervalEnd.setRolloverEnabled(true);
481
      btnIntervalEnd.setText("...");
482
      EmptyBorder emptyborder2 = new EmptyBorder(2,2,2,2);
483
      btnIntervalEnd.setBorder(emptyborder2);
484
      jpanel1.add(btnIntervalEnd,cc.xy(5,3));
485

    
486
      txtIntervalEnd.setName("txtIntervalEnd");
487
      jpanel1.add(txtIntervalEnd,cc.xy(3,3));
488

    
489
      addFillComponents(jpanel1,new int[]{ 2,4 },new int[]{ 2 });
490
      return jpanel1;
491
   }
492

    
493
   public JPanel createPanel7()
494
   {
495
      JPanel jpanel1 = new JPanel();
496
      FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:2DLU:NONE,FILL:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:2DLU:NONE");
497
      CellConstraints cc = new CellConstraints();
498
      jpanel1.setLayout(formlayout1);
499

    
500
      jpanel1.add(creategrdAttrTags(),cc.xy(2,2));
501
      addFillComponents(jpanel1,new int[]{ 1,2,3 },new int[]{ 1,2,3,4 });
502
      return jpanel1;
503
   }
504

    
505
   public JPanel creategrdAttrTags()
506
   {
507
      grdAttrTags.setName("grdAttrTags");
508
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0)","FILL:DEFAULT:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE");
509
      CellConstraints cc = new CellConstraints();
510
      grdAttrTags.setLayout(formlayout1);
511

    
512
      grdAttrTags.add(horizontallinecomponent1,cc.xy(1,2));
513

    
514
      grdAttrTags.add(creategrdAttrTagsItems(),cc.xy(1,1));
515
      grdAttrTags.add(creategridAttrTagsItem(),cc.xy(1,3));
516
      addFillComponents(grdAttrTags,new int[]{ 1 },new int[]{ 1,3 });
517
      return grdAttrTags;
518
   }
519

    
520
   public JPanel creategrdAttrTagsItems()
521
   {
522
      grdAttrTagsItems.setName("grdAttrTagsItems");
523
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","FILL:DEFAULT:NONE");
524
      CellConstraints cc = new CellConstraints();
525
      grdAttrTagsItems.setLayout(formlayout1);
526

    
527
      tblAttrTagsItems.setName("tblAttrTagsItems");
528
      JScrollPane jscrollpane1 = new JScrollPane();
529
      jscrollpane1.setViewportView(tblAttrTagsItems);
530
      jscrollpane1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
531
      jscrollpane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
532
      grdAttrTagsItems.add(jscrollpane1,cc.xy(1,1));
533

    
534
      grdAttrTagsItems.add(createPanel8(),new CellConstraints(3,1,1,1,CellConstraints.DEFAULT,CellConstraints.TOP));
535
      addFillComponents(grdAttrTagsItems,new int[]{ 2,3 },new int[0]);
536
      return grdAttrTagsItems;
537
   }
538

    
539
   public JPanel createPanel8()
540
   {
541
      JPanel jpanel1 = new JPanel();
542
      FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,FILL:DEFAULT:GROW(1.0)");
543
      CellConstraints cc = new CellConstraints();
544
      jpanel1.setLayout(formlayout1);
545

    
546
      btnAttrTagsNew.setActionCommand("_New");
547
      btnAttrTagsNew.setName("btnAttrTagsNew");
548
      btnAttrTagsNew.setRolloverEnabled(true);
549
      btnAttrTagsNew.setText("_New");
550
      jpanel1.add(btnAttrTagsNew,cc.xy(2,1));
551

    
552
      btnAttrTagsDelete.setActionCommand("_Delete");
553
      btnAttrTagsDelete.setName("btnAttrTagsDelete");
554
      btnAttrTagsDelete.setRolloverEnabled(true);
555
      btnAttrTagsDelete.setText("_Delete");
556
      jpanel1.add(btnAttrTagsDelete,cc.xy(2,3));
557

    
558
      addFillComponents(jpanel1,new int[]{ 1,3 },new int[]{ 1,2,3,4,5 });
559
      return jpanel1;
560
   }
561

    
562
   public JPanel creategridAttrTagsItem()
563
   {
564
      gridAttrTagsItem.setName("gridAttrTagsItem");
565
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","FILL:DEFAULT:GROW(1.0)");
566
      CellConstraints cc = new CellConstraints();
567
      gridAttrTagsItem.setLayout(formlayout1);
568

    
569
      gridAttrTagsItem.add(createPanel9(),new CellConstraints(3,1,1,1,CellConstraints.DEFAULT,CellConstraints.TOP));
570
      gridAttrTagsItem.add(creategrdAttrTagsItemView(),cc.xy(1,1));
571
      addFillComponents(gridAttrTagsItem,new int[]{ 1,2,3 },new int[]{ 1 });
572
      return gridAttrTagsItem;
573
   }
574

    
575
   public JPanel createPanel9()
576
   {
577
      JPanel jpanel1 = new JPanel();
578
      FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE");
579
      CellConstraints cc = new CellConstraints();
580
      jpanel1.setLayout(formlayout1);
581

    
582
      btnAttrTagsAccept.setActionCommand("JButton");
583
      btnAttrTagsAccept.setName("btnAttrTagsAccept");
584
      btnAttrTagsAccept.setRolloverEnabled(true);
585
      btnAttrTagsAccept.setText("Accept");
586
      jpanel1.add(btnAttrTagsAccept,cc.xy(2,3));
587

    
588
      btnAttrTagsDiscard.setActionCommand("JButton");
589
      btnAttrTagsDiscard.setName("btnAttrTagsDiscard");
590
      btnAttrTagsDiscard.setRolloverEnabled(true);
591
      btnAttrTagsDiscard.setText("_Discard");
592
      jpanel1.add(btnAttrTagsDiscard,cc.xy(2,5));
593

    
594
      btnAttrTagsModify.setActionCommand("JButton");
595
      btnAttrTagsModify.setName("btnAttrTagsModify");
596
      btnAttrTagsModify.setRolloverEnabled(true);
597
      btnAttrTagsModify.setText("_Modify");
598
      jpanel1.add(btnAttrTagsModify,cc.xy(2,1));
599

    
600
      addFillComponents(jpanel1,new int[]{ 1,3 },new int[]{ 1,2,3,4,5 });
601
      return jpanel1;
602
   }
603

    
604
   public JPanel creategrdAttrTagsItemView()
605
   {
606
      grdAttrTagsItemView.setName("grdAttrTagsItemView");
607
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0)","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE");
608
      CellConstraints cc = new CellConstraints();
609
      grdAttrTagsItemView.setLayout(formlayout1);
610

    
611
      lblAttrTagsItemName.setName("lblAttrTagsItemName");
612
      lblAttrTagsItemName.setText("_Name");
613
      grdAttrTagsItemView.add(lblAttrTagsItemName,cc.xy(1,1));
614

    
615
      lblAttrTagsItemValue.setName("lblAttrTagsItemValue");
616
      lblAttrTagsItemValue.setText("_Value");
617
      grdAttrTagsItemView.add(lblAttrTagsItemValue,cc.xy(1,3));
618

    
619
      cboAttrTagsItemName.setName("cboAttrTagsItemName");
620
      grdAttrTagsItemView.add(cboAttrTagsItemName,cc.xy(3,1));
621

    
622
      cboAttrTagsItemValue.setEditable(true);
623
      cboAttrTagsItemValue.setName("cboAttrTagsItemValue");
624
      grdAttrTagsItemView.add(cboAttrTagsItemValue,cc.xy(3,3));
625

    
626
      lblAttrTagsItemNotes.setName("lblAttrTagsItemNotes");
627
      lblAttrTagsItemNotes.setText("_Notes");
628
      grdAttrTagsItemView.add(lblAttrTagsItemNotes,cc.xy(1,5));
629

    
630
      lblAttrTagsItemNotesValue.setName("lblAttrTagsItemNotesValue");
631
      grdAttrTagsItemView.add(lblAttrTagsItemNotesValue,cc.xy(3,5));
632

    
633
      addFillComponents(grdAttrTagsItemView,new int[]{ 2 },new int[]{ 2,4 });
634
      return grdAttrTagsItemView;
635
   }
636

    
637
   public JPanel createPanel10()
638
   {
639
      JPanel jpanel1 = new JPanel();
640
      FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE","CENTER:DEFAULT: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");
641
      CellConstraints cc = new CellConstraints();
642
      jpanel1.setLayout(formlayout1);
643

    
644
      chkIsForeingKey.setActionCommand("_is_foreing_key");
645
      chkIsForeingKey.setName("chkIsForeingKey");
646
      chkIsForeingKey.setRolloverEnabled(true);
647
      chkIsForeingKey.setText("_is_foreing_key");
648
      jpanel1.add(chkIsForeingKey,cc.xywh(2,2,3,1));
649

    
650
      lblForeingKeyTableName.setName("lblForeingKeyTableName");
651
      lblForeingKeyTableName.setText("_Table");
652
      jpanel1.add(lblForeingKeyTableName,cc.xy(2,6));
653

    
654
      lblForeingKeyCodeName.setName("lblForeingKeyCodeName");
655
      lblForeingKeyCodeName.setText("_Code");
656
      jpanel1.add(lblForeingKeyCodeName,cc.xy(2,8));
657

    
658
      lblForeingKeyLabelFormula.setName("lblForeingKeyLabelFormula");
659
      lblForeingKeyLabelFormula.setText("_Label_formula");
660
      jpanel1.add(lblForeingKeyLabelFormula,cc.xy(2,10));
661

    
662
      cboForeingKeyTableName.setEditable(true);
663
      cboForeingKeyTableName.setName("cboForeingKeyTableName");
664
      jpanel1.add(cboForeingKeyTableName,cc.xywh(4,6,7,1));
665

    
666
      cboForeingKeyCodeName.setEditable(true);
667
      cboForeingKeyCodeName.setName("cboForeingKeyCodeName");
668
      jpanel1.add(cboForeingKeyCodeName,cc.xywh(4,8,7,1));
669

    
670
      txtForeingKeyFormula.setName("txtForeingKeyFormula");
671
      jpanel1.add(txtForeingKeyFormula,cc.xy(4,10));
672

    
673
      lblIsClosedList.setName("lblIsClosedList");
674
      lblIsClosedList.setText("_is_closed_list");
675
      jpanel1.add(lblIsClosedList,cc.xy(2,4));
676

    
677
      chkIsClosedList.setName("chkIsClosedList");
678
      chkIsClosedList.setRolloverEnabled(true);
679
      jpanel1.add(chkIsClosedList,cc.xy(4,4));
680

    
681
      btnForeingKeyFormula.setActionCommand("...");
682
      btnForeingKeyFormula.setName("btnForeingKeyFormula");
683
      btnForeingKeyFormula.setRolloverEnabled(true);
684
      btnForeingKeyFormula.setText("...");
685
      EmptyBorder emptyborder1 = new EmptyBorder(2,2,2,2);
686
      btnForeingKeyFormula.setBorder(emptyborder1);
687
      jpanel1.add(btnForeingKeyFormula,cc.xy(6,10));
688

    
689
      btnForeingKeyFormulaHistory.setActionCommand("...");
690
      btnForeingKeyFormulaHistory.setName("btnForeingKeyFormulaHistory");
691
      btnForeingKeyFormulaHistory.setRolloverEnabled(true);
692
      btnForeingKeyFormulaHistory.setText("...");
693
      EmptyBorder emptyborder2 = new EmptyBorder(2,2,2,2);
694
      btnForeingKeyFormulaHistory.setBorder(emptyborder2);
695
      jpanel1.add(btnForeingKeyFormulaHistory,cc.xy(8,10));
696

    
697
      btnForeingKeyFormulaBookmarks.setActionCommand("...");
698
      btnForeingKeyFormulaBookmarks.setName("btnForeingKeyFormulaBookmarks");
699
      btnForeingKeyFormulaBookmarks.setRolloverEnabled(true);
700
      btnForeingKeyFormulaBookmarks.setText("...");
701
      EmptyBorder emptyborder3 = new EmptyBorder(2,2,2,2);
702
      btnForeingKeyFormulaBookmarks.setBorder(emptyborder3);
703
      jpanel1.add(btnForeingKeyFormulaBookmarks,cc.xy(10,10));
704

    
705
      addFillComponents(jpanel1,new int[]{ 1,2,3,4,5,6,7,8,9,10,11 },new int[]{ 1,2,3,4,5,6,7,8,9,10,11 });
706
      return jpanel1;
707
   }
708

    
709
   public JPanel createPanel11()
710
   {
711
      JPanel jpanel1 = new JPanel();
712
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0)","FILL:DEFAULT:GROW(1.0)");
713
      CellConstraints cc = new CellConstraints();
714
      jpanel1.setLayout(formlayout1);
715

    
716
      tabLayout.setName("tabLayout");
717
      tabLayout.setTabPlacement(JTabbedPane.LEFT);
718
      tabLayout.addTab("_Basic",null,createPanel12());
719
      tabLayout.addTab("_Values",null,createPanel13());
720
      jpanel1.add(tabLayout,cc.xy(1,1));
721

    
722
      addFillComponents(jpanel1,new int[0],new int[0]);
723
      return jpanel1;
724
   }
725

    
726
   public JPanel createPanel12()
727
   {
728
      JPanel jpanel1 = new JPanel();
729
      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,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,FILL:DEFAULT:GROW(1.0)");
730
      CellConstraints cc = new CellConstraints();
731
      jpanel1.setLayout(formlayout1);
732

    
733
      lblGroup.setName("lblGroup");
734
      lblGroup.setText("_Group");
735
      jpanel1.add(lblGroup,cc.xy(2,2));
736

    
737
      lblOrder.setName("lblOrder");
738
      lblOrder.setText("_Order");
739
      jpanel1.add(lblOrder,cc.xy(2,4));
740

    
741
      cboGroup.setEditable(true);
742
      cboGroup.setName("cboGroup");
743
      jpanel1.add(cboGroup,cc.xy(4,2));
744

    
745
      txtOrder.setName("txtOrder");
746
      jpanel1.add(txtOrder,cc.xy(4,4));
747

    
748
      lblHidden.setName("lblHidden");
749
      lblHidden.setText("_Hidden");
750
      jpanel1.add(lblHidden,cc.xy(2,6));
751

    
752
      chkHidden.setName("chkHidden");
753
      chkHidden.setRolloverEnabled(true);
754
      jpanel1.add(chkHidden,cc.xy(4,6));
755

    
756
      lblLabel.setName("lblLabel");
757
      lblLabel.setText("_Label");
758
      jpanel1.add(lblLabel,cc.xy(2,8));
759

    
760
      txtLabel.setName("txtLabel");
761
      jpanel1.add(txtLabel,cc.xy(4,8));
762

    
763
      lblDescription.setName("lblDescription");
764
      lblDescription.setText("_Description");
765
      lblDescription.setVerticalAlignment(JLabel.TOP);
766
      jpanel1.add(lblDescription,new CellConstraints(2,10,1,1,CellConstraints.DEFAULT,CellConstraints.TOP));
767

    
768
      txtDescription.setName("txtDescription");
769
      JScrollPane jscrollpane1 = new JScrollPane();
770
      jscrollpane1.setViewportView(txtDescription);
771
      jscrollpane1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
772
      jscrollpane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
773
      jpanel1.add(jscrollpane1,cc.xy(4,10));
774

    
775
      addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6,7,8,9,10 });
776
      return jpanel1;
777
   }
778

    
779
   public JPanel createPanel13()
780
   {
781
      JPanel jpanel1 = new JPanel();
782
      FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE","CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,FILL:DEFAULT:NONE,CENTER:2DLU:NONE,FILL:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE");
783
      CellConstraints cc = new CellConstraints();
784
      jpanel1.setLayout(formlayout1);
785

    
786
      lblAvailableValues.setName("lblAvailableValues");
787
      lblAvailableValues.setText("_List_of_values");
788
      jpanel1.add(lblAvailableValues,cc.xywh(2,6,5,1));
789

    
790
      lstAvailableValues.setName("lstAvailableValues");
791
      JScrollPane jscrollpane1 = new JScrollPane();
792
      jscrollpane1.setViewportView(lstAvailableValues);
793
      jscrollpane1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
794
      jscrollpane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
795
      jpanel1.add(jscrollpane1,new CellConstraints(2,8,3,1,CellConstraints.DEFAULT,CellConstraints.FILL));
796

    
797
      lblAvailableValuesLabel.setName("lblAvailableValuesLabel");
798
      lblAvailableValuesLabel.setText("_Label");
799
      jpanel1.add(lblAvailableValuesLabel,cc.xy(2,10));
800

    
801
      txtAvailableValuesLabel.setName("txtAvailableValuesLabel");
802
      jpanel1.add(txtAvailableValuesLabel,cc.xy(4,10));
803

    
804
      lblAvailableValuesValue.setName("lblAvailableValuesValue");
805
      lblAvailableValuesValue.setText("_Value");
806
      jpanel1.add(lblAvailableValuesValue,cc.xy(2,12));
807

    
808
      txtAvailableValuesValue.setName("txtAvailableValuesValue");
809
      jpanel1.add(txtAvailableValuesValue,cc.xy(4,12));
810

    
811
      lblValuesFilter.setName("lblValuesFilter");
812
      lblValuesFilter.setText("_Filter_for_values");
813
      jpanel1.add(lblValuesFilter,cc.xywh(2,2,5,1));
814

    
815
      jpanel1.add(createPanel14(),new CellConstraints(6,8,1,5,CellConstraints.DEFAULT,CellConstraints.TOP));
816
      jpanel1.add(createPanel15(),cc.xywh(2,4,5,1));
817
      addFillComponents(jpanel1,new int[]{ 1,2,3,4,5,6,7 },new int[]{ 1,2,3,4,5,6,7,8,9,10,11,12,13 });
818
      return jpanel1;
819
   }
820

    
821
   public JPanel createPanel14()
822
   {
823
      JPanel jpanel1 = new JPanel();
824
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,FILL:2DLU:NONE");
825
      CellConstraints cc = new CellConstraints();
826
      jpanel1.setLayout(formlayout1);
827

    
828
      btnAvailableValuesAdd.setActionCommand("_Add");
829
      btnAvailableValuesAdd.setName("btnAvailableValuesAdd");
830
      btnAvailableValuesAdd.setRolloverEnabled(true);
831
      btnAvailableValuesAdd.setText("_Add");
832
      jpanel1.add(btnAvailableValuesAdd,cc.xy(1,1));
833

    
834
      btnAvailableValuesUpdate.setActionCommand("_Update");
835
      btnAvailableValuesUpdate.setName("btnAvailableValuesUpdate");
836
      btnAvailableValuesUpdate.setRolloverEnabled(true);
837
      btnAvailableValuesUpdate.setText("_Update");
838
      jpanel1.add(btnAvailableValuesUpdate,cc.xy(1,3));
839

    
840
      btnAvailableValuesRemove.setActionCommand("_Remove");
841
      btnAvailableValuesRemove.setName("btnAvailableValuesRemove");
842
      btnAvailableValuesRemove.setRolloverEnabled(true);
843
      btnAvailableValuesRemove.setText("_Remove");
844
      jpanel1.add(btnAvailableValuesRemove,cc.xy(1,5));
845

    
846
      btnAvailableValuesRemoveAll.setActionCommand("_Remove");
847
      btnAvailableValuesRemoveAll.setName("btnAvailableValuesRemoveAll");
848
      btnAvailableValuesRemoveAll.setRolloverEnabled(true);
849
      btnAvailableValuesRemoveAll.setText("_Remove_all");
850
      jpanel1.add(btnAvailableValuesRemoveAll,cc.xy(1,7));
851

    
852
      addFillComponents(jpanel1,new int[0],new int[]{ 2,4,6,8 });
853
      return jpanel1;
854
   }
855

    
856
   public JPanel createPanel15()
857
   {
858
      JPanel jpanel1 = new JPanel();
859
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE");
860
      CellConstraints cc = new CellConstraints();
861
      jpanel1.setLayout(formlayout1);
862

    
863
      txtValuesFilter.setName("txtValuesFilter");
864
      jpanel1.add(txtValuesFilter,cc.xy(1,1));
865

    
866
      btnValuesFilter.setActionCommand("...");
867
      btnValuesFilter.setName("btnValuesFilter");
868
      btnValuesFilter.setRolloverEnabled(true);
869
      btnValuesFilter.setText("...");
870
      EmptyBorder emptyborder1 = new EmptyBorder(2,2,2,2);
871
      btnValuesFilter.setBorder(emptyborder1);
872
      jpanel1.add(btnValuesFilter,cc.xy(3,1));
873

    
874
      btnValuesFilterHistory.setActionCommand("...");
875
      btnValuesFilterHistory.setName("btnValuesFilterHistory");
876
      btnValuesFilterHistory.setRolloverEnabled(true);
877
      btnValuesFilterHistory.setText("...");
878
      EmptyBorder emptyborder2 = new EmptyBorder(2,2,2,2);
879
      btnValuesFilterHistory.setBorder(emptyborder2);
880
      jpanel1.add(btnValuesFilterHistory,cc.xy(5,1));
881

    
882
      btnValuesFilterBookmarks.setActionCommand("...");
883
      btnValuesFilterBookmarks.setName("btnValuesFilterBookmarks");
884
      btnValuesFilterBookmarks.setRolloverEnabled(true);
885
      btnValuesFilterBookmarks.setText("...");
886
      EmptyBorder emptyborder3 = new EmptyBorder(2,2,2,2);
887
      btnValuesFilterBookmarks.setBorder(emptyborder3);
888
      jpanel1.add(btnValuesFilterBookmarks,cc.xy(7,1));
889

    
890
      addFillComponents(jpanel1,new int[]{ 2,4,6 },new int[0]);
891
      return jpanel1;
892
   }
893

    
894
   public JPanel createPanel16()
895
   {
896
      JPanel jpanel1 = new JPanel();
897
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE");
898
      CellConstraints cc = new CellConstraints();
899
      jpanel1.setLayout(formlayout1);
900

    
901
      lblIsPrimaryKey.setName("lblIsPrimaryKey");
902
      lblIsPrimaryKey.setText("_Primary_key");
903
      jpanel1.add(lblIsPrimaryKey,cc.xy(1,1));
904

    
905
      chkIsPrimaryKey.setName("chkIsPrimaryKey");
906
      chkIsPrimaryKey.setRolloverEnabled(true);
907
      jpanel1.add(chkIsPrimaryKey,cc.xy(3,1));
908

    
909
      lblIsAutomatic.setName("lblIsAutomatic");
910
      lblIsAutomatic.setText("_Value_automatic");
911
      jpanel1.add(lblIsAutomatic,cc.xy(5,1));
912

    
913
      chkIsAutomatic.setName("chkIsAutomatic");
914
      chkIsAutomatic.setRolloverEnabled(true);
915
      jpanel1.add(chkIsAutomatic,cc.xy(7,1));
916

    
917
      lblAllowNulls.setName("lblAllowNulls");
918
      lblAllowNulls.setText("_Allow_nulls");
919
      jpanel1.add(lblAllowNulls,cc.xy(9,1));
920

    
921
      chkAllowNulls.setName("chkAllowNulls");
922
      chkAllowNulls.setRolloverEnabled(true);
923
      jpanel1.add(chkAllowNulls,cc.xy(11,1));
924

    
925
      chkIsReadOnly.setName("chkIsReadOnly");
926
      chkIsReadOnly.setRolloverEnabled(true);
927
      jpanel1.add(chkIsReadOnly,cc.xy(3,3));
928

    
929
      chkIsIndexed.setName("chkIsIndexed");
930
      chkIsIndexed.setRolloverEnabled(true);
931
      jpanel1.add(chkIsIndexed,cc.xy(7,3));
932

    
933
      lblIsReadOnly.setName("lblIsReadOnly");
934
      lblIsReadOnly.setText("_Read_only");
935
      jpanel1.add(lblIsReadOnly,cc.xy(1,3));
936

    
937
      lblIsIndexed.setName("lblIsIndexed");
938
      lblIsIndexed.setText("_Indexed");
939
      jpanel1.add(lblIsIndexed,cc.xy(5,3));
940

    
941
      addFillComponents(jpanel1,new int[]{ 2,4,6,8,10,12 },new int[]{ 2 });
942
      return jpanel1;
943
   }
944

    
945
   public JPanel createPanel17()
946
   {
947
      JPanel jpanel1 = new JPanel();
948
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE");
949
      CellConstraints cc = new CellConstraints();
950
      jpanel1.setLayout(formlayout1);
951

    
952
      cboFieldType.setName("cboFieldType");
953
      jpanel1.add(cboFieldType,cc.xy(1,1));
954

    
955
      btnFieldType.setIcon(loadImage("src/main/resources/org/gvsig/fmap/dal/swing/impl/featuretype/picker-datatype.png"));
956
      btnFieldType.setName("btnFieldType");
957
      btnFieldType.setRolloverEnabled(true);
958
      EmptyBorder emptyborder1 = new EmptyBorder(2,2,2,2);
959
      btnFieldType.setBorder(emptyborder1);
960
      jpanel1.add(btnFieldType,cc.xy(3,1));
961

    
962
      addFillComponents(jpanel1,new int[]{ 2 },new int[0]);
963
      return jpanel1;
964
   }
965

    
966
   /**
967
    * Initializer
968
    */
969
   protected void initializePanel()
970
   {
971
      setLayout(new BorderLayout());
972
      add(createPanel(), BorderLayout.CENTER);
973
   }
974

    
975

    
976
}