Bug 128334 List item missing two menu options
steps to reproduce: - create a report - add a list item - right click on the list item, and select Create Template Report Item ... - right click on the list item, and select Revert To Report Item - right click on the list item, and look at the context menu expected behavior: - Revert To Report Item and Revert To Template Item appears actual behavior: - these two options were missing
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/providers/SchematicContextMenuProvider.java
import org.eclipse.birt.report.model.api.RowHandle;
import org.eclipse.birt.report.model.api.SlotHandle;
import org.eclipse.birt.report.model.api.TableGroupHandle;
import org.eclipse.birt.report.model.api.TemplateReportItemHandle;
import org.eclipse.birt.report.model.api.metadata.IElementDefn;
import org.eclipse.gef.ContextMenuProvider;
import org.eclipse.gef.EditPartViewer;
import org.eclipse.gef.ui.actions.ActionRegistry;
import org.eclipse.gef.ui.actions.GEFActionConstants;
import org.eclipse.gef.ui.actions.UpdateAction;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.action.IMenuListener;
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.jface.action.MenuManager;
import org.eclipse.jface.action.Separator;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.swt.SWT;
import org.eclipse.ui.actions.ActionFactory;
/**
 * Schematic context menu provider
 */
public class SchematicContextMenuProvider extends ContextMenuProvider
{
	private static final String INSERT_ROW_MENU_ITEM_TEXT = Messages
			.getString( "SchematicContextMenuProvider.Menu.insertRow" ); 
	private static final String EDIT_GROUP_MENU_ITEM_TEXT = Messages
			.getString( "SchematicContextMenuProvider.Menu.EditGroup" ); 
	private static final String APPLY_STYLE_MENU_ITEM_TEXT = Messages