ContextMenuHandlers.h 713 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #pragma once
  9. #include <AzToolsFramework/ActionManager/ActionManagerRegistrationNotificationBus.h>
  10. //! Provides additional functionality for the editor's context menu.
  11. class EditorContextMenuHandler:
  12. private AzToolsFramework::ActionManagerRegistrationNotificationBus::Handler
  13. {
  14. public:
  15. void Setup();
  16. void Teardown();
  17. private:
  18. // ActionManagerRegistrationNotificationBus overrides ...
  19. void OnMenuBindingHook() override;
  20. void OnActionRegistrationHook() override;
  21. };