b69ae11ec6
* Move "Open pinned Inspector" to separate handler to move it after the Prefab menu items. Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com> * Rearrange context menu items, add shortcuts Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com> * Fix pragma once in header Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com> * Revert casing changes that would cause issues in automated testing. Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com>
24 lines
628 B
C++
24 lines
628 B
C++
/*
|
|
* Copyright (c) Contributors to the Open 3D Engine Project.
|
|
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AzToolsFramework/Editor/EditorContextMenuBus.h>
|
|
|
|
class ContextMenuBottomHandler : private AzToolsFramework::EditorContextMenuBus::Handler
|
|
{
|
|
public:
|
|
void Setup();
|
|
void Teardown();
|
|
|
|
private:
|
|
// EditorContextMenu overrides ...
|
|
void PopulateEditorGlobalContextMenu(QMenu* menu, const AZ::Vector2& point, int flags) override;
|
|
int GetMenuPosition() const override;
|
|
};
|