SHAPER  9.12.0
XGUI_MenuGroup Class Reference

A class for management of menu actions (features). More...

Public Member Functions

 XGUI_MenuGroup (const std::string &theName)
 Constructor. More...
std::string getName () const
 Returns a name of the workbench. More...
virtual void setFeatureInfo (const std::shared_ptr< Config_FeatureMessage > &theMessage)
 Stores XML information for the feature kind. More...
const std::list< std::shared_ptr< Config_FeatureMessage > > & featuresInfo () const
 Returns container of existing features. More...

Detailed Description

A class for management of menu actions (features).

The actions should be arranged like they are in XML file. It listens the read feature of XML and fills internal structure of menu workbenches and groups of feature. After, it creates menues and tools in the module.

Constructor & Destructor Documentation

◆ XGUI_MenuGroup()

XGUI_MenuGroup::XGUI_MenuGroup ( const std::string &  theName)


Member Function Documentation

◆ getName()

std::string XGUI_MenuGroup::getName ( ) const

Returns a name of the workbench.

workbench name

◆ setFeatureInfo()

void XGUI_MenuGroup::setFeatureInfo ( const std::shared_ptr< Config_FeatureMessage > &  theMessage)

Stores XML information for the feature kind.

theMessagea container of the feature XML properties

◆ featuresInfo()

const std::list< std::shared_ptr< Config_FeatureMessage > > & XGUI_MenuGroup::featuresInfo ( ) const

Returns container of existing features.