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
}
		getFigure( ).setFocusTraversable( false );
		
		getViewer( ).addPropertyChangeListener( new PropertyChangeListener( ) {
			public void propertyChange( PropertyChangeEvent evt )
			{
				if ( DeferredGraphicalViewer.PROPERTY_MARGIN_VISIBILITY.equals( evt.getPropertyName( ) ) )
				{
					showMargin = ( (Boolean) evt.getNewValue( ) ).booleanValue( );
					refresh( );
					markDirty( true );
				}
			}
		} );
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.gef.EditPart#deactivate()
	 */
	public void deactivate( )
	{
		super.deactivate( );
		if ( ( (ReportDesignHandleAdapter) getModelAdapter( ) ).getMasterPage( ) != null )
		{
			( (ReportDesignHandleAdapter) getModelAdapter( ) ).getMasterPage( )
					.removeListener( this );
		}
	}
}