action = getAction( GeneralInsertMenuAction.INSERT_DYNAMIC_TEXT_ID ); action.setText( GeneralInsertMenuAction.INSERT_DYNAMIC_TEXT_DISPLAY_TEXT ); subMenu.add( action );
	private void createInsertElementMenu( IMenuManager menuManager,			String group_name )	{		MenuManager subMenu = new MenuManager( ELEMENT_MENU_ITEM_TEXT );		IAction action = getAction( GeneralInsertMenuAction.INSERT_TEXT_ID );		action.setText( GeneralInsertMenuAction.INSERT_TEXT_DISPLAY_TEXT );		subMenu.add( action );		action = getAction( GeneralInsertMenuAction.INSERT_LABEL_ID );		action.setText( GeneralInsertMenuAction.INSERT_LABEL_DISPLAY_TEXT );		subMenu.add( action );		action = getAction( GeneralInsertMenuAction.INSERT_DATA_ID );		action.setText( GeneralInsertMenuAction.INSERT_DATA_DISPLAY_TEXT );		subMenu.add( action );		action = getAction( GeneralInsertMenuAction.INSERT_IMAGE_ID );		action.setText( GeneralInsertMenuAction.INSERT_IMAGE_DISPLAY_TEXT );		subMenu.add( action );		action = getAction( GeneralInsertMenuAction.INSERT_GRID_ID );		action.setText( GeneralInsertMenuAction.INSERT_GRID_DISPLAY_TEXT );		subMenu.add( action );		action = getAction( GeneralInsertMenuAction.INSERT_LIST_ID );		action.setText( GeneralInsertMenuAction.INSERT_LIST_DISPLAY_TEXT );		subMenu.add( action );		action = getAction( GeneralInsertMenuAction.INSERT_TABLE_ID );		action.setText( GeneralInsertMenuAction.INSERT_TABLE_DISPLAY_TEXT );		subMenu.add( action );		/*		 * Extended Items insert actions		 */		List points = ExtensionPointManager.getInstance( )				.getExtendedElementPoints( );		for ( Iterator iter = points.iterator( ); iter.hasNext( ); )		{			ExtendedElementUIPoint point = (ExtendedElementUIPoint) iter.next( );			action = getAction( point.getExtensionName( ) );			if ( action != null )			{				if ( point.getExtensionName( ).equalsIgnoreCase( "Chart" ) ) //$NON-NLS-1$				{					action.setText( "&" + point.getExtensionName( ) ); //$NON-NLS-1$				}				else				{					action.setText( point.getExtensionName( ) );				}				subMenu.add( action );			}		}		menuManager.appendToGroup( group_name, subMenu );	}