Bug 134216 [regression] add a report item to library does not work properly
steps to reproduce: - create a library - add report items, say label - add 1st label - add 2nd laebl expected behavior: - everytime i drag a label to Outline->ReportItems, the label will be added actual behavior: - for the 1st label, it worked out fine - for the 2nd label, i had to drag a label twice to complete the operation note that this happened with other report items as well
UI/org.eclipse.birt.report.designer.ui.lib/src/org/eclipse/birt/report/designer/internal/lib/editparts/LibraryReportDesignEditPart.java
c.execute( );
											}
										} );
							}
						};
						Object model = this.getHost( ).getModel( );
						if ( model instanceof ReportElementModel )
						{
							command.setParent( ( (ReportElementModel) model ).getSlotHandle( ) );
						}
						else if ( model instanceof ListBandProxy )
						{
							command.setParent( ( (ListBandProxy) model ).getSlotHandle( ) );
						}
						else
						{
							command.setParent( model );
						}
						
						
						
						
						
						return command;
					}
				} );
		installEditPolicy( EditPolicy.CONTAINER_ROLE,
				new ReportContainerEditPolicy( ) );
	}
}