Public Member Functions | |
| PluginScriptAction (std::string plugin_key_in, std::string capability_in, std::string source_name) | |
| AppActionRunResult | run (const std::string &) const override |
| const std::string & | id () const |
| const std::string & | title () const |
| const std::string & | source_key () const |
| const std::string & | source_name () const |
Static Public Member Functions | |
| static std::string | id_for (const std::string &plugin_key, const std::string &capability) |
| static std::string | compose_id (std::string_view prefix, std::string_view title, std::string_view source_key) |
Public Attributes | |
| std::string | plugin_key |
| std::string | capability |
| bool | favourite = false |
| int | count = 0 |
| long long | last = 0 |
| AppActionKind | kind = AppActionKind::Plugin |
| std::string | group |
| std::string | input |
| std::string | icon |
| ConfigOptionMode | required_mode = comSimple |
| std::string | tooltip |
| std::string | full_label |
| std::string | title_en |
| std::string | group_en |
| std::string | source_en |
| std::string | full_label_en |
| std::string | help_url |
Static Public Attributes | |
| static constexpr const char * | kIdPrefix = "plugin_script_action" |
Private Attributes | |
| std::string | m_id |
| std::string | m_title |
| std::string | m_source_key |
| std::string | m_source_name |
|
inline |
References Slic3r::GUI::AppAction::AppAction(), capability, Slic3r::empty(), kIdPrefix, plugin_key, and Slic3r::GUI::AppAction::source_name().
|
inlinestaticinherited |
References source_key(), and title().
Referenced by AppAction(), Slic3r::GUI::anonymous_namespace{NativeCommands.cpp}::CommandAction::CommandAction(), Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::PlateAction::id_for(), Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::PluginPageAction::id_for(), Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::PluginScriptAction::id_for(), and Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::RecentProjectAction::id_for().
|
inlineinherited |
References m_id.
Referenced by AppAction(), Slic3r::GUI::action_json(), and Slic3r::GUI::ActionRegistry::seed_state().
|
inlinestatic |
References capability, Slic3r::GUI::AppAction::compose_id(), kIdPrefix, and plugin_key.
|
inlineoverridevirtual |
Implements Slic3r::GUI::AppAction.
References _L, capability, Slic3r::GUI::AppActionRunResult::Info, Slic3r::PluginManager::instance(), Slic3r::PluginManager::ScriptLaunchResult::launched_async, Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::notify_script_outcome(), Slic3r::PluginManager::ScriptLaunchResult::outcome, plugin_key, and Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::script_outcome_to_action_result().
|
inlineinherited |
References m_source_key.
Referenced by AppAction(), AppAction(), and compose_id().
|
inlineinherited |
References m_source_name.
Referenced by AppAction(), AppAction(), Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::PlateAction::PlateAction(), Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::PluginPageAction::PluginPageAction(), Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::PluginScriptAction::PluginScriptAction(), Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::SettingAction::SettingAction(), and Slic3r::GUI::action_json().
|
inlineinherited |
References m_title.
Referenced by AppAction(), AppAction(), Slic3r::GUI::anonymous_namespace{NativeCommands.cpp}::CommandAction::CommandAction(), Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::PlateAction::PlateAction(), Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::RecentProjectAction::RecentProjectAction(), Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::SettingAction::SettingAction(), Slic3r::GUI::action_json(), compose_id(), and Slic3r::GUI::SpeedDialWebDialog::run_action().
| std::string Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::PluginScriptAction::capability |
Referenced by PluginScriptAction(), id_for(), and run().
|
inherited |
|
inherited |
|
inherited |
Referenced by Slic3r::GUI::action_json().
|
inherited |
Referenced by Slic3r::GUI::action_json().
|
inherited |
Referenced by Slic3r::GUI::anonymous_namespace{NativeCommands.cpp}::CommandAction::CommandAction(), Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::PlateAction::PlateAction(), Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::RecentProjectAction::RecentProjectAction(), Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::SettingAction::SettingAction(), and Slic3r::GUI::action_json().
|
inherited |
Referenced by Slic3r::GUI::anonymous_namespace{NativeCommands.cpp}::CommandAction::CommandAction(), Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::PlateAction::PlateAction(), Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::RecentProjectAction::RecentProjectAction(), and Slic3r::GUI::action_json().
|
inherited |
Referenced by Slic3r::GUI::action_json(), and Slic3r::GUI::SpeedDialWebDialog::open_wiki().
|
inherited |
|
inherited |
|
staticconstexpr |
Referenced by PluginScriptAction(), and id_for().
|
inherited |
Referenced by Slic3r::GUI::anonymous_namespace{NativeCommands.cpp}::CommandAction::CommandAction(), Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::PlateAction::PlateAction(), Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::PluginPageAction::PluginPageAction(), Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::RecentProjectAction::RecentProjectAction(), Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::SettingAction::SettingAction(), Slic3r::GUI::action_json(), and Slic3r::GUI::SpeedDialWebDialog::run_action().
|
inherited |
|
privateinherited |
Referenced by AppAction(), AppAction(), and id().
|
privateinherited |
Referenced by AppAction(), AppAction(), and source_key().
|
privateinherited |
Referenced by AppAction(), AppAction(), and source_name().
|
privateinherited |
Referenced by AppAction(), AppAction(), and title().
| std::string Slic3r::GUI::anonymous_namespace{ActionRegistry.cpp}::PluginScriptAction::plugin_key |
Referenced by PluginScriptAction(), id_for(), and run().
|
inherited |
|
inherited |
Referenced by Slic3r::GUI::action_json().
|
inherited |
|
inherited |
Referenced by Slic3r::GUI::action_json().