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
protected static final String STACK_MSG_INSERT_ELEMENT = Messages.getString( "BaseInsertMenuAction.stackMsg.insertElement" ); 
	private String insertType;
	protected SlotHandle slotHandle;
	private Object model;
	/**
	 * The constructor.
	 * 
	 * @param part
	 *            parent workbench part
	 * @param type
	 *            insert element type
	 */
	public BaseInsertMenuAction( IWorkbenchPart part, String type )
	{
		super( part );
		this.insertType = type;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.gef.ui.actions.WorkbenchPartAction#calculateEnabled()
	 */
	protected boolean calculateEnabled( )
	{
		slotHandle = getDefaultSlotHandle( insertType );
		return DNDUtil.handleValidateTargetCanContainType( slotHandle,
				insertType )
				&& DNDUtil.handleValidateTargetCanContainMore( slotHandle, 0 );
	}
	/**