Bug 122289 [Smoke][Regression][SPM-Linux WS]Item can't be dropped to layout from library
Details: Item can't be dropped to layout from library Setp: 1.New a library and insert a label 2.New a report design and use library 3.Drop label from library explorer to layout Actual results: Nothing is dropped into layout. Not only use library in outline, but also in library explorer is no effect. But when I drop the label without use library, it will use library and label can drop in it.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/util/UIUtil.java
}
		return string;
	}
	/**
	 * Convert the give string to Model style
	 * 
	 * @param string
	 *            the string to convert
	 * @param trim
	 *            specify if the string needs to be trimmed
	 * @return the string, or null for an empty string
	 */
	public static String convertToModelString( String string, boolean trim )
	{
		if ( string == null )
		{
			return null;
		}
		if ( trim )
		{
			string = string.trim( );
		}
		if ( string.length( ) == 0 )
		{
			string = null; 
		}
		return string;
	}
	/**
	 * Returns the width hint for the given control.