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/metadata/PropertyDefn.java
List allowedElements = (List) details;
			MetaDataDictionary dd = MetaDataDictionary.getInstance( );
			IElementDefn extendItem = dd
					.getElement( ReportDesignConstants.EXTENDED_ITEM );
			ArrayList contentsWithExtensions = new ArrayList( );
			contentsWithExtensions.addAll( allowedElements );
			if ( allowedElements.contains( extendItem ) )
			{
				contentsWithExtensions.remove( extendItem );
				for ( int i = 0; i < dd.getExtensions( ).size( ); i++ )
				{
					ExtensionElementDefn extension = (ExtensionElementDefn) dd
							.getExtensions( ).get( i );
					if ( extension.isKindOf( dd
							.getElement( ReportDesignConstants.REPORT_ITEM ) )
							&& PeerExtensionLoader.EXTENSION_POINT
									.equals( extension.extensionPoint )
							&& !contentsWithExtensions.contains( extension ) )
						contentsWithExtensions.add( extension );
				}
			}
			return Collections.unmodifiableList( (List) contentsWithExtensions );
		}
		return Collections.EMPTY_LIST;
	}
	/**
	 * Determines if this property can contain an element of the given type.
	 * 
	 * @param type
	 *            the type to test