|
|
@ -39,6 +39,7 @@ import com.fr.form.ui.TreeEditor; |
|
|
|
import com.fr.form.ui.Widget; |
|
|
|
import com.fr.form.ui.Widget; |
|
|
|
import com.fr.form.ui.concept.data.ValueInitializer; |
|
|
|
import com.fr.form.ui.concept.data.ValueInitializer; |
|
|
|
import com.fr.form.ui.tree.LayerConfig; |
|
|
|
import com.fr.form.ui.tree.LayerConfig; |
|
|
|
|
|
|
|
import com.fr.form.ui.tree.LayerDependence; |
|
|
|
import com.fr.general.ComparatorUtils; |
|
|
|
import com.fr.general.ComparatorUtils; |
|
|
|
import com.fr.general.data.Condition; |
|
|
|
import com.fr.general.data.Condition; |
|
|
|
import com.fr.general.data.TableDataColumn; |
|
|
|
import com.fr.general.data.TableDataColumn; |
|
|
@ -629,6 +630,9 @@ public class ReplaceUtils { |
|
|
|
layerConfig.setTableData(new NameTableData(entity.getNewName())); |
|
|
|
layerConfig.setTableData(new NameTableData(entity.getNewName())); |
|
|
|
layerConfig.setViewColumn(entity.getTargetIndex(layerConfig.getViewColumn())); |
|
|
|
layerConfig.setViewColumn(entity.getTargetIndex(layerConfig.getViewColumn())); |
|
|
|
layerConfig.setModelColumn(entity.getTargetIndex(layerConfig.getModelColumn())); |
|
|
|
layerConfig.setModelColumn(entity.getTargetIndex(layerConfig.getModelColumn())); |
|
|
|
|
|
|
|
for (LayerDependence dependence : layerConfig.getDependenceList()) { |
|
|
|
|
|
|
|
dependence.setThisColumnIndex(entity.getTargetIndex(dependence.getThisColumnIndex())); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
ElementCaseHelper.replaceTableDataDictionary(layerConfig.getDictionary(), (NameTableData) layerConfig.getDictionary().getTableData(), entities); |
|
|
|
ElementCaseHelper.replaceTableDataDictionary(layerConfig.getDictionary(), (NameTableData) layerConfig.getDictionary().getTableData(), entities); |
|
|
|