Public Member Functions | List of all members
IEditActionMenu Struct Reference

MicroStation implements this interface to allow applications to add entries to the EditAction popup menu. More...

#include <IEditAction.h>

Public Member Functions

void AddEntry (DItem_PulldownMenuItem *newMenuItem, DItem_PulldownMenu *parentMenuItem, IEditActionR action, WCharCP labelOveride, ECN::ECImageKeyCP imageOverride)
 Add a new menu entry for the current popup for a HitPathP. More...
 
void AddDefaultMenuType (DItem_PulldownMenuItem *newMenuItem, DItem_PulldownMenu *parentMenuItem, IEditActionR action, WCharCP labelOveride, ECN::ECImageKeyCP imageOverride)
 A default implementation that populates the menu based on IEdit. More...
 

Detailed Description

MicroStation implements this interface to allow applications to add entries to the EditAction popup menu.

Member Function Documentation

void AddDefaultMenuType ( DItem_PulldownMenuItem newMenuItem,
DItem_PulldownMenu parentMenuItem,
IEditActionR  action,
WCharCP  labelOveride,
ECN::ECImageKeyCP  imageOverride 
)

A default implementation that populates the menu based on IEdit.

void AddEntry ( DItem_PulldownMenuItem newMenuItem,
DItem_PulldownMenu parentMenuItem,
IEditActionR  action,
WCharCP  labelOveride,
ECN::ECImageKeyCP  imageOverride 
)

Add a new menu entry for the current popup for a HitPathP.

Parameters
[out]newMenuItemthe menu item that was created (or NULL).
[in]parentMenuItemthe parent menu item for this entry. If NULL then the entry is added to the main pop-up menu.
[in]actionthe Edit Action this entry applies to (generally, pass this).
[in]labelOveridethe override label to be displayed on the menu.
[in]imageOverridethe override image for the menu item.

Referenced by MstnEditAction::_AddToMenu().


The documentation for this struct was generated from the following file:

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.