Bug 145481 [RCP]Top Menu-Insert-Image, Edit Image Item dialog can not be opened.
[RCP]Top Menu-Insert-Image, Edit Image Item dialog can not be opened. Steps: 1.Select Top Menu-Insert-Image Actual Results: 1.Edit Image Item dialog can not be opened Expected Results: 1.Edit Image Item dialog can be opened
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/actions/BaseInsertMenuAction.java
return DNDUtil.handleValidateTargetCanContainType( slotHandle,
				insertType )
				&& DNDUtil.handleValidateTargetCanContainMore( slotHandle, 0 );
	}
	/**
	 * Returns the container slotHandle.
	 * 
	 */
	private SlotHandle getDefaultSlotHandle( String insertType )
	{
		IStructuredSelection models = InsertInLayoutUtil.editPart2Model( getSelection( ) );
		if ( models.isEmpty( ) )
		{
			return null;
		}
		model = models.getFirstElement( );
		if ( model instanceof SlotHandle )
		{
			return (SlotHandle) model;
		}
		else if ( model instanceof DesignElementHandle )
		{
			DesignElementHandle handle = (DesignElementHandle) model;
			if ( handle.getDefn( ).isContainer( ) )
			{
				int slotId = DEUtil.getDefaultSlotID( handle );
				if ( handle.canContain( slotId, insertType ) )
				{
					return handle.getSlot( slotId );
				}