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/DefaultFeatureTypePanel.java
DefaultFeatureTypePanel.java | ||
---|---|---|
64 | 64 |
private JSplitPane splRules; |
65 | 65 |
private JSplitPane splAttributes; |
66 | 66 |
private FeatureRuleController ruleController; |
67 |
private JSplitPane splTags; |
|
67 | 68 |
|
68 | 69 |
private class FeatureTypeTableModel extends AbstractTableModel { |
69 | 70 |
|
... | ... | |
283 | 284 |
this.gridAttributesTable, false, |
284 | 285 |
this.gridAttributesDetail, true |
285 | 286 |
); |
287 |
this.splTags = ToolsSwingUtils.createVerticalSplit( |
|
288 |
this.gridTags, |
|
289 |
this.gridTagsItems, false, |
|
290 |
this.gridTagsItem, true |
|
291 |
); |
|
286 | 292 |
|
287 | 293 |
this.changeListenerHelper = swingManager.createChangeListenerHelper(); |
288 | 294 |
|
... | ... | |
402 | 408 |
this.tblFields.getSelectionModel().setSelectionInterval(0, 0); |
403 | 409 |
doFormFieldPut(); |
404 | 410 |
} |
405 |
ToolsSwingUtils.ensureRowsCols(this, 22, 110, 26, 120); |
|
406 |
SwingUtilities.invokeLater(new Runnable() { |
|
407 |
@Override |
|
408 |
public void run() { |
|
411 |
this.tabFeatureType.setSelectedIndex(1); |
|
412 |
ToolsSwingUtils.ensureRowsCols(this, 30, 120, 45, 150); |
|
413 |
SwingUtilities.invokeLater( () -> { |
|
409 | 414 |
splAttributes.setDividerLocation(0.3); |
410 | 415 |
} |
411 |
});
|
|
416 |
); |
|
412 | 417 |
|
413 | 418 |
} |
414 | 419 |
|
... | ... | |
652 | 657 |
if( type!=null && !type.isEmpty() ) { |
653 | 658 |
this.tblFields.getSelectionModel().setSelectionInterval(0, 0); |
654 | 659 |
} |
655 |
// SwingUtilities.invokeLater(() -> {
|
|
656 |
// this.splAttributes.setDividerLocation(0.3);
|
|
657 |
// });
|
|
660 |
SwingUtilities.invokeLater(() -> { |
|
661 |
this.splAttributes.setDividerLocation(0.3); |
|
662 |
}); |
|
658 | 663 |
|
659 | 664 |
updateButtonState(); |
660 | 665 |
doFormFieldPut(); |
Also available in: Unified diff