container.setLayout( WidgetUtil.createGridLayout( 5 ) );
container.setLayout( WidgetUtil.createGridLayout( 5 ,15) );
	public void buildUI( Composite parent  )	{		super.buildUI( parent );		container.setLayout( WidgetUtil.createGridLayout( 5 ) );		// Defines providers.		IDescriptorProvider widthProvider = new UnitPropertyDescriptorProvider( ColumnHandle.WIDTH_PROP,				ReportDesignConstants.COLUMN_ELEMENT );		IDescriptorProvider hAlignProvider = new ComboPropertyDescriptorProvider( StyleHandle.TEXT_ALIGN_PROP,				ReportDesignConstants.STYLE_ELEMENT );		IDescriptorProvider backgroundProvider = new ColorPropertyDescriptorProvider( StyleHandle.BACKGROUND_COLOR_PROP,				ReportDesignConstants.STYLE_ELEMENT );		IDescriptorProvider vAlignProvider = new ComboPropertyDescriptorProvider( StyleHandle.VERTICAL_ALIGN_PROP,				ReportDesignConstants.STYLE_ELEMENT );		IDescriptorProvider styleProvider = new SimpleComboPropertyDescriptorProvider( ReportItemHandle.STYLE_PROP,				ReportDesignConstants.COLUMN_ELEMENT );		IDescriptorProvider suppressDuplicatesProvider = new PropertyDescriptorProvider( ColumnHandle.SUPPRESS_DUPLICATES_PROP,				ReportDesignConstants.COLUMN_ELEMENT );		// Defines sections.		UnitSection widthSection = new UnitSection( widthProvider.getDisplayName( ),				container,				true );		ComboSection hAlignSection = new ComboSection( hAlignProvider.getDisplayName( ),				container,				true );		ColorSection backgroundSection = new ColorSection( backgroundProvider.getDisplayName( ),				container,				true );		ComboSection vAlignSection = new ComboSection( vAlignProvider.getDisplayName( ),				container,				true );		Section seperatorSection = new SeperatorSection( container, SWT.HORIZONTAL );		SimpleComboSection styleSection = new SimpleComboSection( styleProvider.getDisplayName( ),				container,				true );		CheckSection suppressDuplicatesSection = new CheckSection( container, true );		// Sets providers.		widthSection.setProvider( widthProvider );		hAlignSection.setProvider( hAlignProvider );		backgroundSection.setProvider( backgroundProvider );		vAlignSection.setProvider( vAlignProvider );		styleSection.setProvider( styleProvider );		suppressDuplicatesSection.setProvider( suppressDuplicatesProvider );		// Sets widths.		widthSection.setWidth( 180 );		hAlignSection.setWidth( 180 );		backgroundSection.setWidth( 180 );		vAlignSection.setWidth( 180 );		styleSection.setWidth( 180 );		// Sets layout num.		widthSection.setLayoutNum( 2 );		hAlignSection.setLayoutNum( 3 );		backgroundSection.setLayoutNum( 2 );		vAlignSection.setLayoutNum( 3 );		styleSection.setLayoutNum( 2 );		suppressDuplicatesSection.setLayoutNum( 3 );		// Sets fill grid num.		widthSection.setGridPlaceholder( 0, true );		hAlignSection.setGridPlaceholder( 1, true );		backgroundSection.setGridPlaceholder( 0, true );		vAlignSection.setGridPlaceholder( 1, true );		styleSection.setGridPlaceholder( 0, true );		suppressDuplicatesSection.setGridPlaceholder( 2, true );		// Adds sections into this page.		addSection( PageSectionId.COLUMN_WIDTH, widthSection ); //$NON-NLS-1$		addSection( PageSectionId.COLUMN_HORIZONTAL_ALIGN, hAlignSection ); //$NON-NLS-1$		addSection( PageSectionId.COLUMN_BACKGROUND_COLOR, backgroundSection ); //$NON-NLS-1$		addSection( PageSectionId.COLUMN_VERTICAL_ALIGN, vAlignSection ); //$NON-NLS-1$		addSection( PageSectionId.COLUMN_SEPERATOR, seperatorSection ); //$NON-NLS-1$		addSection( PageSectionId.COLUMN_STYLE, styleSection ); //$NON-NLS-1$		addSection( PageSectionId.COLUMN_SUPPRESS_DUPLICATES, suppressDuplicatesSection ); //$NON-NLS-1$		createSections( );		layoutSections( );	}