Bug 184377 [RCP] There is an extra line in Menu File when you first open RCP [00]
Description: There is an extra line in Menu File when you first open RCP. Build number: 2.2.0.v20070427-1305 Steps to reproduce: 1. Open BIRT RCP. 2. Click top menu File/ Expected result: Menu file displays correctly. Actual result: See the screenshot. Error log: N/A
UI/org.eclipse.birt.report.designer.ui.rcp/src/org/eclipse/birt/report/designer/ui/internal/rcp/DesignerActionBarAdvisor.java
menu.add( new GroupMarker( IWorkbenchActionConstants.FIND_EXT ) );
		menu.add( new Separator( ) );
		menu.add( new GroupMarker( IWorkbenchActionConstants.EDIT_END ) );
		menu.add( new Separator( IWorkbenchActionConstants.MB_ADDITIONS ) );
		return menu;
	}
	/**
	 * Creates and returns the Window menu.
	 */
	private MenuManager createWindowMenu( )
	{
		MenuManager menu = new MenuManager( DesignerWorkbenchMessages.Workbench_window,
				IWorkbenchActionConstants.M_WINDOW );
		addPerspectiveActions( menu );
		menu.add( new Separator( IWorkbenchActionConstants.MB_ADDITIONS ) );
		menu.add( openPreferencesAction );
		return menu;
	}
	/**
	 * Adds the perspective actions to the specified menu.
	 */
	private void addPerspectiveActions( MenuManager menu )
	{
		{
			MenuManager showViewMenuMgr = new MenuManager( DesignerWorkbenchMessages.Workbench_showView,
					"showView" ); 
			IContributionItem showViewMenu = ContributionItemFactory.VIEWS_SHORTLIST.create( getWindow( ) );
			showViewMenuMgr.add( showViewMenu );
			menu.add( showViewMenuMgr );
		}