|
|
@ -244,11 +244,11 @@ public class JTreeAutoBuildPane extends BasicPane implements PreviewLabel.Previe |
|
|
|
} |
|
|
|
} |
|
|
|
final String tableDataName = name; |
|
|
|
final String tableDataName = name; |
|
|
|
AbstractTableDataWrapper atdw = new TemplateTableDataWrapper(rtd, ""); |
|
|
|
AbstractTableDataWrapper atdw = new TemplateTableDataWrapper(rtd, ""); |
|
|
|
// 去除缓存列,后面刷新会重新选中
|
|
|
|
|
|
|
|
DesignTableDataManager.removeSelectedColumnNames(name); |
|
|
|
|
|
|
|
tdtp.showEditPane(atdw.creatTableDataPane(), name, new BasicTableDataTreePane.TableDataTreePaneListener() { |
|
|
|
tdtp.showEditPane(atdw.creatTableDataPane(), name, new BasicTableDataTreePane.TableDataTreePaneListener() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void doOk() { |
|
|
|
public void doOk() { |
|
|
|
|
|
|
|
// 去除缓存列,后面刷新会重新选中
|
|
|
|
|
|
|
|
DesignTableDataManager.removeSelectedColumnNames(tableDataName); |
|
|
|
treeTableDataComboBox.refresh(); |
|
|
|
treeTableDataComboBox.refresh(); |
|
|
|
treeTableDataComboBox.setSelectedTableDataByName(tableDataName); |
|
|
|
treeTableDataComboBox.setSelectedTableDataByName(tableDataName); |
|
|
|
} |
|
|
|
} |
|
|
|