Bug 154001 In library, Insert In Layout will not display table in library Layout
Description: In library, Insert In Layout will not display table in library Layout Steps to reproduce: 1. New a library file 2. New data source and dataset 3. Select the dataset, right click and click Insert In Layout Expected result: A table appears in Layout Actual result: Nothing changed in Layout but the table is inserted in Outline.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/views/actions/InsertInLayoutAction.java
{
			if ( Policy.TRACING_ACTIONS )
			{
				System.out.println( "Insert layout action >> Runs ..." ); 
			}
			Object newElement = InsertInLayoutUtil.performInsert( getSelection( ),
					getTargetEditPart( ) );
			if ( newElement != null )
				runCreate( newElement, targetPart.getModel( ) );
			stack.commit( );
		}
		catch ( SemanticException e )
		{
			ExceptionHandler.handle( e );
			stack.rollback( );
		}
	}
	private void runCreate( Object insertedObj, Object container )
	{
		if ( container instanceof ListBandProxy )
		{
			container = ( (ListBandProxy) container ).getSlotHandle( );
		}
		HashMap map = new HashMap( );
		map.put( DesignerConstants.KEY_NEWOBJECT, insertedObj );
		CreateCommand command = new CreateCommand( map );
		command.setParent( container );
		command.execute( );
	}
}