Bug 184568 Insert menu error when switch layout tab[00]
Description: Insert menu error when switch layout tab[00] Step: 1.Open a report 2.Switch Master Page( or other tab ) 3.Switch Layout Page 4.Click insert menu Acutal result: The selection in insert menu is gray Exception result: Can select the selection in insert menu
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/DesignerActionBarContributor.java
}
	private void contributeActionsToMenu( MenuManager menu,
			RegisterActions[] actions )
	{
		for ( int i = 0; i < actions.length; i++ )
		{
			if ( actions[i] != null )
			{
				menu.add( getAction( actions[i].id ) );
			}
			else
			{
				menu.add( new Separator( ) );
			}
		}
	}
	private void contributeStyleMenu( MenuManager newMenu )
	{
		
		newMenu.add( getAction( ImportCSSStyleAction.ID ) );
		newMenu.add( getAction( AddStyleAction.ID ) );
		
		MenuManager editStyleMenu = new MenuManager( Messages.getString( "DesignerActionBarContributor.menu.style-rule-edit" ) ); 
		editStyleMenu.add( NoneAction.getInstance( ) );
		editStyleMenu.addMenuListener( new IMenuListener( ) {
			public void menuAboutToShow( IMenuManager manager )
			{
				updateDynamicItems( EditStyleMenuAction.ID, manager );
			}
		} );