Bug 189814 [Regression] "Paste" does not work for report items, data source, data set... [00]
Description: "Paste" does not work for report items, data source, data set... Build number: 2.2.0.v20070530-0630 Steps to reproduce: 1. New a report, insert a label, copy and paste. Expected result: "Paste" works. Actual result: "Paste" does not work. Error log: N/A
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/command/SelectionHandler.java
List selList = null;
		IEvaluationContext context = (IEvaluationContext) event.getApplicationContext( );
		Object obj = context.getVariable( ICommandParameterNameContants.SELECTION);
		if(obj != null)
		{
			selList = new ArrayList();
			selList.add( obj );
		}
		
		if(selList == null || selList.size( ) < 1)
		{
			 
			return Collections.EMPTY_LIST;
		}
		for ( int i = 0; i < selList.size( ); i++ )
		{
			if ( selList.get( i ) instanceof ReportElementEditPart )
			{
				isEditPart = true;
			}
		}
		if ( isEditPart )
		{
			selList = InsertInLayoutUtil.editPart2Model( TableUtil.filletCellInSelectionEditorpart( getSelection( ) ) )
					.toList( );
		}
		return selList;
	}
}