Bug 189108 [Accessibility] There is no short cut for Crosstab [00]
Description: There is no short cut for Crosstab. Build number: 2.2.0.v20070525-1114 Steps to reproduce: 1. Select menu "Insert", click short cut for Crosstab. Expected result: Short cut for Crosstab is available. Actual result: There is no short cut for Crosstab. Error log: N/A
xtab/org.eclipse.birt.report.item.crosstab.ui/src/org/eclipse/birt/report/item/crosstab/internal/ui/CrosstabCellMenuAdapterFactory.java
import org.eclipse.birt.report.designer.nls.Messages;
import org.eclipse.birt.report.designer.ui.actions.GeneralInsertMenuAction;
import org.eclipse.birt.report.designer.util.DEUtil;
import org.eclipse.birt.report.item.crosstab.internal.ui.editors.model.NormalCrosstabCellAdapter;
import org.eclipse.birt.report.model.api.metadata.IElementDefn;
import org.eclipse.core.runtime.IAdapterFactory;
import org.eclipse.gef.ui.actions.ActionRegistry;
import org.eclipse.gef.ui.actions.UpdateAction;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.action.IMenuListener;
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.jface.action.MenuManager;
/**
 * 
 */
public class CrosstabCellMenuAdapterFactory implements IAdapterFactory
{
	private ActionRegistry actionRegistry;
	public Object getAdapter( Object adaptableObject, Class adapterType )
	{
		if ( adaptableObject instanceof NormalCrosstabCellAdapter
				&& adapterType == IMenuListener.class )
		{
			return new ISchematicMenuListener(){
				private ActionRegistry actionRegistry;
				public void menuAboutToShow( IMenuManager manager )
				{
					MenuManager subMenu = new MenuManager( Messages.getString( "SchematicContextMenuProvider.Menu.insertElement" ) );
					
					IAction action = getAction( GeneralInsertMenuAction.INSERT_TEXT_ID );