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
*/
	public DragTracker getDragTracker( Request req )
	{
		if ( req instanceof SelectionRequest
				&& ( (SelectionRequest) req ).getLastButtonPressed( ) == 3 )
			return new DeselectAllTracker( this );
		return new RootDragTracker( );
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.designer.internal.ui.editors.schematic.editparts.AbstractReportEditPart#refreshFigure()
	 */
	public void refreshFigure( )
	{
		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 );
		ReportRootFigure figure = (ReportRootFigure)getFigure();
		figure.setShowMargin(showMargin);
		if ( !showMargin )
		{
			Insets mg = getMasterPageInsets( masterPageHandle );
			bounds.width -= mg.getWidth( );
			bounds.height -= mg.getHeight( );
		}
		( (AbstractPageFlowLayout) getFigure( ).getLayoutManager( ) ).setInitSize( bounds );