public TreeViewerBuilder(Composite parent,int style){
  mappings=Collections.emptyMap();
  checkable=(style & SWT.CHECK) == SWT.CHECK;
  if (checkable) {
    viewer=new CheckboxTreeViewer(parent,style);
  }
 else {
    viewer=new TreeViewer(parent,style);
  }
  ColumnViewerToolTipSupport.enableFor(viewer,ToolTip.NO_RECREATE);
}

public TreeViewerBuilder ( Composite parent , int style ) { mappings = Collections . emptyMap ( ) ; checkable = ( style & SWT . CHECK ) == SWT . CHECK ; if ( checkable ) { viewer = new CheckboxTreeViewer ( parent , style ) ; } else { viewer = new TreeViewer ( parent , style ) ; } ColumnViewerToolTipSupport . enableFor ( viewer , ToolTip . NO_RECREATE ) ; }
creates a new treeviewerbuilder .
