Revision 46850 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

View differences:

DefaultFeatureAttributePanelView.java
6 6
import com.jgoodies.forms.layout.CellConstraints;
7 7
import com.jgoodies.forms.layout.FormLayout;
8 8
import java.awt.BorderLayout;
9
import java.awt.Color;
9 10
import java.awt.ComponentOrientation;
10 11
import java.awt.Container;
11 12
import java.awt.Dimension;
12 13
import javax.swing.Box;
14
import javax.swing.ButtonGroup;
13 15
import javax.swing.ImageIcon;
14 16
import javax.swing.JButton;
15 17
import javax.swing.JCheckBox;
......
18 20
import javax.swing.JLabel;
19 21
import javax.swing.JList;
20 22
import javax.swing.JPanel;
23
import javax.swing.JRadioButton;
21 24
import javax.swing.JScrollPane;
22 25
import javax.swing.JTabbedPane;
23 26
import javax.swing.JTable;
......
42 45
   JComboBox cboDataProfile = new JComboBox();
43 46
   JLabel lblScale = new JLabel();
44 47
   JTextField txtScale = new JTextField();
45
   JLabel lblRelationType = new JLabel();
46
   JComboBox cboRelationType = new JComboBox();
47 48
   JLabel lblDisplaySize = new JLabel();
48 49
   JTextField txtDisplaySize = new JTextField();
49 50
   JLabel lblDefaultFormat = new JLabel();
......
79 80
   JTextField txtIntervalEnd = new JTextField();
80 81
   JPanel grdAttrTags = new JPanel();
81 82
   HorizontalLineComponent horizontallinecomponent1 = new HorizontalLineComponent();
82
   JPanel grdAttrTagsItems = new JPanel();
83
   JTable tblAttrTagsItems = new JTable();
84
   JButton btnAttrTagsNew = new JButton();
85
   JButton btnAttrTagsDelete = new JButton();
86 83
   JPanel gridAttrTagsItem = new JPanel();
87 84
   JButton btnAttrTagsAccept = new JButton();
88 85
   JButton btnAttrTagsDiscard = new JButton();
......
94 91
   JComboBox cboAttrTagsItemValue = new JComboBox();
95 92
   JLabel lblAttrTagsItemNotes = new JLabel();
96 93
   JLabel lblAttrTagsItemNotesValue = new JLabel();
97
   JCheckBox chkIsForeingKey = new JCheckBox();
98
   JLabel lblForeingKeyTableName = new JLabel();
99
   JLabel lblForeingKeyCodeName = new JLabel();
100
   JLabel lblForeingKeyLabelFormula = new JLabel();
101
   JComboBox cboForeingKeyTableName = new JComboBox();
102
   JComboBox cboForeingKeyCodeName = new JComboBox();
103
   JTextField txtForeingKeyFormula = new JTextField();
104
   JLabel lblIsClosedList = new JLabel();
105
   JCheckBox chkIsClosedList = new JCheckBox();
106
   JButton btnForeingKeyFormula = new JButton();
107
   JButton btnForeingKeyFormulaHistory = new JButton();
108
   JButton btnForeingKeyFormulaBookmarks = new JButton();
109
   JLabel lblForeignKeyRepository = new JLabel();
110
   JComboBox cboForeignKeyRepository = new JComboBox();
94
   JPanel gridAttrTagsTable = new JPanel();
95
   JTable tblAttrTagsItems = new JTable();
96
   JButton btnAttrTagsNew = new JButton();
97
   JButton btnAttrTagsDelete = new JButton();
98
   JRadioButton rdbRelationNone = new JRadioButton();
99
   ButtonGroup buttongroup1 = new ButtonGroup();
100
   JRadioButton rdbRelationToOne = new JRadioButton();
101
   JRadioButton rdbRelationToMany = new JRadioButton();
102
   JLabel lblRelationNone = new JLabel();
103
   JLabel lblRelationToOne = new JLabel();
104
   JLabel lblRelationToMany = new JLabel();
105
   JLabel lblRelationToOneType = new JLabel();
106
   JLabel lblRelationToOneCondition = new JLabel();
107
   JLabel lblRelationToOneLabelFormula = new JLabel();
108
   JLabel lblRelationToOneIsClosedList = new JLabel();
109
   JCheckBox chkRelationToOneIsClosedList = new JCheckBox();
110
   JComboBox cboRelationToOneType = new JComboBox();
111
   JLabel lblRelationToManyType = new JLabel();
112
   JLabel lblRelationToManyCondition = new JLabel();
113
   JLabel lblRelationToManyExpression = new JLabel();
114
   JComboBox cboRelationToManyType = new JComboBox();
115
   JLabel lblRelationRepository = new JLabel();
116
   JComboBox cboRelationToOneTableName = new JComboBox();
117
   JComboBox cboRelationToOneCodeName = new JComboBox();
118
   JTextField txtRelationToOneMyFieldName = new JTextField();
119
   JComboBox cboRelationToOneFormula = new JComboBox();
120
   JButton btnRelationToOneFormula = new JButton();
121
   JButton btnRelationToOneFormulaHistory = new JButton();
122
   JButton btnRelationToOneFormulaBookmarks = new JButton();
123
   JComboBox cboRelationToManyTableName = new JComboBox();
124
   JComboBox cboRelationToManyForeignFieldName = new JComboBox();
125
   JComboBox cboRelationToManyMyFieldName = new JComboBox();
126
   JTextField txtRelationToManyExpression = new JTextField();
127
   JButton btnRelationToManyExpression = new JButton();
128
   JButton btnRelationToManyExpressionHistory = new JButton();
129
   JButton btnRelationToManyExpressionBookmarks = new JButton();
130
   JComboBox cboRelationRepository = new JComboBox();
111 131
   JTabbedPane tabLayout = new JTabbedPane();
112 132
   JLabel lblGroup = new JLabel();
113 133
   JLabel lblOrder = new JLabel();
......
237 257
   public JPanel createPanel()
238 258
   {
239 259
      JPanel jpanel1 = new JPanel();
240
      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");
260
      FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:12DLU: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:GROW(1.0),CENTER:2DLU:NONE");
241 261
      CellConstraints cc = new CellConstraints();
242 262
      jpanel1.setLayout(formlayout1);
243 263

  
......
258 278
      tabAditionalFields.addTab("_Geometry",null,createPanel4());
259 279
      tabAditionalFields.addTab("_Time",null,createPanel6());
260 280
      tabAditionalFields.addTab("_Tags",null,createPanel8());
261
      tabAditionalFields.addTab("_ForeingKey",null,createPanel11());
262
      tabAditionalFields.addTab("_Visualization",null,createPanel12());
281
      tabAditionalFields.addTab("_Relations",null,createPanel11());
282
      tabAditionalFields.addTab("_Visualization",null,createPanel17());
263 283
      jpanel1.add(tabAditionalFields,cc.xywh(2,8,3,1));
264 284

  
265
      jpanel1.add(createPanel17(),cc.xy(4,6));
266
      jpanel1.add(createPanel18(),cc.xy(4,4));
285
      jpanel1.add(createPanel22(),cc.xy(4,6));
286
      jpanel1.add(createPanel23(),cc.xy(4,4));
267 287
      addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6,7,8,9 });
268 288
      return jpanel1;
269 289
   }
......
271 291
   public JPanel createPanel1()
272 292
   {
273 293
      JPanel jpanel1 = new JPanel();
274
      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,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE");
294
      FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:12DLU: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,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE");
275 295
      CellConstraints cc = new CellConstraints();
276 296
      jpanel1.setLayout(formlayout1);
277 297

  
......
314 334
      txtScale.setToolTipText("_Number_of_decimal_digits_used_to_represent_the_number");
315 335
      jpanel1.add(txtScale,cc.xy(4,8));
316 336

  
317
      lblRelationType.setName("lblRelationType");
318
      lblRelationType.setText("_Relation_type");
319
      jpanel1.add(lblRelationType,cc.xy(2,16));
320

  
321
      cboRelationType.setName("cboRelationType");
322
      jpanel1.add(cboRelationType,cc.xy(4,16));
323

  
324 337
      lblDisplaySize.setName("lblDisplaySize");
325 338
      lblDisplaySize.setText("_Characters_in_display");
326 339
      lblDisplaySize.setToolTipText("_Number_of_characters_required_to_display_the_data_in_this_field_Leave_it_empty_or_zero_to_be_automatically_calculated");
......
339 352

  
340 353
      lblVirtualFieldSep.setName("lblVirtualFieldSep");
341 354
      lblVirtualFieldSep.setText("_Virtual_field");
342
      jpanel1.add(lblVirtualFieldSep,cc.xywh(2,18,3,1));
355
      jpanel1.add(lblVirtualFieldSep,cc.xywh(2,16,3,1));
343 356

  
344 357
      lblVirtualField.setName("lblVirtualField");
345 358
      lblVirtualField.setText("_Virtual_field");
346
      jpanel1.add(lblVirtualField,cc.xy(2,20));
359
      jpanel1.add(lblVirtualField,cc.xy(2,18));
347 360

  
348 361
      chkVirtualField.setActionCommand("Campo virtual");
349 362
      chkVirtualField.setName("chkVirtualField");
350
      jpanel1.add(chkVirtualField,cc.xy(4,20));
363
      chkVirtualField.setRolloverEnabled(true);
364
      jpanel1.add(chkVirtualField,cc.xy(4,18));
351 365

  
352 366
      lblVirtualFieldGetter.setName("lblVirtualFieldGetter");
353 367
      lblVirtualFieldGetter.setText("_Expression_get");
354
      jpanel1.add(lblVirtualFieldGetter,cc.xy(2,22));
368
      jpanel1.add(lblVirtualFieldGetter,cc.xy(2,20));
355 369

  
356 370
      lblVirtualFieldSetter.setName("lblVirtualFieldSetter");
357 371
      lblVirtualFieldSetter.setText("_Expression_set");
358
      jpanel1.add(lblVirtualFieldSetter,cc.xy(2,24));
372
      jpanel1.add(lblVirtualFieldSetter,cc.xy(2,22));
359 373

  
360
      jpanel1.add(createPanel2(),cc.xy(4,22));
361
      jpanel1.add(createPanel3(),cc.xy(4,24));
362
      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,19,20,21,22,23,24 });
374
      jpanel1.add(createPanel2(),cc.xy(4,20));
375
      jpanel1.add(createPanel3(),cc.xy(4,22));
376
      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,19,20,21,22 });
363 377
      return jpanel1;
364 378
   }
365 379

  
366 380
   public JPanel createPanel2()
367 381
   {
368 382
      JPanel jpanel1 = new JPanel();
369
      FormLayout formlayout1 = new FormLayout("FILL:MIN(200PX;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");
383
      FormLayout formlayout1 = new FormLayout("FILL:200PX:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE");
370 384
      CellConstraints cc = new CellConstraints();
371 385
      jpanel1.setLayout(formlayout1);
372 386

  
373 387
      btnVirtualFieldBookmarksGetter.setActionCommand("...");
374 388
      btnVirtualFieldBookmarksGetter.setName("btnVirtualFieldBookmarksGetter");
389
      btnVirtualFieldBookmarksGetter.setOpaque(false);
390
      btnVirtualFieldBookmarksGetter.setRolloverEnabled(true);
375 391
      btnVirtualFieldBookmarksGetter.setText("...");
376 392
      EmptyBorder emptyborder1 = new EmptyBorder(2,2,2,2);
377 393
      btnVirtualFieldBookmarksGetter.setBorder(emptyborder1);
......
382 398

  
383 399
      btnVirtualFieldHistoryGetter.setActionCommand("...");
384 400
      btnVirtualFieldHistoryGetter.setName("btnVirtualFieldHistoryGetter");
401
      btnVirtualFieldHistoryGetter.setOpaque(false);
402
      btnVirtualFieldHistoryGetter.setRolloverEnabled(true);
385 403
      btnVirtualFieldHistoryGetter.setText("...");
386 404
      EmptyBorder emptyborder2 = new EmptyBorder(2,2,2,2);
387 405
      btnVirtualFieldHistoryGetter.setBorder(emptyborder2);
......
389 407

  
390 408
      btnVirtualFieldGetter.setActionCommand("...");
391 409
      btnVirtualFieldGetter.setName("btnVirtualFieldGetter");
410
      btnVirtualFieldGetter.setOpaque(false);
411
      btnVirtualFieldGetter.setRolloverEnabled(true);
392 412
      btnVirtualFieldGetter.setText("...");
393 413
      EmptyBorder emptyborder3 = new EmptyBorder(2,2,2,2);
394 414
      btnVirtualFieldGetter.setBorder(emptyborder3);
......
401 421
   public JPanel createPanel3()
402 422
   {
403 423
      JPanel jpanel1 = new JPanel();
404
      FormLayout formlayout1 = new FormLayout("FILL:MIN(200PX;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");
424
      FormLayout formlayout1 = new FormLayout("FILL:200PX:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE");
405 425
      CellConstraints cc = new CellConstraints();
406 426
      jpanel1.setLayout(formlayout1);
407 427

  
408 428
      btnVirtualFieldBookmarksSetter.setActionCommand("...");
409 429
      btnVirtualFieldBookmarksSetter.setName("btnVirtualFieldBookmarksSetter");
430
      btnVirtualFieldBookmarksSetter.setOpaque(false);
431
      btnVirtualFieldBookmarksSetter.setRolloverEnabled(true);
410 432
      btnVirtualFieldBookmarksSetter.setText("...");
411 433
      EmptyBorder emptyborder1 = new EmptyBorder(2,2,2,2);
412 434
      btnVirtualFieldBookmarksSetter.setBorder(emptyborder1);
......
417 439

  
418 440
      btnVirtualFieldHistorySetter.setActionCommand("...");
419 441
      btnVirtualFieldHistorySetter.setName("btnVirtualFieldHistorySetter");
442
      btnVirtualFieldHistorySetter.setOpaque(false);
443
      btnVirtualFieldHistorySetter.setRolloverEnabled(true);
420 444
      btnVirtualFieldHistorySetter.setText("...");
421 445
      EmptyBorder emptyborder2 = new EmptyBorder(2,2,2,2);
422 446
      btnVirtualFieldHistorySetter.setBorder(emptyborder2);
......
424 448

  
425 449
      btnVirtualFieldSetter.setActionCommand("...");
426 450
      btnVirtualFieldSetter.setName("btnVirtualFieldSetter");
451
      btnVirtualFieldSetter.setOpaque(false);
452
      btnVirtualFieldSetter.setRolloverEnabled(true);
427 453
      btnVirtualFieldSetter.setText("...");
428 454
      EmptyBorder emptyborder3 = new EmptyBorder(2,2,2,2);
429 455
      btnVirtualFieldSetter.setBorder(emptyborder3);
......
436 462
   public JPanel createPanel4()
437 463
   {
438 464
      JPanel jpanel1 = new JPanel();
439
      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");
465
      FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:12DLU: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");
440 466
      CellConstraints cc = new CellConstraints();
441 467
      jpanel1.setLayout(formlayout1);
442 468

  
......
466 492
   public JPanel createPanel5()
467 493
   {
468 494
      JPanel jpanel1 = new JPanel();
469
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE");
495
      FormLayout formlayout1 = new FormLayout("FILL:12DLU:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE");
470 496
      CellConstraints cc = new CellConstraints();
471 497
      jpanel1.setLayout(formlayout1);
472 498

  
473 499
      btnCRS.setActionCommand("...");
474 500
      btnCRS.setName("btnCRS");
501
      btnCRS.setOpaque(false);
502
      btnCRS.setRolloverEnabled(true);
475 503
      btnCRS.setText("...");
476 504
      EmptyBorder emptyborder1 = new EmptyBorder(2,2,2,2);
477 505
      btnCRS.setBorder(emptyborder1);
......
487 515
   public JPanel createPanel6()
488 516
   {
489 517
      JPanel jpanel1 = new JPanel();
490
      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");
518
      FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:12DLU:GROW(1.0),FILL:4DLU:NONE","CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE");
491 519
      CellConstraints cc = new CellConstraints();
492 520
      jpanel1.setLayout(formlayout1);
493 521

  
......
512 540
   public JPanel createPanel7()
513 541
   {
514 542
      JPanel jpanel1 = new JPanel();
515
      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");
543
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:12DLU:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE");
516 544
      CellConstraints cc = new CellConstraints();
517 545
      jpanel1.setLayout(formlayout1);
518 546

  
......
529 557

  
530 558
      btnIntervalStart.setActionCommand("...");
531 559
      btnIntervalStart.setName("btnIntervalStart");
560
      btnIntervalStart.setOpaque(false);
561
      btnIntervalStart.setRolloverEnabled(true);
532 562
      btnIntervalStart.setText("...");
533 563
      EmptyBorder emptyborder1 = new EmptyBorder(2,2,2,2);
534 564
      btnIntervalStart.setBorder(emptyborder1);
......
536 566

  
537 567
      btnIntervalEnd.setActionCommand("...");
538 568
      btnIntervalEnd.setName("btnIntervalEnd");
569
      btnIntervalEnd.setOpaque(false);
570
      btnIntervalEnd.setRolloverEnabled(true);
539 571
      btnIntervalEnd.setText("...");
540 572
      EmptyBorder emptyborder2 = new EmptyBorder(2,2,2,2);
541 573
      btnIntervalEnd.setBorder(emptyborder2);
......
551 583
   public JPanel createPanel8()
552 584
   {
553 585
      JPanel jpanel1 = new JPanel();
554
      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");
586
      FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:2DLU:NONE,FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE");
555 587
      CellConstraints cc = new CellConstraints();
556 588
      jpanel1.setLayout(formlayout1);
557 589

  
558 590
      jpanel1.add(creategrdAttrTags(),cc.xy(2,2));
559
      addFillComponents(jpanel1,new int[]{ 1,2,3 },new int[]{ 1,2,3,4 });
591
      addFillComponents(jpanel1,new int[]{ 1,2,3 },new int[]{ 1,2,3 });
560 592
      return jpanel1;
561 593
   }
562 594

  
......
569 601

  
570 602
      grdAttrTags.add(horizontallinecomponent1,cc.xy(1,2));
571 603

  
572
      grdAttrTags.add(creategrdAttrTagsItems(),cc.xy(1,1));
573 604
      grdAttrTags.add(creategridAttrTagsItem(),cc.xy(1,3));
605
      grdAttrTags.add(creategridAttrTagsTable(),cc.xy(1,1));
574 606
      addFillComponents(grdAttrTags,new int[]{ 1 },new int[]{ 1,3 });
575 607
      return grdAttrTags;
576 608
   }
577 609

  
578
   public JPanel creategrdAttrTagsItems()
579
   {
580
      grdAttrTagsItems.setName("grdAttrTagsItems");
581
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","FILL:DEFAULT:NONE");
582
      CellConstraints cc = new CellConstraints();
583
      grdAttrTagsItems.setLayout(formlayout1);
584

  
585
      tblAttrTagsItems.setName("tblAttrTagsItems");
586
      JScrollPane jscrollpane1 = new JScrollPane();
587
      jscrollpane1.setViewportView(tblAttrTagsItems);
588
      jscrollpane1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
589
      jscrollpane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
590
      grdAttrTagsItems.add(jscrollpane1,cc.xy(1,1));
591

  
592
      grdAttrTagsItems.add(createPanel9(),new CellConstraints(3,1,1,1,CellConstraints.DEFAULT,CellConstraints.TOP));
593
      addFillComponents(grdAttrTagsItems,new int[]{ 2,3 },new int[0]);
594
      return grdAttrTagsItems;
595
   }
596

  
597
   public JPanel createPanel9()
598
   {
599
      JPanel jpanel1 = new JPanel();
600
      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)");
601
      CellConstraints cc = new CellConstraints();
602
      jpanel1.setLayout(formlayout1);
603

  
604
      btnAttrTagsNew.setActionCommand("_New");
605
      btnAttrTagsNew.setName("btnAttrTagsNew");
606
      btnAttrTagsNew.setText("_New");
607
      jpanel1.add(btnAttrTagsNew,cc.xy(2,1));
608

  
609
      btnAttrTagsDelete.setActionCommand("_Delete");
610
      btnAttrTagsDelete.setName("btnAttrTagsDelete");
611
      btnAttrTagsDelete.setText("_Delete");
612
      jpanel1.add(btnAttrTagsDelete,cc.xy(2,3));
613

  
614
      addFillComponents(jpanel1,new int[]{ 1,3 },new int[]{ 1,2,3,4,5 });
615
      return jpanel1;
616
   }
617

  
618 610
   public JPanel creategridAttrTagsItem()
619 611
   {
620 612
      gridAttrTagsItem.setName("gridAttrTagsItem");
621
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","FILL:DEFAULT:GROW(1.0)");
613
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","FILL:DEFAULT:NONE");
622 614
      CellConstraints cc = new CellConstraints();
623 615
      gridAttrTagsItem.setLayout(formlayout1);
624 616

  
625
      gridAttrTagsItem.add(createPanel10(),new CellConstraints(3,1,1,1,CellConstraints.DEFAULT,CellConstraints.TOP));
617
      gridAttrTagsItem.add(createPanel9(),new CellConstraints(3,1,1,1,CellConstraints.DEFAULT,CellConstraints.TOP));
626 618
      gridAttrTagsItem.add(creategrdAttrTagsItemView(),cc.xy(1,1));
627 619
      addFillComponents(gridAttrTagsItem,new int[]{ 1,2,3 },new int[]{ 1 });
628 620
      return gridAttrTagsItem;
629 621
   }
630 622

  
631
   public JPanel createPanel10()
623
   public JPanel createPanel9()
632 624
   {
633 625
      JPanel jpanel1 = new JPanel();
634 626
      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");
......
637 629

  
638 630
      btnAttrTagsAccept.setActionCommand("JButton");
639 631
      btnAttrTagsAccept.setName("btnAttrTagsAccept");
632
      btnAttrTagsAccept.setRolloverEnabled(true);
640 633
      btnAttrTagsAccept.setText("Accept");
641 634
      jpanel1.add(btnAttrTagsAccept,cc.xy(2,3));
642 635

  
643 636
      btnAttrTagsDiscard.setActionCommand("JButton");
644 637
      btnAttrTagsDiscard.setName("btnAttrTagsDiscard");
638
      btnAttrTagsDiscard.setRolloverEnabled(true);
645 639
      btnAttrTagsDiscard.setText("_Discard");
646 640
      jpanel1.add(btnAttrTagsDiscard,cc.xy(2,5));
647 641

  
648 642
      btnAttrTagsModify.setActionCommand("JButton");
649 643
      btnAttrTagsModify.setName("btnAttrTagsModify");
644
      btnAttrTagsModify.setRolloverEnabled(true);
650 645
      btnAttrTagsModify.setText("_Modify");
651 646
      jpanel1.add(btnAttrTagsModify,cc.xy(2,1));
652 647

  
......
657 652
   public JPanel creategrdAttrTagsItemView()
658 653
   {
659 654
      grdAttrTagsItemView.setName("grdAttrTagsItemView");
660
      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");
655
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:12DLU:GROW(1.0)","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE");
661 656
      CellConstraints cc = new CellConstraints();
662 657
      grdAttrTagsItemView.setLayout(formlayout1);
663 658

  
......
684 679
      lblAttrTagsItemNotesValue.setName("lblAttrTagsItemNotesValue");
685 680
      grdAttrTagsItemView.add(lblAttrTagsItemNotesValue,cc.xy(3,5));
686 681

  
687
      addFillComponents(grdAttrTagsItemView,new int[]{ 2 },new int[]{ 2,4 });
682
      addFillComponents(grdAttrTagsItemView,new int[]{ 2 },new int[]{ 2,4,6 });
688 683
      return grdAttrTagsItemView;
689 684
   }
690 685

  
686
   public JPanel creategridAttrTagsTable()
687
   {
688
      gridAttrTagsTable.setName("gridAttrTagsTable");
689
      FormLayout formlayout1 = new FormLayout("FILL:12DLU:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","FILL:DEFAULT:GROW(1.0)");
690
      CellConstraints cc = new CellConstraints();
691
      gridAttrTagsTable.setLayout(formlayout1);
692

  
693
      tblAttrTagsItems.setName("tblAttrTagsItems");
694
      JScrollPane jscrollpane1 = new JScrollPane();
695
      jscrollpane1.setViewportView(tblAttrTagsItems);
696
      jscrollpane1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
697
      jscrollpane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
698
      gridAttrTagsTable.add(jscrollpane1,new CellConstraints(1,1,1,1,CellConstraints.FILL,CellConstraints.FILL));
699

  
700
      gridAttrTagsTable.add(createPanel10(),new CellConstraints(3,1,1,1,CellConstraints.DEFAULT,CellConstraints.TOP));
701
      addFillComponents(gridAttrTagsTable,new int[]{ 2,3 },new int[0]);
702
      return gridAttrTagsTable;
703
   }
704

  
705
   public JPanel createPanel10()
706
   {
707
      JPanel jpanel1 = new JPanel();
708
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE");
709
      CellConstraints cc = new CellConstraints();
710
      jpanel1.setLayout(formlayout1);
711

  
712
      btnAttrTagsNew.setActionCommand("_New");
713
      btnAttrTagsNew.setName("btnAttrTagsNew");
714
      btnAttrTagsNew.setRolloverEnabled(true);
715
      btnAttrTagsNew.setText("_New");
716
      jpanel1.add(btnAttrTagsNew,cc.xy(1,1));
717

  
718
      btnAttrTagsDelete.setActionCommand("_Delete");
719
      btnAttrTagsDelete.setName("btnAttrTagsDelete");
720
      btnAttrTagsDelete.setRolloverEnabled(true);
721
      btnAttrTagsDelete.setText("_Delete");
722
      jpanel1.add(btnAttrTagsDelete,cc.xy(1,3));
723

  
724
      addFillComponents(jpanel1,new int[0],new int[]{ 2 });
725
      return jpanel1;
726
   }
727

  
691 728
   public JPanel createPanel11()
692 729
   {
693 730
      JPanel jpanel1 = new JPanel();
694
      FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:MIN(200PX;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,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE");
731
      FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:12DLU:GROW(1.0),FILL:4DLU:NONE","CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU: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:4DLU: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");
695 732
      CellConstraints cc = new CellConstraints();
696 733
      jpanel1.setLayout(formlayout1);
697 734

  
698
      chkIsForeingKey.setActionCommand("_is_foreing_key");
699
      chkIsForeingKey.setName("chkIsForeingKey");
700
      chkIsForeingKey.setText("_is_foreing_key");
701
      jpanel1.add(chkIsForeingKey,cc.xywh(2,2,3,1));
735
      rdbRelationNone.setActionCommand("_None");
736
      rdbRelationNone.setName("rdbRelationNone");
737
      rdbRelationNone.setRolloverEnabled(true);
738
      buttongroup1.add(rdbRelationNone);
739
      jpanel1.add(rdbRelationNone,cc.xy(2,4));
702 740

  
703
      lblForeingKeyTableName.setName("lblForeingKeyTableName");
704
      lblForeingKeyTableName.setText("_Table");
705
      jpanel1.add(lblForeingKeyTableName,cc.xy(2,8));
741
      rdbRelationToOne.setActionCommand("_to_one_1");
742
      rdbRelationToOne.setName("rdbRelationToOne");
743
      rdbRelationToOne.setRolloverEnabled(true);
744
      buttongroup1.add(rdbRelationToOne);
745
      jpanel1.add(rdbRelationToOne,cc.xy(2,6));
706 746

  
707
      lblForeingKeyCodeName.setName("lblForeingKeyCodeName");
708
      lblForeingKeyCodeName.setText("_Code");
709
      jpanel1.add(lblForeingKeyCodeName,cc.xy(2,10));
747
      rdbRelationToMany.setActionCommand("_To_many_N");
748
      rdbRelationToMany.setName("rdbRelationToMany");
749
      rdbRelationToMany.setRolloverEnabled(true);
750
      buttongroup1.add(rdbRelationToMany);
751
      jpanel1.add(rdbRelationToMany,cc.xy(2,16));
710 752

  
711
      lblForeingKeyLabelFormula.setName("lblForeingKeyLabelFormula");
712
      lblForeingKeyLabelFormula.setText("_Label_formula");
713
      jpanel1.add(lblForeingKeyLabelFormula,cc.xy(2,12));
753
      lblRelationNone.setName("lblRelationNone");
754
      lblRelationNone.setText("_None");
755
      jpanel1.add(lblRelationNone,cc.xywh(4,4,3,1));
714 756

  
715
      cboForeingKeyTableName.setEditable(true);
716
      cboForeingKeyTableName.setName("cboForeingKeyTableName");
717
      cboForeingKeyTableName.setRequestFocusEnabled(false);
718
      jpanel1.add(cboForeingKeyTableName,cc.xywh(4,8,7,1));
757
      lblRelationToOne.setName("lblRelationToOne");
758
      lblRelationToOne.setText("_To_one_1");
759
      jpanel1.add(lblRelationToOne,cc.xywh(4,6,3,1));
719 760

  
720
      cboForeingKeyCodeName.setEditable(true);
721
      cboForeingKeyCodeName.setName("cboForeingKeyCodeName");
722
      cboForeingKeyCodeName.setRequestFocusEnabled(false);
723
      jpanel1.add(cboForeingKeyCodeName,cc.xywh(4,10,7,1));
761
      lblRelationToMany.setName("lblRelationToMany");
762
      lblRelationToMany.setText("_To_many_N");
763
      jpanel1.add(lblRelationToMany,cc.xywh(4,16,3,1));
724 764

  
725
      txtForeingKeyFormula.setName("txtForeingKeyFormula");
726
      jpanel1.add(txtForeingKeyFormula,cc.xy(4,12));
765
      lblRelationToOneType.setName("lblRelationToOneType");
766
      lblRelationToOneType.setText("_Relation_type");
767
      jpanel1.add(lblRelationToOneType,cc.xy(4,8));
727 768

  
728
      lblIsClosedList.setName("lblIsClosedList");
729
      lblIsClosedList.setText("_is_closed_list");
730
      jpanel1.add(lblIsClosedList,cc.xy(2,4));
769
      lblRelationToOneCondition.setName("lblRelationToOneCondition");
770
      lblRelationToOneCondition.setText("_Condition");
771
      jpanel1.add(lblRelationToOneCondition,cc.xy(4,10));
731 772

  
732
      chkIsClosedList.setName("chkIsClosedList");
733
      jpanel1.add(chkIsClosedList,cc.xy(4,4));
773
      lblRelationToOneLabelFormula.setName("lblRelationToOneLabelFormula");
774
      lblRelationToOneLabelFormula.setText("_Label_formula");
775
      jpanel1.add(lblRelationToOneLabelFormula,cc.xy(4,12));
734 776

  
735
      btnForeingKeyFormula.setActionCommand("...");
736
      btnForeingKeyFormula.setName("btnForeingKeyFormula");
737
      btnForeingKeyFormula.setText("...");
777
      lblRelationToOneIsClosedList.setName("lblRelationToOneIsClosedList");
778
      lblRelationToOneIsClosedList.setText("_is_closed_list");
779
      jpanel1.add(lblRelationToOneIsClosedList,cc.xy(4,14));
780

  
781
      chkRelationToOneIsClosedList.setName("chkRelationToOneIsClosedList");
782
      chkRelationToOneIsClosedList.setRolloverEnabled(true);
783
      jpanel1.add(chkRelationToOneIsClosedList,cc.xy(6,14));
784

  
785
      cboRelationToOneType.setName("cboRelationToOneType");
786
      jpanel1.add(cboRelationToOneType,cc.xy(6,8));
787

  
788
      lblRelationToManyType.setName("lblRelationToManyType");
789
      lblRelationToManyType.setText("_Relation_type");
790
      jpanel1.add(lblRelationToManyType,cc.xy(4,18));
791

  
792
      lblRelationToManyCondition.setName("lblRelationToManyCondition");
793
      lblRelationToManyCondition.setText("_Condition");
794
      jpanel1.add(lblRelationToManyCondition,cc.xy(4,20));
795

  
796
      lblRelationToManyExpression.setName("lblRelationToManyExpression");
797
      lblRelationToManyExpression.setText("_Expression");
798
      jpanel1.add(lblRelationToManyExpression,cc.xy(4,22));
799

  
800
      cboRelationToManyType.setName("cboRelationToManyType");
801
      jpanel1.add(cboRelationToManyType,cc.xy(6,18));
802

  
803
      lblRelationRepository.setName("lblRelationRepository");
804
      lblRelationRepository.setText("_Repository");
805
      jpanel1.add(lblRelationRepository,cc.xywh(2,2,3,1));
806

  
807
      jpanel1.add(createPanel12(),cc.xy(6,10));
808
      jpanel1.add(createPanel13(),cc.xy(6,12));
809
      jpanel1.add(createPanel14(),cc.xy(6,20));
810
      jpanel1.add(createPanel15(),cc.xy(6,22));
811
      jpanel1.add(createPanel16(),cc.xy(6,2));
812
      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,14,15,16,17,18,19,20,21,22,23 });
813
      return jpanel1;
814
   }
815

  
816
   public JPanel createPanel12()
817
   {
818
      JPanel jpanel1 = new JPanel();
819
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:12DLU:GROW(1.0),FILL:4DLU:NONE,FILL:12DLU:GROW(1.0)","CENTER:DEFAULT:GROW(1.0)");
820
      CellConstraints cc = new CellConstraints();
821
      jpanel1.setLayout(formlayout1);
822

  
823
      cboRelationToOneTableName.setEditable(true);
824
      cboRelationToOneTableName.setName("cboRelationToOneTableName");
825
      cboRelationToOneTableName.setRequestFocusEnabled(false);
826
      jpanel1.add(cboRelationToOneTableName,cc.xy(5,1));
827

  
828
      cboRelationToOneCodeName.setEditable(true);
829
      cboRelationToOneCodeName.setName("cboRelationToOneCodeName");
830
      cboRelationToOneCodeName.setRequestFocusEnabled(false);
831
      jpanel1.add(cboRelationToOneCodeName,cc.xy(7,1));
832

  
833
      JLabel jlabel1 = new JLabel();
834
      jlabel1.setText("=");
835
      jpanel1.add(jlabel1,cc.xy(3,1));
836

  
837
      txtRelationToOneMyFieldName.setBackground(new Color(225,225,225));
838
      txtRelationToOneMyFieldName.setEditable(false);
839
      txtRelationToOneMyFieldName.setName("txtRelationToOneMyFieldName");
840
      jpanel1.add(txtRelationToOneMyFieldName,cc.xy(1,1));
841

  
842
      JLabel jlabel2 = new JLabel();
843
      jlabel2.setText(".");
844
      jpanel1.add(jlabel2,cc.xy(6,1));
845

  
846
      addFillComponents(jpanel1,new int[]{ 2,4 },new int[0]);
847
      return jpanel1;
848
   }
849

  
850
   public JPanel createPanel13()
851
   {
852
      JPanel jpanel1 = new JPanel();
853
      FormLayout formlayout1 = new FormLayout("FILL:12DLU:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE");
854
      CellConstraints cc = new CellConstraints();
855
      jpanel1.setLayout(formlayout1);
856

  
857
      cboRelationToOneFormula.setName("cboRelationToOneFormula");
858
      jpanel1.add(cboRelationToOneFormula,cc.xy(1,1));
859

  
860
      btnRelationToOneFormula.setActionCommand("...");
861
      btnRelationToOneFormula.setName("btnRelationToOneFormula");
862
      btnRelationToOneFormula.setOpaque(false);
863
      btnRelationToOneFormula.setRolloverEnabled(true);
864
      btnRelationToOneFormula.setText("...");
738 865
      EmptyBorder emptyborder1 = new EmptyBorder(2,2,2,2);
739
      btnForeingKeyFormula.setBorder(emptyborder1);
740
      jpanel1.add(btnForeingKeyFormula,cc.xy(6,12));
866
      btnRelationToOneFormula.setBorder(emptyborder1);
867
      jpanel1.add(btnRelationToOneFormula,cc.xy(3,1));
741 868

  
742
      btnForeingKeyFormulaHistory.setActionCommand("...");
743
      btnForeingKeyFormulaHistory.setName("btnForeingKeyFormulaHistory");
744
      btnForeingKeyFormulaHistory.setText("...");
869
      btnRelationToOneFormulaHistory.setActionCommand("...");
870
      btnRelationToOneFormulaHistory.setName("btnRelationToOneFormulaHistory");
871
      btnRelationToOneFormulaHistory.setOpaque(false);
872
      btnRelationToOneFormulaHistory.setRolloverEnabled(true);
873
      btnRelationToOneFormulaHistory.setText("...");
745 874
      EmptyBorder emptyborder2 = new EmptyBorder(2,2,2,2);
746
      btnForeingKeyFormulaHistory.setBorder(emptyborder2);
747
      jpanel1.add(btnForeingKeyFormulaHistory,cc.xy(8,12));
875
      btnRelationToOneFormulaHistory.setBorder(emptyborder2);
876
      jpanel1.add(btnRelationToOneFormulaHistory,cc.xy(5,1));
748 877

  
749
      btnForeingKeyFormulaBookmarks.setActionCommand("...");
750
      btnForeingKeyFormulaBookmarks.setName("btnForeingKeyFormulaBookmarks");
751
      btnForeingKeyFormulaBookmarks.setText("...");
878
      btnRelationToOneFormulaBookmarks.setActionCommand("...");
879
      btnRelationToOneFormulaBookmarks.setName("btnRelationToOneFormulaBookmarks");
880
      btnRelationToOneFormulaBookmarks.setOpaque(false);
881
      btnRelationToOneFormulaBookmarks.setRolloverEnabled(true);
882
      btnRelationToOneFormulaBookmarks.setText("...");
752 883
      EmptyBorder emptyborder3 = new EmptyBorder(2,2,2,2);
753
      btnForeingKeyFormulaBookmarks.setBorder(emptyborder3);
754
      jpanel1.add(btnForeingKeyFormulaBookmarks,cc.xy(10,12));
884
      btnRelationToOneFormulaBookmarks.setBorder(emptyborder3);
885
      jpanel1.add(btnRelationToOneFormulaBookmarks,cc.xy(7,1));
755 886

  
756
      lblForeignKeyRepository.setName("lblForeignKeyRepository");
757
      lblForeignKeyRepository.setText("_Repositorio");
758
      jpanel1.add(lblForeignKeyRepository,cc.xy(2,6));
887
      addFillComponents(jpanel1,new int[]{ 2,4,6 },new int[0]);
888
      return jpanel1;
889
   }
759 890

  
760
      cboForeignKeyRepository.setEditable(true);
761
      cboForeignKeyRepository.setEnabled(false);
762
      cboForeignKeyRepository.setName("cboForeignKeyRepository");
763
      cboForeignKeyRepository.setRequestFocusEnabled(false);
764
      jpanel1.add(cboForeignKeyRepository,cc.xywh(4,6,7,1));
891
   public JPanel createPanel14()
892
   {
893
      JPanel jpanel1 = new JPanel();
894
      FormLayout formlayout1 = new FormLayout("FILL:12DLU:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:12DLU:GROW(1.0),FILL:4DLU:NONE,FILL:12DLU:GROW(1.0)","CENTER:DEFAULT:NONE");
895
      CellConstraints cc = new CellConstraints();
896
      jpanel1.setLayout(formlayout1);
765 897

  
766
      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,12,13 });
898
      cboRelationToManyTableName.setEditable(true);
899
      cboRelationToManyTableName.setName("cboRelationToManyTableName");
900
      cboRelationToManyTableName.setRequestFocusEnabled(false);
901
      jpanel1.add(cboRelationToManyTableName,cc.xy(5,1));
902

  
903
      cboRelationToManyForeignFieldName.setEditable(true);
904
      cboRelationToManyForeignFieldName.setName("cboRelationToManyForeignFieldName");
905
      cboRelationToManyForeignFieldName.setRequestFocusEnabled(false);
906
      jpanel1.add(cboRelationToManyForeignFieldName,cc.xy(7,1));
907

  
908
      cboRelationToManyMyFieldName.setEditable(true);
909
      cboRelationToManyMyFieldName.setName("cboRelationToManyMyFieldName");
910
      cboRelationToManyMyFieldName.setRequestFocusEnabled(false);
911
      jpanel1.add(cboRelationToManyMyFieldName,cc.xy(1,1));
912

  
913
      JLabel jlabel1 = new JLabel();
914
      jlabel1.setText("=");
915
      jpanel1.add(jlabel1,cc.xy(3,1));
916

  
917
      JLabel jlabel2 = new JLabel();
918
      jlabel2.setText(".");
919
      jpanel1.add(jlabel2,cc.xy(6,1));
920

  
921
      addFillComponents(jpanel1,new int[]{ 2,4 },new int[0]);
767 922
      return jpanel1;
768 923
   }
769 924

  
770
   public JPanel createPanel12()
925
   public JPanel createPanel15()
771 926
   {
772 927
      JPanel jpanel1 = new JPanel();
928
      FormLayout formlayout1 = new FormLayout("FILL:12DLU:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE");
929
      CellConstraints cc = new CellConstraints();
930
      jpanel1.setLayout(formlayout1);
931

  
932
      txtRelationToManyExpression.setName("txtRelationToManyExpression");
933
      jpanel1.add(txtRelationToManyExpression,cc.xy(1,1));
934

  
935
      btnRelationToManyExpression.setActionCommand("...");
936
      btnRelationToManyExpression.setName("btnRelationToManyExpression");
937
      btnRelationToManyExpression.setOpaque(false);
938
      btnRelationToManyExpression.setRolloverEnabled(true);
939
      btnRelationToManyExpression.setText("...");
940
      EmptyBorder emptyborder1 = new EmptyBorder(2,2,2,2);
941
      btnRelationToManyExpression.setBorder(emptyborder1);
942
      jpanel1.add(btnRelationToManyExpression,cc.xy(3,1));
943

  
944
      btnRelationToManyExpressionHistory.setActionCommand("...");
945
      btnRelationToManyExpressionHistory.setName("btnRelationToManyExpressionHistory");
946
      btnRelationToManyExpressionHistory.setOpaque(false);
947
      btnRelationToManyExpressionHistory.setRolloverEnabled(true);
948
      btnRelationToManyExpressionHistory.setText("...");
949
      EmptyBorder emptyborder2 = new EmptyBorder(2,2,2,2);
950
      btnRelationToManyExpressionHistory.setBorder(emptyborder2);
951
      jpanel1.add(btnRelationToManyExpressionHistory,cc.xy(5,1));
952

  
953
      btnRelationToManyExpressionBookmarks.setActionCommand("...");
954
      btnRelationToManyExpressionBookmarks.setName("btnRelationToManyExpressionBookmarks");
955
      btnRelationToManyExpressionBookmarks.setOpaque(false);
956
      btnRelationToManyExpressionBookmarks.setRolloverEnabled(true);
957
      btnRelationToManyExpressionBookmarks.setText("...");
958
      EmptyBorder emptyborder3 = new EmptyBorder(2,2,2,2);
959
      btnRelationToManyExpressionBookmarks.setBorder(emptyborder3);
960
      jpanel1.add(btnRelationToManyExpressionBookmarks,cc.xy(7,1));
961

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

  
966
   public JPanel createPanel16()
967
   {
968
      JPanel jpanel1 = new JPanel();
969
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0)","CENTER:DEFAULT:NONE");
970
      CellConstraints cc = new CellConstraints();
971
      jpanel1.setLayout(formlayout1);
972

  
973
      cboRelationRepository.setEditable(true);
974
      cboRelationRepository.setEnabled(false);
975
      cboRelationRepository.setName("cboRelationRepository");
976
      cboRelationRepository.setRequestFocusEnabled(false);
977
      jpanel1.add(cboRelationRepository,cc.xy(1,1));
978

  
979
      addFillComponents(jpanel1,new int[0],new int[0]);
980
      return jpanel1;
981
   }
982

  
983
   public JPanel createPanel17()
984
   {
985
      JPanel jpanel1 = new JPanel();
773 986
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0)","FILL:DEFAULT:GROW(1.0)");
774 987
      CellConstraints cc = new CellConstraints();
775 988
      jpanel1.setLayout(formlayout1);
776 989

  
777 990
      tabLayout.setName("tabLayout");
778 991
      tabLayout.setTabPlacement(JTabbedPane.LEFT);
779
      tabLayout.addTab("_Basic",null,createPanel13());
780
      tabLayout.addTab("_Values",null,createPanel14());
992
      tabLayout.addTab("_Basic",null,createPanel18());
993
      tabLayout.addTab("_Values",null,createPanel19());
781 994
      jpanel1.add(tabLayout,cc.xy(1,1));
782 995

  
783 996
      addFillComponents(jpanel1,new int[0],new int[0]);
784 997
      return jpanel1;
785 998
   }
786 999

  
787
   public JPanel createPanel13()
1000
   public JPanel createPanel18()
788 1001
   {
789 1002
      JPanel jpanel1 = new JPanel();
790
      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)");
1003
      FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:12DLU: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)");
791 1004
      CellConstraints cc = new CellConstraints();
792 1005
      jpanel1.setLayout(formlayout1);
793 1006

  
......
837 1050
      return jpanel1;
838 1051
   }
839 1052

  
840
   public JPanel createPanel14()
1053
   public JPanel createPanel19()
841 1054
   {
842 1055
      JPanel jpanel1 = new JPanel();
843 1056
      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");
......
873 1086
      lblValuesFilter.setText("_Filter_for_values");
874 1087
      jpanel1.add(lblValuesFilter,cc.xywh(2,2,5,1));
875 1088

  
876
      jpanel1.add(createPanel15(),new CellConstraints(6,8,1,5,CellConstraints.DEFAULT,CellConstraints.TOP));
877
      jpanel1.add(createPanel16(),cc.xywh(2,4,5,1));
1089
      jpanel1.add(createPanel20(),new CellConstraints(6,8,1,5,CellConstraints.DEFAULT,CellConstraints.TOP));
1090
      jpanel1.add(createPanel21(),cc.xywh(2,4,5,1));
878 1091
      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 });
879 1092
      return jpanel1;
880 1093
   }
881 1094

  
882
   public JPanel createPanel15()
1095
   public JPanel createPanel20()
883 1096
   {
884 1097
      JPanel jpanel1 = new JPanel();
885 1098
      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");
......
910 1123
      return jpanel1;
911 1124
   }
912 1125

  
913
   public JPanel createPanel16()
1126
   public JPanel createPanel21()
914 1127
   {
915 1128
      JPanel jpanel1 = new JPanel();
916 1129
      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");
......
945 1158
      return jpanel1;
946 1159
   }
947 1160

  
948
   public JPanel createPanel17()
1161
   public JPanel createPanel22()
949 1162
   {
950 1163
      JPanel jpanel1 = new JPanel();
951 1164
      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");
......
991 1204
      return jpanel1;
992 1205
   }
993 1206

  
994
   public JPanel createPanel18()
1207
   public JPanel createPanel23()
995 1208
   {
996 1209
      JPanel jpanel1 = new JPanel();
997
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE");
1210
      FormLayout formlayout1 = new FormLayout("FILL:12DLU:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE");
998 1211
      CellConstraints cc = new CellConstraints();
999 1212
      jpanel1.setLayout(formlayout1);
1000 1213

  
......
1003 1216

  
1004 1217
      btnFieldType.setIcon(loadImage("src/main/resources/org/gvsig/fmap/dal/swing/impl/featuretype/picker-datatype.png"));
1005 1218
      btnFieldType.setName("btnFieldType");
1219
      btnFieldType.setOpaque(false);
1006 1220
      EmptyBorder emptyborder1 = new EmptyBorder(2,2,2,2);
1007 1221
      btnFieldType.setBorder(emptyborder1);
1008 1222
      jpanel1.add(btnFieldType,cc.xy(3,1));

Also available in: Unified diff