Bug 192430 [Acceptance] "Rever to Template Item" is not shown in the top menu "Element" [00]
Description: "Rever to Template Item" is not shown in the top menu Element Build number: 2.2.0.v20070613-1211 Steps to reproduce: 1. New a template add a label. 2. Select the label, create a template item and revert it to report element, save. 3. Select the label, click top menu "Element". Expected result: "Rever to Template Item" is shown. Actual result: Only "Create Template Report Item" and "Revert to Report Item" are shown. Error log: N/A
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/views/actions/RevertToReportItemAction.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.internal.ui.views.actions;
import org.eclipse.birt.report.designer.internal.ui.views.IRequestConstants;
import org.eclipse.birt.report.designer.nls.Messages;
import org.eclipse.birt.report.designer.ui.views.ProviderFactory;
import org.eclipse.birt.report.model.api.DesignElementHandle;
import org.eclipse.birt.report.model.api.TemplateReportItemHandle;
import org.eclipse.gef.Request;
import org.eclipse.jface.viewers.IStructuredSelection;
/**
 * 
 */
public class RevertToReportItemAction extends AbstractElementAction