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
public DesignElementHandle( Module module )
	{
		this.module = module;
	}
	/**
	 * Returns the report design only when the module is report design.
	 * Otherwise, null is returned. So this method can also be used to check
	 * whether this element is in report design or library.
	 * 
	 * @return the report design, or null if the module is not report design.
	 * @deprecated replaced by getModule()
	 */
	public ReportDesign getDesign( )
	{
		if ( module instanceof ReportDesign )
			return (ReportDesign) module;
		return null;
	}
	/**
	 * Returns the module on which this handle is attached. The returned module
	 * must be <code>ReportDesign</code> or <code>Library</code>.
	 * 
	 * @return the module on which this handle is attached.
	 */
	public Module getModule( )
	{
		return module;
	}
	/**
	 * Returns the handle of report design only when the module is report