Bug 185902 Event handler option on lable is lost in property editor [0000]
Event handler option on label is lost in property editor [0000] Build number: 2.2.0.v20070508-0630 Steps to reproduce: 1.insert a label to layout and input "label" 2.select the label the go to "Property Editor",select "Event handler" Expected result: Event handler on label can be selected Actual result: Event handler on label is lost in property editor Error log: N/A
UI/org.eclipse.birt.report.designer.ui.views/src/org/eclipse/birt/report/designer/ui/views/attributes/CategoryPageGenerator.java
{
		if ( basicPage == null || basicPage.getControl( ).isDisposed( ) )
		{
			super.createTabItems( input );
			tabFolder.setLayout( new FillLayout( ) );
			basicPage = new BaseAttributePage( );
			basicPage.buildUI( tabFolder );
			CTabItem tabItem = new CTabItem( tabFolder, SWT.NONE );
			tabItem.setText( ATTRIBUTESTITLE ); 
			tabItem.setControl( basicPage.getControl( ) );
			if ( customProvider != null )
				basicPage.setCategoryProvider( customProvider );
			else
				basicPage.setCategoryProvider( factory.getCategoryProvider( input ) );
		}
		basicPage.setInput( input );
		addSelectionListener( this );
		basicPage.refresh( );
	}
	public void createControl( Composite parent, Object input )
	{
		super.createControl( parent, input );
		createTabItems( (List) input );
	}
	private ICategoryProvider customProvider;
	public void setCategoryProvider( ICategoryProvider provider )
	{
		this.customProvider = provider;
	}
}