Navigation
API > API/Editor > API/Editor/PinnedCommandList
Inheritance Hierarchy
- TSharedFromThis
- FUICommandList
- FUICommandList_Pinnable
References
| Module | PinnedCommandList |
| Header | /Engine/Source/Editor/PinnedCommandList/Public/UICommandList_Pinnable.h |
| Include | #include "UICommandList_Pinnable.h" |
Syntax
class FUICommandList_Pinnable : public FUICommandList
Remarks
Extended version of FUICommandList that allows:
- Hooks into action dispatch, to allow commands to be forwarded for pinning
- Indexing when mapping to provide a sort key
- Optional grouping of actions
Variables
| Type | Name | Description | |
|---|---|---|---|
| TMap< FName, FName > | CommandGroupMap | Map providing a group for each command that was mapped via this command list | |
| TMap< FName, int32 > | CommandIndexMap | Map providing an index for each command that was mapped via this command list | |
| int32 | CurrentActionIndex | Index used to provide a sort key for actions when mapped | |
| FName | CurrentGroupName | Current group name | |
| FOnCustomWidgetInteraction | OnCustomWidgetInteractionDelegate | Delegate called when a custom widget is interacted with | |
| FOnExecuteAction | OnExecuteActionDelegate | Delegate called when an action is executed |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BeginGroup
(
FName InGroupName |
Start a group scope. | |
| void | EndGroup () |
End a group scope. | |
| FName | GetMappedCommandGroup
(
FName InCommandName |
Get the group this command was mapped into. | |
| int32 | GetMappedCommandIndex
(
FName InCommandName |
Get the index this command was mapped to. | |
| FOnCustomWidgetInteraction & | Delegate called when an custom widget is interacted with | ||
| FOnExecuteAction & | Delegate called when an action is executed | ||
| void | WidgetInteraction
(
FName InCustomWidgetIdentifier |
Mark that a custom widget was interacted with |
Overridden from FUICommandList
| Type | Name | Description | |
|---|---|---|---|
| bool | ExecuteAction
(
const TSharedRef< const FUICommandInfo > InUICommandInfo |
FUICommandList interface | |
| void | MapAction
(
const TSharedPtr< const FUICommandInfo > InUICommandInfo, |
Maps a command info to a series of delegates that are executed by a multibox or mouse/keyboard input |
Typedefs
| Name | Description |
|---|---|
| FOnCustomWidgetInteraction | Delegate called when a custom widget is interacted with |
| FOnExecuteAction | Delegate called when an action is executed |