ID: "layouts". layout: / Apply Layout / profile commands. More...
#include <command_palette_providers.h>


Public Member Functions | |
| LayoutCommandsProvider (std::function< void(const std::string &)> apply_callback) | |
| std::string | ProviderId () const override |
| Stable identifier. Used for selective refresh; must be unique. | |
| void | Provide (CommandPalette *palette) override |
Populate palette with this source's commands. | |
Public Member Functions inherited from yaze::editor::CommandProvider | |
| virtual | ~CommandProvider ()=default |
Private Attributes | |
| std::function< void(const std::string &) | apply_callback_ ) |
ID: "layouts". layout: / Apply Layout / profile commands.
Definition at line 90 of file command_palette_providers.h.
|
explicit |
Definition at line 54 of file command_palette_providers.cc.
|
inlineoverridevirtual |
Stable identifier. Used for selective refresh; must be unique.
Implements yaze::editor::CommandProvider.
Definition at line 94 of file command_palette_providers.h.
|
overridevirtual |
Populate palette with this source's commands.
Implements yaze::editor::CommandProvider.
Definition at line 58 of file command_palette_providers.cc.
References apply_callback_, and yaze::editor::CommandPalette::RegisterLayoutCommands().

|
private |
Definition at line 98 of file command_palette_providers.h.
Referenced by Provide().