private void loadData ( ) { if ( parent . getSerialDataContext ( ) . getDataContext ( ) == null ) { // no data objects available. return ; } if ( parent . isAdvancedContext ( ) ) { parent . getSerialDataContext ( ) . getDataContext ( ) . put ( "tiecells" , new HashMap < String , TieCell > ( ) ) ; } for ( SheetConfiguration sheetConfig : parent . getSheetConfigMap ( ) . values ( ) ) { List < RowsMapping > currentRowsMappingList = null ; ConfigBuildRef configBuildRef = new ConfigBuildRef ( parent . getWbWrapper ( ) , parent . getWb ( ) . getSheet ( sheetConfig . getSheetName ( ) ) , parent . getExpEngine ( ) , parent . getCellHelper ( ) , sheetConfig . getCachedCells ( ) , parent . getCellAttributesMap ( ) , sheetConfig . getFinalCommentMap ( ) ) ; int length = sheetConfig . getFormCommand ( ) . buildAt ( null , configBuildRef , sheetConfig . getFormCommand ( ) . getTopRow ( ) , parent . getSerialDataContext ( ) . getDataContext ( ) , currentRowsMappingList ) ; sheetConfig . setShiftMap ( configBuildRef . getShiftMap ( ) ) ; sheetConfig . setCollectionObjNameMap ( configBuildRef . getCollectionObjNameMap ( ) ) ; sheetConfig . setCommandIndexMap ( configBuildRef . getCommandIndexMap ( ) ) ; sheetConfig . setWatchList ( configBuildRef . getWatchList ( ) ) ; sheetConfig . setBodyAllowAddRows ( configBuildRef . isBodyAllowAdd ( ) ) ; sheetConfig . getBodyCellRange ( ) . setBottomRow ( sheetConfig . getFormCommand ( ) . getTopRow ( ) + length - 1 ) ; sheetConfig . setBodyPopulated ( true ) ; } parent . getCellHelper ( ) . reCalc ( ) ; }
load data process . unfinished .