Inherits GraphCanvas::AlignmentContextMenuAction.
Public Member Functions | |
AZ_CLASS_ALLOCATOR (AlignSelectionMenuAction, AZ::SystemAllocator) | |
AlignSelectionMenuAction (AZStd::string_view name, GraphUtils::VerticalAlignment verAlign, GraphUtils::HorizontalAlignment horAlign, QObject *parent) | |
bool | IsInSubMenu () const override |
AZStd::string | GetSubMenuPath () const override |
SceneReaction | TriggerAction (const AZ::Vector2 &scenePos) override |
Public Member Functions inherited from GraphCanvas::AlignmentContextMenuAction | |
ActionGroupId | GetActionGroupId () const override |
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 void | CreateAlignmentSubMenu (EditorContextMenu *contextMenu) |
Static Public Member Functions inherited from GraphCanvas::AlignmentContextMenuAction | |
static ActionGroupId | GetAlignmentContextMenuActionGroupId () |
Additional Inherited Members | |
Public Types inherited from GraphCanvas::ContextMenuAction | |
enum class | SceneReaction { Unknown , PostUndo , Nothing } |
Protected Member Functions inherited from GraphCanvas::AlignmentContextMenuAction | |
AlignmentContextMenuAction (AZStd::string_view actionName, QObject *parent) | |
void | RefreshAction () override |
virtual void | RefreshAction () |
virtual void | RefreshAction (const GraphId &graphId, const AZ::EntityId &targetId) |
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) |
|
overridevirtual |
Reimplemented from GraphCanvas::ContextMenuAction.
|
overridevirtual |
Reimplemented from GraphCanvas::ContextMenuAction.
|
overridevirtual |
Reimplemented from GraphCanvas::ContextMenuAction.