Bug 124620 Referenced Parameter icon should be invalid if the parameter in library is deleted
Description: Referenced parameter icon should be invalid if the source parameter in library is deleted. Steps to reproduce: 1.Create a library. Insert a report scalar parameter. 2.Create a report, use the above library. In the library explorer, pull the parameter to the data explorer view of report. 3.Open the library file, delete the parameter. Then reopen the report design file, the icon of parameter seems nothing happened. But if those operations happened in dataset, the icon of dataset in the report will be invalid. It is acceptable. Expected Result: The icon of referenced parameter should be invalid.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/DesignElementHandle.java
return ErrorDetail.getSemanticErrors( errorDetailList,
				DesignFileException.DESIGN_EXCEPTION_SEMANTIC_ERROR );
	}
	/**
	 * Returns the root container of this element. It must be Library or Report
	 * Design.
	 * 
	 * @return the handle of the root container.
	 */
	public ModuleHandle getRoot( )
	{
		Module module = getElement( ).getRoot( );
		if ( module != null )
			return (ModuleHandle) module.getHandle( module );
		return null;
	}
	/**
	 * Returns return the path corresponding to the current position of the
	 * element in the tree.
	 * 
	 * This path string helps user locate this element in user interface. It
	 * follows XPath syntax. Each node name indicates the name of the element
	 * definition and the 1-based element position in the slot. The position
	 * information is only available when the element is in the multicardinality
	 * slot.
	 * 
	 * <p>
	 * For example,
	 * <ul>
	 * <li>/report/Body[1]/Label[3] - The third label element in body slot