7 #ifndef __FWGUI_REGISTRAR_TOOLBARREGISTRAR_HPP__ 8 #define __FWGUI_REGISTRAR_TOOLBARREGISTRAR_HPP__ 10 #include "fwGui/ActionCallbackBase.hpp" 11 #include "fwGui/config.hpp" 12 #include "fwGui/container/fwContainer.hpp" 13 #include "fwGui/container/fwMenu.hpp" 14 #include "fwGui/container/fwMenuItem.hpp" 15 #include "fwGui/container/fwToolBar.hpp" 16 #include "fwGui/GuiBaseObject.hpp" 18 #include <fwRuntime/ConfigurationElement.hpp> 35 typedef std::vector< ::fwGui::IMenuItemCallback::sptr > CallbacksType;
44 FWGUI_API virtual ::fwGui::container::fwToolBar::sptr getParent();
51 FWGUI_API virtual ::fwGui::container::fwMenuItem::sptr getFwMenuItem(std::string actionSid,
52 std::vector< ::fwGui::container::fwMenuItem::sptr > menuItems);
98 FWGUI_API
virtual void initialize( ::fwRuntime::ConfigurationElement::sptr configuration);
116 FWGUI_API
virtual void manage(std::vector< ::fwGui::container::fwMenuItem::sptr > toolBarItems );
126 FWGUI_API
virtual void manage(std::vector< ::fwGui::container::fwMenu::sptr > toolBarItems );
136 FWGUI_API
virtual void manage(std::vector< ::fwGui::container::fwContainer::sptr > toolBarItems );
142 FWGUI_API
virtual void unmanage();
147 FWGUI_API
virtual void onItemAction();
159 typedef ::fwRuntime::ConfigurationElement::sptr ConfigurationType;
160 typedef std::map< std::string, std::pair<unsigned int, bool> > SIDToolBarMapType;
161 typedef std::map< std::string, unsigned int > WIDToolBarMapType;
The namespace fwGui contains the base interface for IHM services.
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.
Base class for all fwGui's classes.