Inherits GraphCanvas::ContextMenuAction.
Public Member Functions | |
AZ_CLASS_ALLOCATOR (CreatePresetFromSelection, AZ::SystemAllocator) | |
CreatePresetFromSelection (QObject *parent=nullptr) | |
SceneReaction | TriggerAction (const AZ::Vector2 &scenePos) override |
ActionGroupId | GetActionGroupId () const override |
virtual SceneReaction | TriggerAction (const AZ::Vector2 &scenePos) |
virtual SceneReaction | TriggerAction (const GraphId &graphId, const AZ::Vector2 &scenePos) |
Public Member Functions inherited from GraphCanvas::ContextMenuAction | |
virtual ActionGroupId | GetActionGroupId () const =0 |
void | SetTarget (const GraphId &graphId, const AZ::EntityId &targetId) |
virtual bool | IsInSubMenu () const |
virtual AZStd::string | GetSubMenuPath () const |
virtual SceneReaction | TriggerAction (const AZ::Vector2 &scenePos) |
virtual SceneReaction | TriggerAction (const GraphId &graphId, const AZ::Vector2 &scenePos) |
Static Public Member Functions | |
static ActionGroupId | GetCreateConstructContextMenuActionGroupId () |
Additional Inherited Members | |
Public Types inherited from GraphCanvas::ContextMenuAction | |
enum class | SceneReaction { Unknown , PostUndo , Nothing } |
Protected Member Functions inherited from GraphCanvas::ContextMenuAction | |
ContextMenuAction (AZStd::string_view actionName, QObject *parent) | |
const AZ::EntityId & | GetTargetId () const |
const GraphId & | GetGraphId () const |
EditorId | GetEditorId () const |
virtual void | RefreshAction () |
virtual void | RefreshAction (const GraphId &graphId, const AZ::EntityId &targetId) |
|
inlineoverridevirtual |
Implements GraphCanvas::ContextMenuAction.
|
inlinevirtual |
Reimplemented from GraphCanvas::ContextMenuAction.
|
overridevirtual |
Reimplemented from GraphCanvas::ContextMenuAction.
|
inlinevirtual |
Reimplemented from GraphCanvas::ContextMenuAction.