private void addMinimizedSection(Composite parent,FormToolkit toolkit,String sectionTitle,int numColums){
  Section section=toolkit.createSection(parent,ExpandableComposite.TITLE_BAR | ExpandableComposite.TWISTIE);
  section.setText(sectionTitle);
  section.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,false));
  Composite sectionComposite=toolkit.createComposite(section);
  GridLayout gridLayout=new GridLayout(numColums,false);
  gridLayout.marginLeft=5;
  gridLayout.marginTop=5;
  sectionComposite.setLayout(gridLayout);
  section.setClient(sectionComposite);
  if (!minimizedSections.containsKey(sectionTitle)) {
    minimizedSections.put(sectionTitle,sectionComposite);
  }
}

private void addMinimizedSection ( Composite parent , FormToolkit toolkit , String sectionTitle , int numColums ) { Section section = toolkit . createSection ( parent , ExpandableComposite . TITLE_BAR | ExpandableComposite . TWISTIE ) ; section . setText ( sectionTitle ) ; section . setLayoutData ( new GridData ( SWT . FILL , SWT . FILL , true , false ) ) ; Composite sectionComposite = toolkit . createComposite ( section ) ; GridLayout gridLayout = new GridLayout ( numColums , false ) ; gridLayout . marginLeft = 5 ; gridLayout . marginTop = 5 ; sectionComposite . setLayout ( gridLayout ) ; section . setClient ( sectionComposite ) ; if ( ! minimizedSections . containsKey ( sectionTitle ) ) { minimizedSections . put ( sectionTitle , sectionComposite ) ; } }
adds minimized section to bundle some content .
