Bug 142144 [Smoke][regression]Style cannot be modified and applied.
Description: Style cannot be modified and applied. Steps to reproduce: 1. New a style. 2. Edit it in StyleBuilder and click OK 3. Insert a label, right click and apply the style. Result: After step2, Style name already exist, please chosse a different name. In step3, The created style is gray.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/actions/MenuUpdateAction.java
}
			if ( menu.getItems( ).length == 0 )
			{
				menu.add( NoneAction.getInstance( ) );
			}
			menu.update( true );
		}
	}
	/**
	 * Updates then current menu.
	 * 
	 * @param menu
	 *            the current menu
	 */
	public void updateMenu( MenuManager menu )
	{
		this.menu = menu;
		run( );
	}
	public void update( )
	{
	}
	/**
	 * Gets dynamic items of current menu to generate sub-menu. If the element
	 * returns null, menu will generate separator.
	 * 
	 * @return items
	 */
	abstract protected List getItems( );
}