KiCad PCB EDA Suite
|
This is the parent class from where any action plugin class must derive. More...
#include <action_plugin.h>
Public Member Functions | |
ACTION_PLUGIN () | |
virtual | ~ACTION_PLUGIN () |
virtual wxString | GetCategoryName ()=0 |
virtual wxString | GetName ()=0 |
virtual wxString | GetDescription ()=0 |
virtual bool | GetShowToolbarButton ()=0 |
virtual wxString | GetIconFileName (bool aDark)=0 |
virtual wxString | GetPluginPath ()=0 |
virtual void * | GetObject ()=0 |
This method gets the pointer to the object from where this action constructs. | |
virtual void | Run ()=0 |
This method the the action. | |
void | register_action () |
It's the standard method of a "ACTION_PLUGIN" to register itself into the ACTION_PLUGINS singleton manager. | |
Public Attributes | |
int | m_actionMenuId |
int | m_actionButtonId |
wxBitmap | iconBitmap |
bool | show_on_toolbar |
This is the parent class from where any action plugin class must derive.
Definition at line 38 of file action_plugin.h.
|
inline |
Definition at line 41 of file action_plugin.h.
|
virtual |
Definition at line 38 of file action_plugin.cpp.
|
pure virtual |
Implemented in PYTHON_ACTION_PLUGIN.
Referenced by PANEL_PCBNEW_ACTION_PLUGINS::TransferDataToWindow().
|
pure virtual |
Implemented in PYTHON_ACTION_PLUGIN.
Referenced by PCB_EDIT_FRAME::buildActionPluginMenus(), and PANEL_PCBNEW_ACTION_PLUGINS::TransferDataToWindow().
|
pure virtual |
aDark | set to true if requesting dark theme icon. |
Implemented in PYTHON_ACTION_PLUGIN.
Referenced by ACTION_PLUGINS::register_action().
|
pure virtual |
Implemented in PYTHON_ACTION_PLUGIN.
Referenced by PCB_EDIT_FRAME::buildActionPluginMenus(), ACTION_PLUGINS::GetAction(), ACTION_PLUGINS::register_action(), and PANEL_PCBNEW_ACTION_PLUGINS::TransferDataToWindow().
|
pure virtual |
This method gets the pointer to the object from where this action constructs.
Implemented in PYTHON_ACTION_PLUGIN.
Referenced by ACTION_PLUGINS::deregister_object().
|
pure virtual |
Implemented in PYTHON_ACTION_PLUGIN.
Referenced by PANEL_PCBNEW_ACTION_PLUGINS::TransferDataToWindow().
|
pure virtual |
Implemented in PYTHON_ACTION_PLUGIN.
Referenced by PANEL_PCBNEW_ACTION_PLUGINS::TransferDataToWindow().
void ACTION_PLUGIN::register_action | ( | ) |
It's the standard method of a "ACTION_PLUGIN" to register itself into the ACTION_PLUGINS singleton manager.
Definition at line 43 of file action_plugin.cpp.
References ACTION_PLUGINS::register_action().
Referenced by PYTHON_ACTION_PLUGINS::register_action().
|
pure virtual |
This method the the action.
Implemented in PYTHON_ACTION_PLUGIN.
Referenced by PCB_EDIT_FRAME::RunActionPlugin().
wxBitmap ACTION_PLUGIN::iconBitmap |
Definition at line 104 of file action_plugin.h.
Referenced by PCB_EDIT_FRAME::buildActionPluginMenus(), ACTION_PLUGINS::register_action(), and PANEL_PCBNEW_ACTION_PLUGINS::TransferDataToWindow().
int ACTION_PLUGIN::m_actionButtonId |
Definition at line 101 of file action_plugin.h.
Referenced by ACTION_PLUGINS::SetActionButton().
int ACTION_PLUGIN::m_actionMenuId |
Definition at line 98 of file action_plugin.h.
bool ACTION_PLUGIN::show_on_toolbar |
Definition at line 107 of file action_plugin.h.