36 wxBoxSizer* boxSizer =
new wxBoxSizer( wxVERTICAL );
38 boxSizer->Add(
m_tree, 1, wxEXPAND, 5 );
42 boxSizer->Fit(
this );
46 if(
m_tree->GetSearchString().StartsWith(
"::" ) )
47 return aNode.m_IsRoot;
52 m_libMgr->GetAdapter()->FinishTreeInitialization();
75 m_tree->BlockPreview(
true );
82 m_tree->BlockPreview(
false );
Symbol library management helper that is specific to the symbol library editor frame.
Model class in the component selector Model-View-Adapter (mediated MVC) architecture.
Widget displaying a tree of symbols with optional search text control and description panel.
static TOOL_ACTION editSymbol
The symbol library editor main window.
void onUpdateUI(wxUpdateUIEvent &aEvent)
LIB_SYMBOL_LIBRARY_MANAGER * m_libMgr
SYMBOL_TREE_PANE(SYMBOL_EDIT_FRAME *aParent, LIB_SYMBOL_LIBRARY_MANAGER *aLibMgr)
SYMBOL_EDIT_FRAME * m_symbolEditFrame
void onSymbolSelected(wxCommandEvent &aEvent)
void onMenuClose(wxMenuEvent &aEvent)
std::function< bool(LIB_TREE_NODE &)> m_filter
void onMenuOpen(wxMenuEvent &aEvent)
Handle parent menu events to block preview updates while the menu is open.
LIB_TREE * m_tree
symbol search tree widget