25#ifndef DESIGN_BLOCK_CONTROL_H 
   26#define DESIGN_BLOCK_CONTROL_H 
void setTransitions() override
This method is meant to be overridden in order to specify handlers for events.
 
int UnpinLibrary(const TOOL_EVENT &aEvent)
 
DESIGN_BLOCK_CONTROL(const std::string &aName)
 
void AddContextMenuItems(CONDITIONAL_MENU *aMenu)
 
virtual DESIGN_BLOCK_PANE * getDesignBlockPane()=0
 
LIB_ID getSelectedLibId()
Set up handlers for various events.
 
bool selIsInLibrary(const SELECTION &aSel)
 
LIB_TREE_NODE * getCurrentTreeNode()
 
bool selIsDesignBlock(const SELECTION &aSel)
 
int NewLibrary(const TOOL_EVENT &aEvent)
 
int HideLibraryTree(const TOOL_EVENT &aEvent)
 
int PinLibrary(const TOOL_EVENT &aEvent)
 
int EditDesignBlockProperties(const TOOL_EVENT &aEvent)
 
int DeleteLibrary(const TOOL_EVENT &aEvent)
 
std::vector< FRAME_T > m_framesToNotify
Notify other frames that the design block lib table has changed.
 
int DeleteDesignBlock(const TOOL_EVENT &aEvent)
 
virtual ~DESIGN_BLOCK_CONTROL()
 
The base class for create windows for drawing purpose.
 
A logical library item identifier and consists of various portions much like a URI.
 
Model class in the component selector Model-View-Adapter (mediated MVC) architecture.