Bug 118351 Predefine style in library cannot refresh in layout
Details: Predefine style in library cannot refresh in layout Step: 1.New a library and create two themes and two label predefine style with yellow and green background color. Named theme1 and theme2, style1 and style2. 2.Open a report design and insert a label. Actual result: No matter what theme is selected, the background color has not been changed in layout. Expected result: Select a theme, background color of label in layout is changed.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/editparts/ReportDesignEditPart.java
ReportDesignLayout layout = new ReportDesignLayout( this );
		SlotHandle slotHandle = ( (ModuleHandle) getModel( ) ).getMasterPages( );
		Iterator iter = slotHandle.iterator( );
		SimpleMasterPageHandle masterPageHandle = (SimpleMasterPageHandle) iter.next( );
		
		
		Dimension size = getMasterPageSize( masterPageHandle );
		Rectangle bounds = new Rectangle( 0, 0, size.width - 1, size.height - 1 );
		layout.setInitSize( bounds );
		figure.setLayoutManager( layout );
		figure.setBorder( new ReportDesignMarginBorder( getMasterPageInsets( masterPageHandle ) ) );
		figure.setBounds( bounds.getCopy( ) );
		return figure;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.gef.editparts.AbstractEditPart#createEditPolicies()
	 */
	protected void createEditPolicies( )
	{
		installEditPolicy( EditPolicy.LAYOUT_ROLE,
				new ReportFlowLayoutEditPolicy( ) );
		installEditPolicy( EditPolicy.CONTAINER_ROLE,
				new ReportContainerEditPolicy( ) );
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.designer.ui.editor.edit.ReportElementEditPart#getModelChildren()