100 virtual bool Execute(istd::IPolymorphic* contextPtr) = 0;
Provides single command for interaction with user.
StaticFlags
Flags indicating attributes of command.
@ CF_CONTEXT_MENU
Enable to use this command in context menu.
@ CF_PERMANENT
If this is enabled command will be permanent accessible, even if context is not active.
@ CF_EXCLUSIVE
Enable exclusive selection of this command with other commands in the same node with the same group I...
@ CF_TOOLBAR
Enable to use this command in application toolbar.
@ CF_TOOLBOX
Enable to use this command in separated toolbox.
@ CF_ONOFF
Inform that this command can be turned on or off (checkable).
@ CF_GLOBAL_MENU
Enable to use this command in global application menu.
virtual int GetPriority() const =0
Get priority in the same group.
virtual int GetGroupId() const =0
Get group ID used to decide if separator should be used.
virtual bool Execute(istd::IPolymorphic *contextPtr)=0
Execute this command.
virtual int GetStaticFlags() const =0
Get static flags of this command.
Interface for objects which can be enabled/disabled.
Interface for a object containing simple text.
Common interface to define the hierarchical graph structures.
This namespace contains standard classes based on Qt.
istd::TIHierarchical< ICommand > IHierarchicalCommand
Hierarchical command structure used to create dynamic menu structures.