Bug 140969 In library,delete item inside grid should not transfer current view.
Description: In library,delete item inside grid should not transfer current view. steps to reproduce: 1. New a library 2. Insert a grid. 3. Insert items to grid cell. 4. Select one item in grid and press delete Expected result: Focus is on grid for next operation. Actual result: Grid disppeared, focus changed to whole library.
UI/org.eclipse.birt.report.designer.ui.lib/src/org/eclipse/birt/report/designer/ui/editors/LibraryLayoutEditor.java
*/
	protected void handleCreateElement( ReportRequest request )
	{
		List list = request.getSelectionModelList( );
		
		
		
		int size = list.size( );
		Object obj = null;
		if ( size != 0 )
		{
			obj = list.get( size - 1 );
		}
		SetCurrentEditModelCommand command = new SetCurrentEditModelCommand( obj );
		command.execute( );
		
		super.handleCreateElement( request );
	}
	
	private boolean isInContainer( List list )
	{
		boolean retValue = false;
		int size = list.size( );
		for ( int i = 0; i < size; i++ )
		{
			Object obj = list.get( i );
			if ( obj instanceof RowHandle || obj instanceof CellHandle )
			{
				retValue = true;
			}