Bug 192347 [acceptance]Theme cannot be deleted[01]
Description: [acceptance]Theme cannot be deleted Build number:2.2.0.v20070613 Steps to reproduce: 1. New a library. 2. New a theme and delete it. Expected result: Theme can be deleted Actual result: Delete key doesn't work and no delete item in context menu. Error log:n/a
UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/util/DNDUtil.java
*            source to drop
	 */
	public static void dropSource( Object source )
	{
		DeleteCommand command = new DeleteCommand( source );
		if ( command.canExecute( ) )
			command.execute( );
	}
	/**
	 * Gets handle of target
	 * 
	 * @param target
	 * @return handle of target
	 */
	public static DesignElementHandle getDesignElementHandle( Object target )
	{
		target = unwrapToModel( target );
		if ( target instanceof DesignElementHandle )
		{
			return (DesignElementHandle) target;
		}
		else if ( target instanceof SlotHandle )
		{
			return ( (SlotHandle) target ).getElementHandle( );
		}
		return null;
	}
	/**
	 * Unwraps the object to model
	 *