Revision 45154 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
DefaultFeatureAttributePanelView.java | ||
---|---|---|
39 | 39 |
JLabel lblDataProfile = new JLabel(); |
40 | 40 |
JComboBox cboDataProfile = new JComboBox(); |
41 | 41 |
JCheckBox chkVirtualField = new JCheckBox(); |
42 |
JButton btnVirtualField = new JButton(); |
|
43 |
JTextField txtVirtualField = new JTextField(); |
|
44 | 42 |
JLabel lblScale = new JLabel(); |
45 | 43 |
JTextField txtScale = new JTextField(); |
46 | 44 |
JLabel lblRelationType = new JLabel(); |
47 | 45 |
JComboBox cboRelationType = new JComboBox(); |
48 | 46 |
JLabel lblDisplaySize = new JLabel(); |
49 | 47 |
JTextField txtDisplaySize = new JTextField(); |
48 |
JButton btnVirtualFieldBookmarks = new JButton(); |
|
49 |
JTextField txtVirtualField = new JTextField(); |
|
50 |
JButton btnVirtualFieldHistory = new JButton(); |
|
51 |
JButton btnVirtualField = new JButton(); |
|
50 | 52 |
JLabel lblGeometryType = new JLabel(); |
51 | 53 |
JLabel lblGeometrySubtype = new JLabel(); |
52 | 54 |
JLabel lblCRS = new JLabel(); |
... | ... | |
63 | 65 |
JButton btnIntervalStart = new JButton(); |
64 | 66 |
JButton btnIntervalEnd = new JButton(); |
65 | 67 |
JTextField txtIntervalEnd = new JTextField(); |
68 |
JTable tblTags = new JTable(); |
|
66 | 69 |
JLabel lblTagsName = new JLabel(); |
67 |
JLabel lblTagsValue = new JLabel(); |
|
68 | 70 |
JComboBox cboTagsName = new JComboBox(); |
69 |
JTable tblTags = new JTable();
|
|
70 |
JLabel lblTagsDescription = new JLabel();
|
|
71 |
JLabel lblTagsValue = new JLabel();
|
|
72 |
JComboBox cboTagsValue = new JComboBox();
|
|
71 | 73 |
JButton btnTagsAdd = new JButton(); |
72 | 74 |
JButton btnTagsUpdate = new JButton(); |
73 | 75 |
JButton btnTagsRemove = new JButton(); |
74 |
JComboBox cboTagsValue = new JComboBox(); |
|
76 |
JLabel lbTagsLabelDescription = new JLabel(); |
|
77 |
JLabel lblTagsDescription = new JLabel(); |
|
75 | 78 |
JCheckBox chkIsForeingKey = new JCheckBox(); |
76 | 79 |
JLabel lblForeingKeyTableName = new JLabel(); |
77 | 80 |
JLabel lblForeingKeyCodeName = new JLabel(); |
... | ... | |
79 | 82 |
JComboBox cboForeingKeyTableName = new JComboBox(); |
80 | 83 |
JComboBox cboForeingKeyCodeName = new JComboBox(); |
81 | 84 |
JTextField txtForeingKeyFormula = new JTextField(); |
82 |
JButton btnForeingKeyFormula = new JButton(); |
|
83 | 85 |
JLabel lblIsClosedList = new JLabel(); |
84 | 86 |
JCheckBox chkIsClosedList = new JCheckBox(); |
87 |
JButton btnForeingKeyFormula = new JButton(); |
|
88 |
JButton btnForeingKeyFormulaHistory = new JButton(); |
|
89 |
JButton btnForeingKeyFormulaBookmarks = new JButton(); |
|
85 | 90 |
JTabbedPane tabLayout = new JTabbedPane(); |
86 | 91 |
JLabel lblGroup = new JLabel(); |
87 | 92 |
JLabel lblOrder = new JLabel(); |
... | ... | |
93 | 98 |
JTextField txtLabel = new JTextField(); |
94 | 99 |
JLabel lblDescription = new JLabel(); |
95 | 100 |
JTextArea txtDescription = new JTextArea(); |
96 |
JLabel lblMinValue = new JLabel(); |
|
97 |
JTextField txtMinValue = new JTextField(); |
|
98 |
JLabel lblMaxValue = new JLabel(); |
|
99 |
JTextField txtMaxValue = new JTextField(); |
|
100 | 101 |
JLabel lblAvailableValues = new JLabel(); |
102 |
JList lstAvailableValues = new JList(); |
|
103 |
JLabel lblAvailableValuesLabel = new JLabel(); |
|
104 |
JTextField txtAvailableValuesLabel = new JTextField(); |
|
105 |
JLabel lblAvailableValuesValue = new JLabel(); |
|
106 |
JTextField txtAvailableValuesValue = new JTextField(); |
|
101 | 107 |
JButton btnAvailableValuesAdd = new JButton(); |
102 | 108 |
JButton btnAvailableValuesUpdate = new JButton(); |
103 | 109 |
JButton btnAvailableValuesRemove = new JButton(); |
104 | 110 |
JButton btnAvailableValuesRemoveAll = new JButton(); |
105 |
JLabel lblAvailableValuesLabel = new JLabel(); |
|
106 |
JLabel lblAvailableValuesValue = new JLabel(); |
|
107 |
JTextField txtAvailableValuesLabel = new JTextField(); |
|
108 |
JTextField txtAvailableValuesValue = new JTextField(); |
|
109 |
JList lstAvailableValues = new JList(); |
|
110 | 111 |
JLabel lblIsPrimaryKey = new JLabel(); |
111 | 112 |
JCheckBox chkIsPrimaryKey = new JCheckBox(); |
112 | 113 |
JLabel lblIsAutomatic = new JLabel(); |
... | ... | |
226 | 227 |
tabAditionalFields.addTab("_Geometry",null,createPanel3()); |
227 | 228 |
tabAditionalFields.addTab("_Time",null,createPanel5()); |
228 | 229 |
tabAditionalFields.addTab("_Tags",null,createPanel7()); |
229 |
tabAditionalFields.addTab("_ForeingKey",null,createPanel10());
|
|
230 |
tabAditionalFields.addTab("_Visualization",null,createPanel11());
|
|
230 |
tabAditionalFields.addTab("_ForeingKey",null,createPanel9());
|
|
231 |
tabAditionalFields.addTab("_Visualization",null,createPanel10());
|
|
231 | 232 |
jpanel1.add(tabAditionalFields,cc.xywh(2,8,3,1)); |
232 | 233 |
|
233 |
jpanel1.add(createPanel17(),cc.xy(4,6));
|
|
234 |
jpanel1.add(createPanel18(),cc.xy(4,4));
|
|
234 |
jpanel1.add(createPanel14(),cc.xy(4,6));
|
|
235 |
jpanel1.add(createPanel15(),cc.xy(4,4));
|
|
235 | 236 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6,7,8,9 }); |
236 | 237 |
return jpanel1; |
237 | 238 |
} |
... | ... | |
239 | 240 |
public JPanel createPanel1() |
240 | 241 |
{ |
241 | 242 |
JPanel jpanel1 = new JPanel(); |
242 |
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,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE");
|
|
243 |
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:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE");
|
|
243 | 244 |
CellConstraints cc = new CellConstraints(); |
244 | 245 |
jpanel1.setLayout(formlayout1); |
245 | 246 |
|
... | ... | |
278 | 279 |
chkVirtualField.setText("_Virtual_field"); |
279 | 280 |
jpanel1.add(chkVirtualField,cc.xy(2,14)); |
280 | 281 |
|
281 |
jpanel1.add(createPanel2(),cc.xy(4,14)); |
|
282 | 282 |
lblScale.setName("lblScale"); |
283 | 283 |
lblScale.setText("_Decimal_digits_escale"); |
284 | 284 |
lblScale.setToolTipText("_Number_of_decimal_digits_used_to_represent_the_number"); |
... | ... | |
296 | 296 |
jpanel1.add(cboRelationType,cc.xy(4,16)); |
297 | 297 |
|
298 | 298 |
lblDisplaySize.setName("lblDisplaySize"); |
299 |
lblDisplaySize.setText("_Required_bytes");
|
|
300 |
lblDisplaySize.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");
|
|
299 |
lblDisplaySize.setText("_Characters_in_display");
|
|
300 |
lblDisplaySize.setToolTipText("_Number_of_characters_required_to_display_the_data_in_this_field_Leave_it_empty_or_zero_to_be_automatically_calculated");
|
|
301 | 301 |
jpanel1.add(lblDisplaySize,cc.xy(2,2)); |
302 | 302 |
|
303 | 303 |
txtDisplaySize.setName("txtDisplaySize"); |
304 | 304 |
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"); |
305 | 305 |
jpanel1.add(txtDisplaySize,cc.xy(4,2)); |
306 | 306 |
|
307 |
jpanel1.add(createPanel2(),cc.xy(4,14)); |
|
307 | 308 |
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 }); |
308 | 309 |
return jpanel1; |
309 | 310 |
} |
... | ... | |
311 | 312 |
public JPanel createPanel2() |
312 | 313 |
{ |
313 | 314 |
JPanel jpanel1 = new JPanel(); |
314 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE"); |
|
315 |
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");
|
|
315 | 316 |
CellConstraints cc = new CellConstraints(); |
316 | 317 |
jpanel1.setLayout(formlayout1); |
317 | 318 |
|
318 |
btnVirtualField.setActionCommand("..."); |
|
319 |
btnVirtualField.setName("btnVirtualField");
|
|
320 |
btnVirtualField.setText("..."); |
|
319 |
btnVirtualFieldBookmarks.setActionCommand("...");
|
|
320 |
btnVirtualFieldBookmarks.setName("btnVirtualFieldBookmarks");
|
|
321 |
btnVirtualFieldBookmarks.setText("...");
|
|
321 | 322 |
EmptyBorder emptyborder1 = new EmptyBorder(2,2,2,2); |
322 |
btnVirtualField.setBorder(emptyborder1); |
|
323 |
jpanel1.add(btnVirtualField,cc.xy(3,1));
|
|
323 |
btnVirtualFieldBookmarks.setBorder(emptyborder1);
|
|
324 |
jpanel1.add(btnVirtualFieldBookmarks,cc.xy(7,1));
|
|
324 | 325 |
|
325 | 326 |
txtVirtualField.setName("txtVirtualField"); |
326 | 327 |
jpanel1.add(txtVirtualField,cc.xy(1,1)); |
327 | 328 |
|
328 |
addFillComponents(jpanel1,new int[]{ 2 },new int[0]); |
|
329 |
btnVirtualFieldHistory.setActionCommand("..."); |
|
330 |
btnVirtualFieldHistory.setName("btnVirtualFieldHistory"); |
|
331 |
btnVirtualFieldHistory.setText("..."); |
|
332 |
EmptyBorder emptyborder2 = new EmptyBorder(2,2,2,2); |
|
333 |
btnVirtualFieldHistory.setBorder(emptyborder2); |
|
334 |
jpanel1.add(btnVirtualFieldHistory,cc.xy(5,1)); |
|
335 |
|
|
336 |
btnVirtualField.setActionCommand("..."); |
|
337 |
btnVirtualField.setName("btnVirtualField"); |
|
338 |
btnVirtualField.setText("..."); |
|
339 |
EmptyBorder emptyborder3 = new EmptyBorder(2,2,2,2); |
|
340 |
btnVirtualField.setBorder(emptyborder3); |
|
341 |
jpanel1.add(btnVirtualField,cc.xy(3,1)); |
|
342 |
|
|
343 |
addFillComponents(jpanel1,new int[]{ 2,4,6 },new int[0]); |
|
329 | 344 |
return jpanel1; |
330 | 345 |
} |
331 | 346 |
|
... | ... | |
447 | 462 |
public JPanel createPanel7() |
448 | 463 |
{ |
449 | 464 |
JPanel jpanel1 = new JPanel(); |
450 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0)","FILL:DEFAULT:GROW(1.0)");
|
|
465 |
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","CENTER:2DLU:NONE,FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE");
|
|
451 | 466 |
CellConstraints cc = new CellConstraints(); |
452 | 467 |
jpanel1.setLayout(formlayout1); |
453 | 468 |
|
454 |
jpanel1.add(createPanel8(),cc.xy(1,1)); |
|
455 |
addFillComponents(jpanel1,new int[]{ 1 },new int[]{ 1 }); |
|
456 |
return jpanel1; |
|
457 |
} |
|
469 |
tblTags.setName("tblTags"); |
|
470 |
JScrollPane jscrollpane1 = new JScrollPane(); |
|
471 |
jscrollpane1.setViewportView(tblTags); |
|
472 |
jscrollpane1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED); |
|
473 |
jscrollpane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED); |
|
474 |
jpanel1.add(jscrollpane1,cc.xywh(2,2,3,1)); |
|
458 | 475 |
|
459 |
public JPanel createPanel8() |
|
460 |
{ |
|
461 |
JPanel jpanel1 = new JPanel(); |
|
462 |
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:GROW(1.0),CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE"); |
|
463 |
CellConstraints cc = new CellConstraints(); |
|
464 |
jpanel1.setLayout(formlayout1); |
|
465 |
|
|
466 | 476 |
lblTagsName.setName("lblTagsName"); |
467 | 477 |
lblTagsName.setText("_Name"); |
468 |
jpanel1.add(lblTagsName,cc.xy(2,3));
|
|
478 |
jpanel1.add(lblTagsName,cc.xy(2,4));
|
|
469 | 479 |
|
470 |
lblTagsValue.setName("lblTagsValue"); |
|
471 |
lblTagsValue.setText("_Value"); |
|
472 |
jpanel1.add(lblTagsValue,cc.xy(2,5)); |
|
473 |
|
|
474 | 480 |
cboTagsName.setEditable(true); |
475 | 481 |
cboTagsName.setName("cboTagsName"); |
476 | 482 |
cboTagsName.setRequestFocusEnabled(false); |
477 |
jpanel1.add(cboTagsName,cc.xy(4,3));
|
|
483 |
jpanel1.add(cboTagsName,cc.xy(4,4));
|
|
478 | 484 |
|
479 |
tblTags.setName("tblTags"); |
|
480 |
JScrollPane jscrollpane1 = new JScrollPane(); |
|
481 |
jscrollpane1.setViewportView(tblTags); |
|
482 |
jscrollpane1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED); |
|
483 |
jscrollpane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED); |
|
484 |
jpanel1.add(jscrollpane1,cc.xywh(2,1,3,1)); |
|
485 |
lblTagsValue.setName("lblTagsValue"); |
|
486 |
lblTagsValue.setText("_Value"); |
|
487 |
jpanel1.add(lblTagsValue,cc.xy(2,6)); |
|
485 | 488 |
|
486 |
lblTagsDescription.setName("lblTagsDescription"); |
|
487 |
jpanel1.add(lblTagsDescription,cc.xy(4,6)); |
|
488 |
|
|
489 |
jpanel1.add(createPanel9(),cc.xywh(6,1,1,5)); |
|
490 | 489 |
cboTagsValue.setEditable(true); |
491 | 490 |
cboTagsValue.setName("cboTagsValue"); |
492 | 491 |
cboTagsValue.setRequestFocusEnabled(false); |
493 |
jpanel1.add(cboTagsValue,cc.xy(4,5));
|
|
492 |
jpanel1.add(cboTagsValue,cc.xy(4,6));
|
|
494 | 493 |
|
495 |
addFillComponents(jpanel1,new int[]{ 1,3,4,5,6,7 },new int[]{ 1,2,3,4,5,6 }); |
|
494 |
jpanel1.add(createPanel8(),cc.xywh(6,2,1,5)); |
|
495 |
lbTagsLabelDescription.setName("lbTagsLabelDescription"); |
|
496 |
lbTagsLabelDescription.setText("_Description"); |
|
497 |
jpanel1.add(lbTagsLabelDescription,cc.xy(2,8)); |
|
498 |
|
|
499 |
lblTagsDescription.setName("lblTagsDescription"); |
|
500 |
jpanel1.add(lblTagsDescription,cc.xy(4,8)); |
|
501 |
|
|
502 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5,6,7 },new int[]{ 1,2,3,4,5,6,7,8,9 }); |
|
496 | 503 |
return jpanel1; |
497 | 504 |
} |
498 | 505 |
|
499 |
public JPanel createPanel9()
|
|
506 |
public JPanel createPanel8()
|
|
500 | 507 |
{ |
501 | 508 |
JPanel jpanel1 = new JPanel(); |
502 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE"); |
|
509 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0)");
|
|
503 | 510 |
CellConstraints cc = new CellConstraints(); |
504 | 511 |
jpanel1.setLayout(formlayout1); |
505 | 512 |
|
... | ... | |
518 | 525 |
btnTagsRemove.setText("_Remove"); |
519 | 526 |
jpanel1.add(btnTagsRemove,cc.xy(1,5)); |
520 | 527 |
|
521 |
addFillComponents(jpanel1,new int[0],new int[]{ 2,4 }); |
|
528 |
addFillComponents(jpanel1,new int[0],new int[]{ 2,4,6 });
|
|
522 | 529 |
return jpanel1; |
523 | 530 |
} |
524 | 531 |
|
525 |
public JPanel createPanel10()
|
|
532 |
public JPanel createPanel9()
|
|
526 | 533 |
{ |
527 | 534 |
JPanel jpanel1 = new JPanel(); |
528 |
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","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"); |
|
535 |
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");
|
|
529 | 536 |
CellConstraints cc = new CellConstraints(); |
530 | 537 |
jpanel1.setLayout(formlayout1); |
531 | 538 |
|
... | ... | |
549 | 556 |
cboForeingKeyTableName.setEditable(true); |
550 | 557 |
cboForeingKeyTableName.setName("cboForeingKeyTableName"); |
551 | 558 |
cboForeingKeyTableName.setRequestFocusEnabled(false); |
552 |
jpanel1.add(cboForeingKeyTableName,cc.xywh(4,6,3,1));
|
|
559 |
jpanel1.add(cboForeingKeyTableName,cc.xywh(4,6,7,1));
|
|
553 | 560 |
|
554 | 561 |
cboForeingKeyCodeName.setEditable(true); |
555 | 562 |
cboForeingKeyCodeName.setName("cboForeingKeyCodeName"); |
556 | 563 |
cboForeingKeyCodeName.setRequestFocusEnabled(false); |
557 |
jpanel1.add(cboForeingKeyCodeName,cc.xywh(4,8,3,1));
|
|
564 |
jpanel1.add(cboForeingKeyCodeName,cc.xywh(4,8,7,1));
|
|
558 | 565 |
|
559 | 566 |
txtForeingKeyFormula.setName("txtForeingKeyFormula"); |
560 | 567 |
jpanel1.add(txtForeingKeyFormula,cc.xy(4,10)); |
561 | 568 |
|
562 |
btnForeingKeyFormula.setActionCommand("..."); |
|
563 |
btnForeingKeyFormula.setName("btnForeingKeyFormula"); |
|
564 |
btnForeingKeyFormula.setText("..."); |
|
565 |
jpanel1.add(btnForeingKeyFormula,cc.xy(6,10)); |
|
566 |
|
|
567 | 569 |
lblIsClosedList.setName("lblIsClosedList"); |
568 | 570 |
lblIsClosedList.setText("_is_closed_list"); |
569 | 571 |
jpanel1.add(lblIsClosedList,cc.xy(2,4)); |
... | ... | |
571 | 573 |
chkIsClosedList.setName("chkIsClosedList"); |
572 | 574 |
jpanel1.add(chkIsClosedList,cc.xy(4,4)); |
573 | 575 |
|
574 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5,6,7 },new int[]{ 1,2,3,4,5,6,7,8,9,10,11 }); |
|
576 |
btnForeingKeyFormula.setActionCommand("..."); |
|
577 |
btnForeingKeyFormula.setName("btnForeingKeyFormula"); |
|
578 |
btnForeingKeyFormula.setText("..."); |
|
579 |
EmptyBorder emptyborder1 = new EmptyBorder(2,2,2,2); |
|
580 |
btnForeingKeyFormula.setBorder(emptyborder1); |
|
581 |
jpanel1.add(btnForeingKeyFormula,cc.xy(6,10)); |
|
582 |
|
|
583 |
btnForeingKeyFormulaHistory.setActionCommand("..."); |
|
584 |
btnForeingKeyFormulaHistory.setName("btnForeingKeyFormulaHistory"); |
|
585 |
btnForeingKeyFormulaHistory.setText("..."); |
|
586 |
EmptyBorder emptyborder2 = new EmptyBorder(2,2,2,2); |
|
587 |
btnForeingKeyFormulaHistory.setBorder(emptyborder2); |
|
588 |
jpanel1.add(btnForeingKeyFormulaHistory,cc.xy(8,10)); |
|
589 |
|
|
590 |
btnForeingKeyFormulaBookmarks.setActionCommand("..."); |
|
591 |
btnForeingKeyFormulaBookmarks.setName("btnForeingKeyFormulaBookmarks"); |
|
592 |
btnForeingKeyFormulaBookmarks.setText("..."); |
|
593 |
EmptyBorder emptyborder3 = new EmptyBorder(2,2,2,2); |
|
594 |
btnForeingKeyFormulaBookmarks.setBorder(emptyborder3); |
|
595 |
jpanel1.add(btnForeingKeyFormulaBookmarks,cc.xy(10,10)); |
|
596 |
|
|
597 |
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 }); |
|
575 | 598 |
return jpanel1; |
576 | 599 |
} |
577 | 600 |
|
578 |
public JPanel createPanel11()
|
|
601 |
public JPanel createPanel10()
|
|
579 | 602 |
{ |
580 | 603 |
JPanel jpanel1 = new JPanel(); |
581 | 604 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0)","FILL:DEFAULT:GROW(1.0)"); |
... | ... | |
584 | 607 |
|
585 | 608 |
tabLayout.setName("tabLayout"); |
586 | 609 |
tabLayout.setTabPlacement(JTabbedPane.LEFT); |
587 |
tabLayout.addTab("_Basic",null,createPanel12());
|
|
588 |
tabLayout.addTab("_Values",null,createPanel13());
|
|
610 |
tabLayout.addTab("_Basic",null,createPanel11());
|
|
611 |
tabLayout.addTab("_Values",null,createPanel12());
|
|
589 | 612 |
jpanel1.add(tabLayout,cc.xy(1,1)); |
590 | 613 |
|
591 | 614 |
addFillComponents(jpanel1,new int[0],new int[0]); |
592 | 615 |
return jpanel1; |
593 | 616 |
} |
594 | 617 |
|
595 |
public JPanel createPanel12()
|
|
618 |
public JPanel createPanel11()
|
|
596 | 619 |
{ |
597 | 620 |
JPanel jpanel1 = new JPanel(); |
598 |
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(0.2)");
|
|
621 |
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)");
|
|
599 | 622 |
CellConstraints cc = new CellConstraints(); |
600 | 623 |
jpanel1.setLayout(formlayout1); |
601 | 624 |
|
... | ... | |
645 | 668 |
return jpanel1; |
646 | 669 |
} |
647 | 670 |
|
648 |
public JPanel createPanel13()
|
|
671 |
public JPanel createPanel12()
|
|
649 | 672 |
{ |
650 | 673 |
JPanel jpanel1 = new JPanel(); |
651 |
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:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:DEFAULT:NONE");
|
|
674 |
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,FILL:DEFAULT:NONE,CENTER:2DLU:NONE,FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE");
|
|
652 | 675 |
CellConstraints cc = new CellConstraints(); |
653 | 676 |
jpanel1.setLayout(formlayout1); |
654 | 677 |
|
655 |
lblMinValue.setName("lblMinValue");
|
|
656 |
lblMinValue.setText("_Minimum_value");
|
|
657 |
jpanel1.add(lblMinValue,cc.xy(2,2));
|
|
678 |
lblAvailableValues.setName("lblAvailableValues");
|
|
679 |
lblAvailableValues.setText("_List_of_values");
|
|
680 |
jpanel1.add(lblAvailableValues,cc.xywh(2,2,5,1));
|
|
658 | 681 |
|
659 |
txtMinValue.setName("txtMinValue"); |
|
660 |
jpanel1.add(txtMinValue,cc.xy(4,2)); |
|
682 |
lstAvailableValues.setName("lstAvailableValues"); |
|
683 |
JScrollPane jscrollpane1 = new JScrollPane(); |
|
684 |
jscrollpane1.setViewportView(lstAvailableValues); |
|
685 |
jscrollpane1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED); |
|
686 |
jscrollpane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED); |
|
687 |
jpanel1.add(jscrollpane1,new CellConstraints(2,4,3,1,CellConstraints.DEFAULT,CellConstraints.FILL)); |
|
661 | 688 |
|
662 |
lblMaxValue.setName("lblMaxValue");
|
|
663 |
lblMaxValue.setText("_Maximum_value");
|
|
664 |
jpanel1.add(lblMaxValue,cc.xy(2,4));
|
|
689 |
lblAvailableValuesLabel.setName("lblAvailableValuesLabel");
|
|
690 |
lblAvailableValuesLabel.setText("_Label");
|
|
691 |
jpanel1.add(lblAvailableValuesLabel,cc.xy(2,6));
|
|
665 | 692 |
|
666 |
txtMaxValue.setName("txtMaxValue");
|
|
667 |
jpanel1.add(txtMaxValue,cc.xy(4,4));
|
|
693 |
txtAvailableValuesLabel.setName("txtAvailableValuesLabel");
|
|
694 |
jpanel1.add(txtAvailableValuesLabel,cc.xy(4,6));
|
|
668 | 695 |
|
669 |
lblAvailableValues.setName("lblAvailableValues");
|
|
670 |
lblAvailableValues.setText("_List_of_values");
|
|
671 |
jpanel1.add(lblAvailableValues,cc.xywh(2,6,3,1));
|
|
696 |
lblAvailableValuesValue.setName("lblAvailableValuesValue");
|
|
697 |
lblAvailableValuesValue.setText("_Value");
|
|
698 |
jpanel1.add(lblAvailableValuesValue,cc.xy(2,8));
|
|
672 | 699 |
|
673 |
jpanel1.add(createPanel14(),cc.xywh(2,7,3,1)); |
|
674 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5,6,7 }); |
|
675 |
return jpanel1; |
|
676 |
} |
|
700 |
txtAvailableValuesValue.setName("txtAvailableValuesValue"); |
|
701 |
jpanel1.add(txtAvailableValuesValue,cc.xy(4,8)); |
|
677 | 702 |
|
678 |
public JPanel createPanel14() |
|
679 |
{ |
|
680 |
JPanel jpanel1 = new JPanel(); |
|
681 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE"); |
|
682 |
CellConstraints cc = new CellConstraints(); |
|
683 |
jpanel1.setLayout(formlayout1); |
|
684 |
|
|
685 |
jpanel1.add(createPanel15(),new CellConstraints(3,1,1,1,CellConstraints.DEFAULT,CellConstraints.TOP)); |
|
686 |
jpanel1.add(createPanel16(),cc.xy(1,1)); |
|
687 |
addFillComponents(jpanel1,new int[]{ 1,2,3 },new int[]{ 1 }); |
|
703 |
jpanel1.add(createPanel13(),cc.xywh(6,4,1,5)); |
|
704 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5,6,7 },new int[]{ 1,2,3,4,5,6,7,8,9 }); |
|
688 | 705 |
return jpanel1; |
689 | 706 |
} |
690 | 707 |
|
691 |
public JPanel createPanel15()
|
|
708 |
public JPanel createPanel13()
|
|
692 | 709 |
{ |
693 | 710 |
JPanel jpanel1 = new JPanel(); |
694 | 711 |
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"); |
... | ... | |
719 | 736 |
return jpanel1; |
720 | 737 |
} |
721 | 738 |
|
722 |
public JPanel createPanel16()
|
|
739 |
public JPanel createPanel14()
|
|
723 | 740 |
{ |
724 | 741 |
JPanel jpanel1 = new JPanel(); |
725 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0)","FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE"); |
|
726 |
CellConstraints cc = new CellConstraints(); |
|
727 |
jpanel1.setLayout(formlayout1); |
|
728 |
|
|
729 |
lblAvailableValuesLabel.setName("lblAvailableValuesLabel"); |
|
730 |
lblAvailableValuesLabel.setText("_Label"); |
|
731 |
jpanel1.add(lblAvailableValuesLabel,cc.xy(1,3)); |
|
732 |
|
|
733 |
lblAvailableValuesValue.setName("lblAvailableValuesValue"); |
|
734 |
lblAvailableValuesValue.setText("_Value"); |
|
735 |
jpanel1.add(lblAvailableValuesValue,cc.xy(1,5)); |
|
736 |
|
|
737 |
txtAvailableValuesLabel.setName("txtAvailableValuesLabel"); |
|
738 |
jpanel1.add(txtAvailableValuesLabel,cc.xy(3,3)); |
|
739 |
|
|
740 |
txtAvailableValuesValue.setName("txtAvailableValuesValue"); |
|
741 |
jpanel1.add(txtAvailableValuesValue,cc.xy(3,5)); |
|
742 |
|
|
743 |
lstAvailableValues.setName("lstAvailableValues"); |
|
744 |
JScrollPane jscrollpane1 = new JScrollPane(); |
|
745 |
jscrollpane1.setViewportView(lstAvailableValues); |
|
746 |
jscrollpane1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED); |
|
747 |
jscrollpane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED); |
|
748 |
jpanel1.add(jscrollpane1,cc.xywh(1,1,3,1)); |
|
749 |
|
|
750 |
addFillComponents(jpanel1,new int[]{ 2,3 },new int[]{ 2,4,6 }); |
|
751 |
return jpanel1; |
|
752 |
} |
|
753 |
|
|
754 |
public JPanel createPanel17() |
|
755 |
{ |
|
756 |
JPanel jpanel1 = new JPanel(); |
|
757 | 742 |
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"); |
758 | 743 |
CellConstraints cc = new CellConstraints(); |
759 | 744 |
jpanel1.setLayout(formlayout1); |
... | ... | |
783 | 768 |
return jpanel1; |
784 | 769 |
} |
785 | 770 |
|
786 |
public JPanel createPanel18()
|
|
771 |
public JPanel createPanel15()
|
|
787 | 772 |
{ |
788 | 773 |
JPanel jpanel1 = new JPanel(); |
789 | 774 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE"); |
Also available in: Unified diff