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
/*******************************************************************************
 * Copyright (c) 2004 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.report.designer.ui.actions;
import java.util.Iterator;
import java.util.List;
import org.eclipse.birt.report.designer.internal.ui.util.Policy;
import org.eclipse.gef.ui.actions.SelectionAction;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.MenuManager;
import org.eclipse.jface.action.Separator;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.ui.IWorkbenchPart;
/**
 * Action used to update dynamic items of menu.
 */
public abstract class MenuUpdateAction extends SelectionAction