15 #ifndef __FWGUI_LAYOUTMANAGER_IMENUBARLAYOUTMANAGER_HPP__ 16 #define __FWGUI_LAYOUTMANAGER_IMENUBARLAYOUTMANAGER_HPP__ 18 #include <fwRuntime/ConfigurationElement.hpp> 20 #include "fwGui/GuiBaseObject.hpp" 21 #include "fwGui/container/fwMenuBar.hpp" 22 #include "fwGui/container/fwMenu.hpp" 23 #include "fwGui/config.hpp" 27 namespace layoutManager
42 typedef ::
fwRuntime::ConfigurationElement::sptr ConfigurationType;
43 typedef
std::
string RegistryKeyType;
45 FWGUI_API const static RegistryKeyType REGISTRY_KEY;
51 FWGUI_API virtual ~IMenuBarLayoutManager();
56 FWGUI_API virtual
std::vector< ::
fwGui::container::fwMenu::sptr > getMenus();
82 FWGUI_API virtual
void initialize( ConfigurationType configuration);
89 FWGUI_API virtual
void createLayout( ::
fwGui::container::fwMenuBar::sptr parent ) = 0;
95 FWGUI_API virtual
void destroyLayout() = 0;
101 FWGUI_API virtual
void menuIsVisible(::
fwGui::container::fwMenu::sptr,
bool isVisible) = 0;
106 FWGUI_API virtual
void menuIsEnabled(::
fwGui::container::fwMenu::sptr,
bool isEnabled) = 0;
114 FWGUI_API virtual
void destroyMenus();
117 std::vector< ::
fwGui::container::fwMenu::sptr > m_menus;
#define fwCoreNonInstanciableClassDefinitionsMacro(_classinfo_)
Generate common code for Non Instanciable classes (Interfaces, Abstract classes, ...)
The namespace fwGui contains the base interface for IHM services.
The namespace fwRuntime contains classes to manage bundle, configuration element, extension point in ...
Base class for all fwGui's classes.