TextPropertyDescriptorProvider resourceProvider = new TextPropertyDescriptorProvider( ModuleHandle.INCLUDE_RESOURCE_PROP, ReportDesignConstants.MODULE_ELEMENT ); TextSection resourceSection = new TextSection( resourceProvider.getDisplayName( ), container, true ); resourceSection.setProvider( resourceProvider );  resourceSection.setWidth( 500 ); resourceSection.setGridPlaceholder( 2, true ); addSection( PageSectionId.MODULE_RESOURCE, resourceSection );
	public void buildUI( Composite parent  )	{		super.buildUI( parent );		container.setLayout( WidgetUtil.createGridLayout( 4 ) );		TextPropertyDescriptorProvider authorProvider = new TextPropertyDescriptorProvider( ModuleHandle.AUTHOR_PROP,				ReportDesignConstants.MODULE_ELEMENT );		TextSection authorSection = new TextSection( authorProvider.getDisplayName( ),				container,				true );		authorSection.setProvider( authorProvider );		authorSection.setWidth( 500 );		authorSection.setGridPlaceholder( 2, true );		addSection( PageSectionId.MODULE_AUTHOR, authorSection );		TextPropertyDescriptorProvider createdByProvider = new TextPropertyDescriptorProvider( ModuleHandle.CREATED_BY_PROP,				ReportDesignConstants.MODULE_ELEMENT );		TextSection createdBySection = new TextSection( createdByProvider.getDisplayName( ),				container,				true );		createdBySection.setProvider( createdByProvider );		createdBySection.setWidth( 500 );		createdBySection.setGridPlaceholder( 2, true );		addSection( PageSectionId.MODULE_CREATED_BY, createdBySection );		PathDescriptorProvider pathProvider = new PathDescriptorProvider( );		TextSection pathSection = new TextSection( pathProvider.getDisplayName( ),				container,				true );		pathSection.setProvider( pathProvider );		pathSection.setWidth( 500 );		pathSection.setGridPlaceholder( 2, true );		addSection( PageSectionId.MODULE_PATH, pathSection );		TextPropertyDescriptorProvider titleProvider = new TextPropertyDescriptorProvider( ModuleHandle.TITLE_PROP,				ReportDesignConstants.MODULE_ELEMENT );		TextSection titleSection = new TextSection( titleProvider.getDisplayName( ),				container,				true );		titleSection.setProvider( titleProvider );		titleSection.setWidth( 500 );		titleSection.setGridPlaceholder( 2, true );		addSection( PageSectionId.MODULE_TITLE, titleSection );		// WidgetUtil.buildGridControl( this,		// propertiesMap,		// ReportDesignConstants.MODULE_ELEMENT,		// ModuleHandle.UNITS_PROP,		// 2,		// 500 );		TextPropertyDescriptorProvider resourceProvider = new TextPropertyDescriptorProvider( ModuleHandle.INCLUDE_RESOURCE_PROP,				ReportDesignConstants.MODULE_ELEMENT );		TextSection resourceSection = new TextSection( resourceProvider.getDisplayName( ),				container,				true );		resourceSection.setProvider( resourceProvider );		resourceSection.setWidth( 500 );		resourceSection.setGridPlaceholder( 2, true );		addSection( PageSectionId.MODULE_RESOURCE, resourceSection );		SeperatorSection seperatorSection = new SeperatorSection( container,				SWT.HORIZONTAL );		addSection( PageSectionId.MODULE_SEPERATOR, seperatorSection );		SimpleComboPropertyDescriptorProvider themeProvider = new SimpleComboPropertyDescriptorProvider( ModuleHandle.THEME_PROP,				ReportDesignConstants.MODULE_ELEMENT );		SimpleComboSection themeSection = new SimpleComboSection( themeProvider.getDisplayName( ),				container,				true );		themeSection.setProvider( themeProvider );		themeSection.setWidth( 500 );		themeSection.setGridPlaceholder( 2, true );		addSection( PageSectionId.MODULE_THEME, themeSection );		createSections( );		layoutSections( );	}