Revision 47378 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/DefaultFeatureTypePanelView.java
DefaultFeatureTypePanelView.java | ||
---|---|---|
74 | 74 |
JLabel lblRuleName = new JLabel(); |
75 | 75 |
JLabel lblRuleDescription = new JLabel(); |
76 | 76 |
JLabel lblRuleCheckAtFinishEditing = new JLabel(); |
77 |
JLabel lblRuleCheckAtUpdate = new JLabel(); |
|
78 | 77 |
JLabel lblRuleValidation = new JLabel(); |
79 | 78 |
JTextField txtRuleName = new JTextField(); |
80 | 79 |
JCheckBox chkRuleCheckAtFinishEditing = new JCheckBox(); |
81 |
JCheckBox chkRuleCheckAtUpdate = new JCheckBox(); |
|
82 |
JTextField txtRuleDescription = new JTextField(); |
|
83 | 80 |
JTextArea txtRuleValidation = new JTextArea(); |
84 | 81 |
JButton btnRuleValidation = new JButton(); |
85 | 82 |
JButton btnRuleValidationHistory = new JButton(); |
86 | 83 |
JButton btnRuleValidationBookmarks = new JButton(); |
84 |
JTextArea txtRuleDescription = new JTextArea(); |
|
85 |
JLabel lblRuleCheckAtUpdate = new JLabel(); |
|
86 |
JCheckBox chkRuleCheckAtUpdate = new JCheckBox(); |
|
87 |
JLabel lblRuleCheckAtEditFeature = new JLabel(); |
|
88 |
JCheckBox chkRuleCheckAtEditFeature = new JCheckBox(); |
|
87 | 89 |
JButton btnRuleFormFieldAccept = new JButton(); |
88 | 90 |
JButton btnRuleFormFieldDiscard = new JButton(); |
89 | 91 |
JButton btnRuleFormFieldModify = new JButton(); |
... | ... | |
567 | 569 |
public JPanel createPanel9() |
568 | 570 |
{ |
569 | 571 |
JPanel jpanel1 = new JPanel(); |
570 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:12DLU:GROW(1.0),FILL: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,FILL:DEFAULT:GROW(1.0)"); |
|
572 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:12DLU:GROW(1.0),FILL:4DLU:NONE","CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:GROW(0.2),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)");
|
|
571 | 573 |
CellConstraints cc = new CellConstraints(); |
572 | 574 |
jpanel1.setLayout(formlayout1); |
573 | 575 |
|
... | ... | |
577 | 579 |
|
578 | 580 |
lblRuleDescription.setName("lblRuleDescription"); |
579 | 581 |
lblRuleDescription.setText("_Description"); |
580 |
jpanel1.add(lblRuleDescription,cc.xy(1,3));
|
|
582 |
jpanel1.add(lblRuleDescription,new CellConstraints(1,3,1,1,CellConstraints.DEFAULT,CellConstraints.TOP));
|
|
581 | 583 |
|
582 | 584 |
lblRuleCheckAtFinishEditing.setName("lblRuleCheckAtFinishEditing"); |
583 | 585 |
lblRuleCheckAtFinishEditing.setText("_Check_at_finish_editing"); |
584 | 586 |
jpanel1.add(lblRuleCheckAtFinishEditing,cc.xy(1,5)); |
585 | 587 |
|
586 |
lblRuleCheckAtUpdate.setName("lblRuleCheckAtUpdate"); |
|
587 |
lblRuleCheckAtUpdate.setText("_Check_at_insert"); |
|
588 |
jpanel1.add(lblRuleCheckAtUpdate,cc.xy(1,7)); |
|
589 |
|
|
590 | 588 |
lblRuleValidation.setName("lblRuleValidation"); |
591 | 589 |
lblRuleValidation.setText("_Validation"); |
592 |
jpanel1.add(lblRuleValidation,new CellConstraints(1,9,1,1,CellConstraints.DEFAULT,CellConstraints.TOP));
|
|
590 |
jpanel1.add(lblRuleValidation,new CellConstraints(1,11,1,1,CellConstraints.DEFAULT,CellConstraints.TOP));
|
|
593 | 591 |
|
594 | 592 |
txtRuleName.setName("txtRuleName"); |
595 | 593 |
jpanel1.add(txtRuleName,cc.xy(3,1)); |
... | ... | |
597 | 595 |
chkRuleCheckAtFinishEditing.setName("chkRuleCheckAtFinishEditing"); |
598 | 596 |
jpanel1.add(chkRuleCheckAtFinishEditing,cc.xy(3,5)); |
599 | 597 |
|
598 |
jpanel1.add(createPanel10(),cc.xy(3,11)); |
|
599 |
txtRuleDescription.setName("txtRuleDescription"); |
|
600 |
JScrollPane jscrollpane1 = new JScrollPane(); |
|
601 |
jscrollpane1.setViewportView(txtRuleDescription); |
|
602 |
jscrollpane1.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED); |
|
603 |
jscrollpane1.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED); |
|
604 |
jpanel1.add(jscrollpane1,new CellConstraints(3,3,1,1,CellConstraints.FILL,CellConstraints.FILL)); |
|
605 |
|
|
606 |
lblRuleCheckAtUpdate.setName("lblRuleCheckAtUpdate"); |
|
607 |
lblRuleCheckAtUpdate.setText("_Check_at_insert_or_update_feature"); |
|
608 |
jpanel1.add(lblRuleCheckAtUpdate,cc.xy(1,7)); |
|
609 |
|
|
600 | 610 |
chkRuleCheckAtUpdate.setName("chkRuleCheckAtUpdate"); |
601 | 611 |
jpanel1.add(chkRuleCheckAtUpdate,cc.xy(3,7)); |
602 | 612 |
|
603 |
txtRuleDescription.setName("txtRuleDescription"); |
|
604 |
jpanel1.add(txtRuleDescription,cc.xy(3,3)); |
|
613 |
lblRuleCheckAtEditFeature.setName("lblRuleCheckAtEditFeature"); |
|
614 |
lblRuleCheckAtEditFeature.setText("_Check_at_edit_feature"); |
|
615 |
jpanel1.add(lblRuleCheckAtEditFeature,cc.xy(1,9)); |
|
605 | 616 |
|
606 |
jpanel1.add(createPanel10(),cc.xy(3,9)); |
|
607 |
addFillComponents(jpanel1,new int[]{ 2,4 },new int[]{ 2,4,6,8 }); |
|
617 |
chkRuleCheckAtEditFeature.setName("chkRuleCheckAtEditFeature"); |
|
618 |
jpanel1.add(chkRuleCheckAtEditFeature,cc.xy(3,9)); |
|
619 |
|
|
620 |
addFillComponents(jpanel1,new int[]{ 2,4 },new int[]{ 2,4,6,8,10 }); |
|
608 | 621 |
return jpanel1; |
609 | 622 |
} |
610 | 623 |
|
Also available in: Unified diff