Bug 193245 Should block user to set content type property on the child element
After we switch from the slot to content element type property, all the rules that we applied to the slot before should be applied to the content element type property. When an element is extended from the library element, it should not be allowed to change the child element structure. So, when user call setProperty() to set the value of the content element type property, Model should throw out exception.
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/command/PropertyCommandTest.java
assertEquals(
				"searchKey2", ( (SearchKeyHandle) memberHandle.getAt( 0 ) ).getExpression( ) ); 
	}
	/**
	 * Tests RemoveItem logic
	 * 
	 * <p>
	 * Test Cases:
	 * <ul>
	 * <li>Table define a highlight rule list, row inherited it, drop the rule
	 * on row won't affect the rules on table.</li>
	 * Label2 extends from label1, and label1 has defined an Action, test that
	 * remove a drill through parameter structure from the action on label2
	 * won't affect the value on label1.
	 * </ul>
	 * 
	 * @throws SemanticException
	 */
	public void testRemoveItem( ) throws SemanticException
	{
		
		ElementFactory factory = new ElementFactory( design );
		TableHandle table = factory.newTableItem( "newTable", 3 ); 
		designHandle.getBody( ).add( table );
		HighlightRule highlightRule = StructureFactory.createHighlightRule( );
		highlightRule.setTestExpression( "row[\"Company\"]" ); 
		highlightRule.setOperator( "eq" ); 
		highlightRule.setValue1( "Eclipse" ); 
		highlightRule.setProperty( HighlightRule.COLOR_MEMBER, "red" );