25#ifndef PCB_DESIGN_BLOCK_CONTROL_H
26#define PCB_DESIGN_BLOCK_CONTROL_H
Handle schematic design block actions in the schematic editor.
A logical library item identifier and consists of various portions much like a URI.
Handle design block actions in the PCB editor.
int SaveSelectionAsDesignBlock(const TOOL_EVENT &aEvent)
DESIGN_BLOCK_PANE * getDesignBlockPane() override
virtual ~PCB_DESIGN_BLOCK_CONTROL()
bool Init() override
Init() is called once upon a registration of the tool.
PCB_EDIT_FRAME * m_editFrame
LIB_ID getSelectedLibId()
Set up handlers for various events.
int SaveBoardAsDesignBlock(const TOOL_EVENT &aEvent)
PCB_DESIGN_BLOCK_CONTROL()
void setTransitions() override
This method is meant to be overridden in order to specify handlers for events.
int SaveSelectionToDesignBlock(const TOOL_EVENT &aEvent)
int SaveBoardToDesignBlock(const TOOL_EVENT &aEvent)
The main frame for Pcbnew.