container.setLayout( WidgetUtil.createGridLayout( 5 ) );
container.setLayout( WidgetUtil.createGridLayout( 5 ,15 ) );
	public void buildUI( Composite parent)	{		super.buildUI( parent );		container.setLayout( WidgetUtil.createGridLayout( 5 ) );		TextPropertyDescriptorProvider eventProvider = new TextPropertyDescriptorProvider( ReportDesignHandle.EVENT_HANDLER_CLASS_PROP,				ReportDesignConstants.REPORT_DESIGN_ELEMENT );		TextAndButtonSection eventSection = new TextAndButtonSection( eventProvider.getDisplayName( ),				container,				true );		eventSection.setProvider( eventProvider );		eventSection.addSelectionListener( new SelectionAdapter( ) {			public void widgetSelected( SelectionEvent e )			{				ClassFinder finder = new ClassFinder( );				String className = null;				if ( input != null && ( (List) input ).size( ) > 0 )				{					// if ( input.get( 0 ) instanceof ExtendedItemHandle					// {					// className = (String) ( EventHandlerWrapper.get(					// AttributeConstant.EVENT_HANDLER_CLASS_PROPERTY_KEY ) );					// }					// else					if ( ( (List) input ).get( 0 ) instanceof DesignElementHandle )					{						className = EventHandlerWrapper.getEventHandlerClassName( (DesignElementHandle) ( (List) input ).get( 0 ) );					}				}				if ( className != null )				{					finder.setParentClassName( className );					GroupPropertyHandle handle = DEUtil.getMultiSelectionHandle( (List) input )							.getPropertyHandle( ReportDesignHandle.EVENT_HANDLER_CLASS_PROP );					try					{						String finderClassName = finder.getFinderClassName( );						if ( finderClassName != null								&& finderClassName.trim( ).length( ) > 0 )						{							handle.setStringValue( finderClassName.trim( ) );						}					}					catch ( SemanticException e1 )					{						ExceptionHandler.handle( e1 );					}				}			}		} );		eventSection.setWidth( 400 );		eventSection.setGridPlaceholder( 1, true );		eventSection.setButtonText( Messages.getString( "EventHandlerPage.Browse" ) );		addSection( PageSectionId.HANDLER_EVENT, eventSection );				createSections( );		layoutSections( );	}