addSection( "GRID_BACKGROUND_COLOR_SECTION", backgroundSection );
	void buildContent( )	{		// Defines providers.		IDescriptorProvider nameProvider = new TextPropertyDescriptorProvider( ReportItemHandle.NAME_PROP,				ReportDesignConstants.GRID_ITEM );		IDescriptorProvider widthProvider = new UnitPropertyDescriptorProvider( ReportItemHandle.WIDTH_PROP,				ReportDesignConstants.GRID_ITEM );		IDescriptorProvider heightProvider = new UnitPropertyDescriptorProvider( ReportItemHandle.HEIGHT_PROP,				ReportDesignConstants.GRID_ITEM );		IDescriptorProvider canShrinkProvider = new PropertyDescriptorProvider( StyleHandle.CAN_SHRINK_PROP,				ReportDesignConstants.GRID_ITEM );		IDescriptorProvider hAlignProvider = new ComboPropertyDescriptorProvider( StyleHandle.TEXT_ALIGN_PROP,				ReportDesignConstants.STYLE_ELEMENT );		IDescriptorProvider vAlignProvider = new ComboPropertyDescriptorProvider( StyleHandle.VERTICAL_ALIGN_PROP,				ReportDesignConstants.STYLE_ELEMENT );		IDescriptorProvider styleProvider = new SimpleComboPropertyDescriptorProvider( ReportItemHandle.STYLE_PROP,				ReportDesignConstants.REPORT_ITEM );		IDescriptorProvider backgroundProvider = new ColorPropertyDescriptorProvider( StyleHandle.BACKGROUND_COLOR_PROP,				ReportDesignConstants.STYLE_ELEMENT );		// Defines sections.		TextSection nameSection = new TextSection( nameProvider.getDisplayName( ),				container,				true );		Section seperatorSection = new SeperatorSection( container, SWT.HORIZONTAL );		UnitSection widthSection = new UnitSection( widthProvider.getDisplayName( ),				container,				true );		UnitSection heightSection = new UnitSection( heightProvider.getDisplayName( ),				container,				true );		CheckSection canShrinkSection = new CheckSection( container, true );		ComboSection hAlignSection = new ComboSection( hAlignProvider.getDisplayName( ),				container,				true );		ComboSection vAlignSection = new ComboSection( vAlignProvider.getDisplayName( ),				container,				true );		SimpleComboSection styleSection = new SimpleComboSection( styleProvider.getDisplayName( ),				container,				true );		ColorSection backgroundSection = new ColorSection( backgroundProvider.getDisplayName( ),				container,				true );		// Sets providers.		nameSection.setProvider( nameProvider );		widthSection.setProvider( widthProvider );		heightSection.setProvider( heightProvider );		canShrinkSection.setProvider( canShrinkProvider );		hAlignSection.setProvider( hAlignProvider );		vAlignSection.setProvider( vAlignProvider );		styleSection.setProvider( styleProvider );		backgroundSection.setProvider( backgroundProvider );		// Sets widths.		nameSection.setWidth( 180 );		widthSection.setWidth( 180 );		heightSection.setWidth( 180 );		hAlignSection.setWidth( 180 );		vAlignSection.setWidth( 180 );		styleSection.setWidth( 180 );		backgroundSection.setWidth( 180 );		// Sets layout num.		nameSection.setLayoutNum( 6 );		widthSection.setLayoutNum( 2 );		heightSection.setLayoutNum( 2 );		canShrinkSection.setLayoutNum( 2 );		hAlignSection.setLayoutNum( 2 );		vAlignSection.setLayoutNum( 4 );		styleSection.setLayoutNum( 2 );		backgroundSection.setLayoutNum( 4 );		// Sets fill grid num.		nameSection.setGridPlaceholder( 4, true );		widthSection.setGridPlaceholder( 0, true );		heightSection.setGridPlaceholder( 0, true );		canShrinkSection.setGridPlaceholder( 1, true );		hAlignSection.setGridPlaceholder( 0, true );		vAlignSection.setGridPlaceholder( 2, true );		styleSection.setGridPlaceholder( 0, true );		backgroundSection.setGridPlaceholder( 2, true );		addSection( "GRID_NAME_SECTION", nameSection ); //$NON-NLS-1$		addSection( "SEPERATOR_SECTION", seperatorSection ); //$NON-NLS-1$		addSection( "GRID_WIDTH_SECTION", widthSection ); //$NON-NLS-1$		addSection( "GRID_HEIGHT_SECTION", heightSection ); //$NON-NLS-1$		addSection( "GRID_CAN_SHRINK_SECTION", canShrinkSection ); //$NON-NLS-1$		addSection( "GRID_HORIZONTAL_ALIGN_SECTION", hAlignSection ); //$NON-NLS-1$		addSection( "GRID_VERTICAL_ALIGN_SECTION", vAlignSection ); //$NON-NLS-1$		addSection( "GRID_STYLE_SECTION", styleSection ); //$NON-NLS-1$		addSection( "GRID_BACKGROUND_COLOR_SECTION", backgroundSection ); //$NON-NLS-1$		createSections( );		layoutSections( );	}