Bug 173221 Focus is not on the new added item in library [00]
Description: Focus is not on the new added item in library. Build number: 2.2.0.v20070207-0941 Steps to reproduce: 1. New a Library, right click to add a report item in Layout. Expected result: Focus is on the new added report item. Actual result: Focus is lost. Error log: N/A
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/actions/BaseInsertMenuAction.java
selectElement( entries[i].executeCreate( ),false );
				}
				catch ( Exception e )
				{
					ExceptionHandler.handle( e );
				}
				return;
			}
		}
		CommandStack stack = SessionHandleAdapter.getInstance( )
				.getCommandStack( );
		stack.startTrans( STACK_MSG_INSERT_ELEMENT );
		try
		{
			final Request req = insertElement( );
			if ( req != null )
			{
				stack.commit( );
				selectElement( req.getExtendedData( )
						.get( IRequestConstants.REQUEST_KEY_RESULT ), true );
				return;
			}
		}
		catch ( Exception e )
		{
			ExceptionHandler.handle( e );
		}
		stack.rollback( );
	}
}