Removes SceneActionsMenuGroup.h/cpp from Gems/GraphCanvas
Removes Resource.h from Gems/GraphCanvas Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
#include <GraphCanvas/Editor/GraphModelBus.h>
|
||||
#include <GraphCanvas/Editor/GraphCanvasProfiler.h>
|
||||
#include <GraphCanvas/Widgets/Bookmarks/BookmarkTableModel.h>
|
||||
#include <GraphCanvas/Widgets/Resources/Resources.h>
|
||||
|
||||
namespace
|
||||
{
|
||||
|
||||
-36
@@ -1,36 +0,0 @@
|
||||
/*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
#include <GraphCanvas/Widgets/EditorContextMenu/ContextMenuActions/SceneMenuActions/SceneActionsMenuGroup.h>
|
||||
|
||||
#include <GraphCanvas/Widgets/EditorContextMenu/ContextMenuActions/SceneMenuActions/SceneContextMenuAction.h>
|
||||
#include <GraphCanvas/Widgets/EditorContextMenu/ContextMenuActions/SceneMenuActions/SceneContextMenuActions.h>
|
||||
|
||||
namespace GraphCanvas
|
||||
{
|
||||
//////////////////////////
|
||||
// SceneActionsMenuGroup
|
||||
//////////////////////////
|
||||
|
||||
SceneActionsMenuGroup::SceneActionsMenuGroup(EditorContextMenu* contextMenu)
|
||||
: m_removeUnusedNodesAction(nullptr)
|
||||
{
|
||||
contextMenu->AddActionGroup(SceneContextMenuAction::GetSceneContextMenuActionGroupId());
|
||||
|
||||
m_removeUnusedNodesAction = aznew RemoveUnusedNodesMenuAction(contextMenu);
|
||||
contextMenu->AddMenuAction(m_removeUnusedNodesAction);
|
||||
}
|
||||
|
||||
SceneActionsMenuGroup::~SceneActionsMenuGroup()
|
||||
{
|
||||
}
|
||||
|
||||
void SceneActionsMenuGroup::SetCleanUpGraphEnabled(bool enabled)
|
||||
{
|
||||
m_removeUnusedNodesAction->setEnabled(enabled);
|
||||
}
|
||||
}
|
||||
-30
@@ -1,30 +0,0 @@
|
||||
/*
|
||||
* 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 <GraphCanvas/Widgets/EditorContextMenu/ContextMenuActions/ContextMenuAction.h>
|
||||
|
||||
#include <GraphCanvas/Widgets/EditorContextMenu/EditorContextMenu.h>
|
||||
|
||||
namespace GraphCanvas
|
||||
{
|
||||
class SceneActionsMenuGroup
|
||||
{
|
||||
public:
|
||||
AZ_CLASS_ALLOCATOR(SceneActionsMenuGroup, AZ::SystemAllocator, 0);
|
||||
|
||||
SceneActionsMenuGroup(EditorContextMenu* contextMenu);
|
||||
~SceneActionsMenuGroup();
|
||||
|
||||
void SetCleanUpGraphEnabled(bool enabled);
|
||||
|
||||
private:
|
||||
|
||||
ContextMenuAction* m_removeUnusedNodesAction;
|
||||
};
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
/*
|
||||
* 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
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
|
||||
set(FILES
|
||||
StaticLib/GraphCanvas/Widgets/Resources/GraphCanvasEditorResources.qrc
|
||||
StaticLib/GraphCanvas/Widgets/Resources/Resources.h
|
||||
StaticLib/GraphCanvas/Widgets/GraphCanvasMimeContainer.cpp
|
||||
StaticLib/GraphCanvas/Widgets/GraphCanvasMimeContainer.h
|
||||
StaticLib/GraphCanvas/Widgets/GraphCanvasMimeEvent.cpp
|
||||
@@ -174,8 +173,6 @@ set(FILES
|
||||
StaticLib/GraphCanvas/Widgets/EditorContextMenu/ContextMenuActions/NodeMenuActions/NodeContextMenuAction.h
|
||||
StaticLib/GraphCanvas/Widgets/EditorContextMenu/ContextMenuActions/NodeMenuActions/NodeContextMenuActions.cpp
|
||||
StaticLib/GraphCanvas/Widgets/EditorContextMenu/ContextMenuActions/NodeMenuActions/NodeContextMenuActions.h
|
||||
StaticLib/GraphCanvas/Widgets/EditorContextMenu/ContextMenuActions/SceneMenuActions/SceneActionsMenuGroup.cpp
|
||||
StaticLib/GraphCanvas/Widgets/EditorContextMenu/ContextMenuActions/SceneMenuActions/SceneActionsMenuGroup.h
|
||||
StaticLib/GraphCanvas/Widgets/EditorContextMenu/ContextMenuActions/SceneMenuActions/SceneContextMenuAction.h
|
||||
StaticLib/GraphCanvas/Widgets/EditorContextMenu/ContextMenuActions/SceneMenuActions/SceneContextMenuActions.cpp
|
||||
StaticLib/GraphCanvas/Widgets/EditorContextMenu/ContextMenuActions/SceneMenuActions/SceneContextMenuActions.h
|
||||
|
||||
Reference in New Issue
Block a user