Bug 154828 Item from library contant user properties can't delete
Details: Item from library contant user properties can't delete Step: 1.New a library. 2.Add a label and add a user properites. 3.Public the library. 4.New a report design and use the library 5.Drop the label from library explorer into layout. 6.Try to delete it. Actual result: The label from library contant user properties can't be delete. Exception reuslt: The label can be delete.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/ContentCommand.java
{
			StyleCommand styleCmd = new StyleCommand( module, content );
			styleCmd.setStyle( null );
		}
		
		if ( content.getExtendsElement( ) != null )
		{
			ExtendsCommand extendsCmd = new ExtendsCommand( module, content );
			extendsCmd.setExtendsName( null );
		}
		
		if ( content.getName( ) != null )
		{
			NameCommand nameCmd = new NameCommand( module, content );
			nameCmd.dropElement( );
		}
		
		List propertyBindings = module.getPropertyBindings( content );
		for ( int i = 0; i < propertyBindings.size( ); i++ )
		{
			PropertyBinding propBinding = (PropertyBinding) propertyBindings
					.get( i );
			ElementPropertyDefn propDefn = module
					.getPropertyDefn( Module.PROPERTY_BINDINGS_PROP );
			PropertyCommand propCommand = new PropertyCommand( module, module );
			propCommand.removeItem( new CachedMemberRef( propDefn ),
					propBinding );
		}
	}
}