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
} );
		}
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.model.api.core.Listener#elementChanged(org.eclipse.birt.report.model.api.DesignElementHandle,
	 *      org.eclipse.birt.report.model.api.activity.NotificationEvent)
	 */
	public void elementChanged( DesignElementHandle focus, NotificationEvent ev )
	{
		if ( !isModelInModuleHandle( ) )
		{
			SetCurrentEditModelCommand command = new SetCurrentEditModelCommand( null );
			command.execute( );
		}
	}
	private boolean isModelInModuleHandle( )
	{
		List list = getModelChildren( );
		int size = list.size( );
		for ( int i = 0; i < size; i++ )
		{
			Object obj = list.get( i );
			if ( obj instanceof DesignElementHandle )
			{
				DesignElementHandle handle = (DesignElementHandle) obj;
				if ( handle.getRoot( ) == null )
				{
					return false;