public void initBlockViews(){
  if (mWorkspaceView != null) {
    List<Block> rootBlocks=mWorkspace.getRootBlocks();
    ConnectionManager connManager=mWorkspace.getConnectionManager();
    for (int i=0; i < rootBlocks.size(); i++) {
      BlockGroup bg=mViewFactory.buildBlockGroupTree(rootBlocks.get(i),connManager,mTouchHandler);
      mWorkspaceView.addView(bg);
    }
  }
}

public void initBlockViews ( ) { if ( mWorkspaceView != null ) { List < Block > rootBlocks = mWorkspace . getRootBlocks ( ) ; ConnectionManager connManager = mWorkspace . getConnectionManager ( ) ; for ( int i = 0 ; i < rootBlocks . size ( ) ; i ++ ) { BlockGroup bg = mViewFactory . buildBlockGroupTree ( rootBlocks . get ( i ) , connManager , mTouchHandler ) ; mWorkspaceView . addView ( bg ) ; } } }
recursively initialize views for all the blocks in the model and add them to the view .
