22#include <com/sun/star/ui/XAcceleratorConfiguration.hpp>
25#include <rtl/ustring.hxx>
32 using svt::PopupMenuControllerBase::disposing;
35 NewMenuController(
const css::uno::Reference< css::uno::XComponentContext >& xContext );
44 virtual void SAL_CALL
statusChanged(
const css::frame::FeatureStateEvent& Event )
override;
47 virtual void SAL_CALL
itemSelected(
const css::awt::MenuEvent& rEvent )
override;
48 virtual void SAL_CALL
itemActivated(
const css::awt::MenuEvent& rEvent )
override;
51 virtual void SAL_CALL
disposing(
const css::lang::EventObject&
Source )
override;
55 virtual void initializeImpl( std::unique_lock<std::mutex>& rGuard,
const css::uno::Sequence< css::uno::Any >&
aArguments )
override;
59 void fillPopupMenu( css::uno::Reference< css::awt::XPopupMenu >
const & rPopupMenu );
61 const css::uno::Sequence< OUString >& rCommands,
62 std::vector< vcl::KeyCode >& aMenuShortCuts );
77 css::uno::Reference< css::uno::XComponentContext >
m_xContext;
constexpr OUStringLiteral sServiceName
Sequence< PropertyValue > aArguments