Inherits QAction.
Inherited by GraphCanvas::AlignmentContextMenuAction, GraphCanvas::CommentContextMenuAction, GraphCanvas::ConstructContextMenuAction, GraphCanvas::CreatePresetFromSelection, GraphCanvas::DisableContextMenuAction, GraphCanvas::EditContextMenuAction, GraphCanvas::NodeContextMenuAction, GraphCanvas::NodeGroupContextMenuAction, GraphCanvas::SceneContextMenuAction, and GraphCanvas::SlotContextMenuAction.
|
enum class | SceneReaction { Unknown
, PostUndo
, Nothing
} |
|
|
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) |
|
|
| 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) |
|
The documentation for this class was generated from the following file:
- Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Widgets/EditorContextMenu/ContextMenuActions/ContextMenuAction.h