Bug 172273 Grid insert to masterpage dosen't display propertily [05]
Build Number: 2.2.0.v20070131-1050 Description: As the screenshot, insert a grid (3*3) in the master page.It can't be display propertily. Step to reproduce: 1. new a report and switch to masterpage 2. insert a grid (3*3) Actual result: Please refer to the screenshot, it's abnormal.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/StyleElement.java
if ( element instanceof ExtendedItem )
		{
			String tmpSelector = null;
			
			ElementDefn elementDefn = ( (ExtendedItem) element ).getExtDefn( );
			if ( elementDefn != null )
				tmpSelector = elementDefn.getSelector( );
			if ( tmpSelector != null
					&& tmpSelector.equalsIgnoreCase( selectorName ) )
				selector = tmpSelector;
		}
		
		if ( selector == null )
			selector = ( (ElementDefn) element.getDefn( ) ).getSelector( );
		if ( selector != null && selector.equalsIgnoreCase( selectorName ) )
			return selector;
		return null;
	}
	private boolean checkSlotSelector( DesignElement element,
			String selectorName, NotificationEvent event, Module module )
	{
		String selector = element.getContainerInfo( ).getSelector( );
		if ( selector != null && selector.equalsIgnoreCase( selectorName ) )
		{
			element.broadcast( event, module );
			return true;
		}
		return false;
	}
}