| 
    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 | GetClassName ()=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.
References m_actionButtonId, m_actionMenuId, and show_on_toolbar.
      
  | 
  virtual | 
Definition at line 38 of file action_plugin.cpp.
      
  | 
  pure virtual | 
Implemented in PYTHON_ACTION_PLUGIN.
      
  | 
  pure virtual | 
Implemented in PYTHON_ACTION_PLUGIN.
      
  | 
  pure virtual | 
Implemented in PYTHON_ACTION_PLUGIN.
Referenced by PCB_EDIT_FRAME::buildActionPluginMenus().
      
  | 
  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::addActionPluginTools(), PCB_EDIT_FRAME::buildActionPluginMenus(), ACTION_PLUGINS::GetAction(), and ACTION_PLUGINS::register_action().
      
  | 
  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 PCB_EDIT_FRAME::addActionPluginTools().
      
  | 
  pure virtual | 
Implemented in PYTHON_ACTION_PLUGIN.
Referenced by PCB_EDIT_FRAME::addActionPluginTools().
| 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 109 of file action_plugin.h.
Referenced by PCB_EDIT_FRAME::addActionPluginTools(), PCB_EDIT_FRAME::buildActionPluginMenus(), and ACTION_PLUGINS::register_action().
| int ACTION_PLUGIN::m_actionButtonId | 
Definition at line 106 of file action_plugin.h.
Referenced by ACTION_PLUGIN(), and ACTION_PLUGINS::SetActionButton().
| int ACTION_PLUGIN::m_actionMenuId | 
Definition at line 103 of file action_plugin.h.
Referenced by ACTION_PLUGIN().
| bool ACTION_PLUGIN::show_on_toolbar | 
Definition at line 112 of file action_plugin.h.
Referenced by ACTION_PLUGIN().