Bug 188027 PasteAction is diabled
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/DesignElementHandle.java
assert level == IDesignElementModel.USER_LABEL
				|| level == IDesignElementModel.SHORT_LABEL
				|| level == IDesignElementModel.FULL_LABEL;
		return getElement( ).getDisplayLabel( module, level );
	}
	/**
	 * Sorts a list of elements by localized display name.
	 * 
	 * @param list
	 *            the list to sort
	 */
	public static void doSort( List list )
	{
		Collections.sort( list, new Comparator( ) {
			public int compare( Object arg0, Object arg1 )
			{
				DesignElementHandle h1 = (DesignElementHandle) arg0;
				DesignElementHandle h2 = (DesignElementHandle) arg1;
				String s1 = h1.getDisplayLabel( );
				String s2 = h2.getDisplayLabel( );
				return s1.compareTo( s2 );
			}
		} );
	}
	/**
	 * Returns whether the element is valid or not. An element may be valid even
	 * though it has some semantic errors.
	 * 
	 * @return <code>true</code> if this element is valid, otherwise
	 *         <code>false</code>.