Bug 148525 Display text is not found from library resource file
Steps to reproduce: 1.New a library, add a resource file "a.properties" 2.Add a label with text"abc", add a localization "k1=actuate" 3.New a report, extend the label 4.Preview the report Expected result: Report shows "actuate" in preview Actual result: Report shows "actuate" in layout, but "abc" in preview
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/DesignElementHandle.java
throw new ContentException( element, -1,
					ContentException.DESIGN_EXCEPTION_HAS_NO_CONTAINER );
		int oldSlot = element.getContainerSlot( );
		assert oldSlot != -1;
		ContentCommand cmd = new ContentCommand( module, oldContainer );
		cmd.move( element, oldSlot, newContainer.getElement( ), toSlot );
	}
	/**
	 * Drops this element from the design. Removes the element from its
	 * container and name space, if any.
	 * <p>
	 * Note: If this element is referenceable, the property referring it will be
	 * set null.
	 * 
	 * @throws SemanticException
	 *             if this element has no container or the element cannot be
	 *             dropped.
	 * @see SlotHandle
	 * @see #drop()
	 */
	public void dropAndClear( ) throws SemanticException
	{
		DesignElement element = getElement( );
		DesignElement container = element.getContainer( );
		if ( container == null )
			throw new ContentException( element, -1,
					ContentException.DESIGN_EXCEPTION_HAS_NO_CONTAINER );
		int slotID = element.getContainerSlot( );
		assert slotID != -1;
		ContentCommand cmd = new ContentCommand( module, container );