public static void createViews(List<Block> blocks,BlockViewFactory viewFactory,ConnectionManager connectionManager,WorkspaceView workspaceView){
  for (int i=0; i < blocks.size(); i++) {
    workspaceView.addView(viewFactory.buildBlockGroupTree(blocks.get(i),connectionManager,null));
  }
}

public static void createViews ( List < Block > blocks , BlockViewFactory viewFactory , ConnectionManager connectionManager , WorkspaceView workspaceView ) { for ( int i = 0 ; i < blocks . size ( ) ; i ++ ) { workspaceView . addView ( viewFactory . buildBlockGroupTree ( blocks . get ( i ) , connectionManager , null ) ) ; } }
create views for the given blocks and add them to the workspace given by the combination of connection manager , helper , and view .
