Bug 192355 [acceptance]Fail to drag xtab from Palette to Outline in Library.[01]
Description: Fail to drag xtab from Palette to Outline in Library. Build number:2.2.0.v20070613 Steps to reproduce: 1. New a library file. 2. Drag crosstab from Palette to Outline->Report Items. Expected result: Crosstab can be dragged to outline as other items do. Actual result: Step2 is forbidden in UI. Error log:n/a
UI/org.eclipse.birt.report.designer.ui.lib/src/org/eclipse/birt/report/designer/internal/lib/views/outline/dnd/LibraryDropListener.java
import org.eclipse.birt.report.model.api.ModuleHandle;
import org.eclipse.birt.report.model.api.SlotHandle;
import org.eclipse.gef.EditDomain;
import org.eclipse.gef.EditPart;
import org.eclipse.jface.viewers.StructuredSelection;
import org.eclipse.jface.viewers.TreeViewer;
/**
 * Supports dropping elements to outline view.
 *  
 */
public class LibraryDropListener extends DesignerDropListener
{
	private static List supportList = new ArrayList( );
	static
	{
		supportList.add( IReportElementConstants.REPORT_ELEMENT_LABEL );
		supportList.add( IReportElementConstants.REPORT_ELEMENT_TEXT );
		supportList.add( IReportElementConstants.REPORT_ELEMENT_DATA );
		supportList.add( IReportElementConstants.REPORT_ELEMENT_GRID );
		supportList.add( IReportElementConstants.REPORT_ELEMENT_TABLE );
		supportList.add( IReportElementConstants.REPORT_ELEMENT_LIST );
		supportList.add( IReportElementConstants.REPORT_ELEMENT_IMAGE );
		supportList.add( IReportElementConstants.REPORT_ELEMENT_TEXTDATA );
		List exts = ExtensionPointManager.getInstance( )
				.getExtendedElementPoints( );
		if ( exts != null )
		{
			for ( Iterator itor = exts.iterator( ); itor.hasNext( ); )
			{
				ExtendedElementUIPoint point = (ExtendedElementUIPoint) itor