fw4spl
fwGui::builder::IMenuBarBuilder Class Referenceabstract

Defines the interface class for the menubar builder. More...

#include <IMenuBarBuilder.hpp>

+ Inheritance diagram for fwGui::builder::IMenuBarBuilder:
+ Collaboration diagram for fwGui::builder::IMenuBarBuilder:

Public Types

typedef std::string RegistryKeyType
 
- Public Types inherited from fwGui::GuiBaseObject
typedef ::fwGui::factory::Key Key
 

Public Member Functions

virtual bool isA (const std::string &type) const override
 
FWGUI_API IMenuBarBuilder ()
 Constructor. Do nothing.
 
virtual FWGUI_API ~IMenuBarBuilder ()
 Destructor. Do nothing.
 
virtual FWGUI_API::fwGui::container::fwMenuBar::sptr getMenuBar ()
 Returns the builded menu bar.
 
virtual FWGUI_API void initialize (::fwRuntime::ConfigurationElement::sptr configuration)
 Configure the layout before creation.
 
virtual FWGUI_API void createMenuBar (::fwGui::container::fwContainer::sptr parent)=0
 Instantiate layout with parent menuBar. More...
 
virtual FWGUI_API void destroyMenuBar ()=0
 Destroy local layout with sub containers. More...
 
- Public Member Functions inherited from fwGui::GuiBaseObject
- Public Member Functions inherited from fwCore::BaseObject
virtual const std::string & getLeafClassname () const
 return object's classname without its namespace, i.e. BaseObject
 

Static Public Member Functions

static bool isTypeOf (const std::string &type)
 
- Static Public Member Functions inherited from fwGui::GuiBaseObject
static bool isTypeOf (const std::string &type)
 
static const std::string & classname ()
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 
- Static Public Member Functions inherited from fwCore::BaseObject
static bool isTypeOf (const std::string &type)
 
static const std::string & leafClassname ()
 return object's classname without its namespace, i.e. BaseObject
 
static const std::string & classname ()
 return object's classname without its namespace, i.e. BaseObject
 

Static Public Attributes

FWGUI_API static const RegistryKeyType REGISTRY_KEY = "::fwGui::MenuBarBuilder"
 

Protected Attributes

::fwGui::container::fwMenuBar::sptr m_menuBar
 MenuBar.
 

Demangling methods

virtual const std::string & getClassname () const override
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 
static const std::string & classname ()
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 

Additional Inherited Members

- Protected Member Functions inherited from fwGui::GuiBaseObject
 GuiBaseObject ()
 
virtual ~GuiBaseObject ()
 

Detailed Description

Defines the interface class for the menubar builder.

Date
2009-2010.

Definition at line 29 of file IMenuBarBuilder.hpp.

Member Function Documentation

virtual FWGUI_API void fwGui::builder::IMenuBarBuilder::createMenuBar ( ::fwGui::container::fwContainer::sptr  parent)
pure virtual

Instantiate layout with parent menuBar.

Precondition
LayoutManager must be initialized before.
parent menuBar must be instanced.

Implemented in fwGui::builder::MenuBarBuilder.

virtual FWGUI_API void fwGui::builder::IMenuBarBuilder::destroyMenuBar ( )
pure virtual

Destroy local layout with sub containers.

Precondition
services using this sub containers must be stopped before.

Implemented in fwGui::builder::MenuBarBuilder.


The documentation for this class was generated from the following files: