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/editors/schematic/providers/SchematicContextMenuProvider.java
{
				editPart = getTableEditPart( );
				Action action = new DeleteGroupAction( editPart,
						(TableGroupHandle) container);
				action.setText( DELETE_GROUP_MENU_ITEM_TEXT );
				menuManager.appendToGroup( group_name, action );
				return;
			}
		}
		if ( getFirstElement( ) instanceof SlotHandle )
		{
			DesignElementHandle container = ( (SlotHandle) getFirstElement( ) ).getElementHandle( );
			if ( container instanceof ListGroupHandle )
			{
				editPart = getListEditPart( );
				Action action = new DeleteGroupAction( editPart,
						(ListGroupHandle) container);
				action.setText( DELETE_GROUP_MENU_ITEM_TEXT );
				menuManager.appendToGroup( group_name, action );
				return;
			}
		}
		MenuManager subMenu = new MenuManager( DELETE_GROUP_MENU_ITEM_TEXT );
		ListingHandle parentHandle = null;
		if ( !getTableEditParts( ).isEmpty( ) )
		{
			parentHandle = (ListingHandle) ( (TableEditPart) getTableEditParts( ).get( 0 ) ).getModel( );
			editPart = (TableEditPart) getTableEditParts( ).get( 0 );
		}
		else if ( !getListEditParts( ).isEmpty( ) )