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
return CONTAIN_NO;
			}
			if ( targetHandle.getClass( ).equals( childHandle.getClass( ) ) )
			{
				
				if(childHandle instanceof LevelHandle)
					return CONTAIN_NO;
				
				return CONTAIN_PARENT;
			}
			if ( targetHandle.getContainerSlotHandle( ) != null )
			{
				return targetHandle.getContainer( )
						.canContain( targetHandle.getContainerSlotHandle( )
								.getSlotID( ),
								childHandle ) ? CONTAIN_PARENT : CONTAIN_NO;
			}
			else if ( targetHandle.getContainerPropertyHandle( ) != null )
			{
				return targetHandle.getContainer( )
						.canContain( targetHandle.getContainerPropertyHandle( )
								.getPropertyDefn( )
								.getName( ),
								childHandle ) ? CONTAIN_PARENT : CONTAIN_NO;
			}
		}
		return CONTAIN_NO;
	}
	/**
	 * Validates target can contain more elements