Bug 120317 Set "dimension" property to 3D in "properties" view, error appears in layout editor.
Description: Set "dimension" property to 3D in "properties" view, error appears in layout editor. Steps to reproduce: 1. Add a 2D chart in property editor. 2. Set its dimension property to "three-dimension" in properties view. 3. Error appears in chart.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/PropertyHandle.java
* (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.model.api.SimpleValueHandle#isReadOnly()
	 */
	public boolean isReadOnly( )
	{
		IElementDefn elementDefn = getElementHandle( ).getDefn( );
		if ( elementDefn.isPropertyReadOnly( propDefn.getName( ) )
				&& ( propDefn.isSystemProperty( ) || ( propDefn.getValueType( ) == PropertyDefn.EXTENSION_PROPERTY ) ) )
			return true;
		Module root = getElementHandle( ).getEffectiveModule( );
		assert root != null;
		if ( root.isReadOnly( ) )
			return true;
		return false;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.model.api.SimpleValueHandle#isVisible()
	 */
	public boolean isVisible( )
	{
		IElementDefn elementDefn = getElementHandle( ).getDefn( );
		if ( !elementDefn.isPropertyVisible( propDefn.getName( ) )
				&& ( propDefn.isSystemProperty( ) || ( propDefn.getValueType( ) == PropertyDefn.EXTENSION_PROPERTY ) ) )
			return false;
		return true;
	}
}