42 static const string kQLPath =
"Workbench.Tools.QuickLaunch";
61 return kQLPath +
".Entries." + item;
69 wxMenu* subMenu =
new wxMenu();
72 ITERATE(list<string>, it, items) {
79 if (pos == (
size_t)-1)
80 pos = menu.GetMenuItemCount();
82 wxMenuItem* item = wxMenuItem::New(&menu,
wxID_ANY,
83 wxT(
"Quick Launch"), wxEmptyString, wxITEM_NORMAL, subMenu);
84 menu.Insert(pos, item);
100 std::copy(items.begin(), items.end(), inserter(itemsSet, itemsSet.
begin()));
void GetStringList(const string &key, list< string > &val) const
static CGuiRegistry & GetInstance()
access the application-wide singleton
void Set(const string &key, int val)
set specific values
CRegistryReadView GetReadView(const string §ion) const
get a read-only view at a particular level.
bool DeleteField(const string &key)
delete the specified field (and any of its subfields).
const TItems & GetItems() const
void SetItems(const TItems &items)
CMRUList< string > m_ToolList
const list< string > & GetItems() const
static CQuickLaunchList & GetInstance()
void AddItem(const string &item)
void RemoveItem(const string &item)
string GetItemPath(const string &item) const
void UpdateMenu(wxMenu &menu, int cmdStart, int cmdEnd, size_t pos=(size_t) -1)
class CRegistryReadView provides a nested hierarchical view at a particular key.
list< SKeyInfo > TKeys
retrieve information about all keys in the registry
void GetTopKeys(TKeys &keys) const
Retrieve information about the top level keys in this view.
const_iterator begin() const
const_iterator find(const key_type &key) const
const_iterator end() const
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
const struct ncbi::grid::netcache::search::fields::KEY key
void copy(Njn::Matrix< S > *matrix_, const Njn::Matrix< T > &matrix0_)
static const string kQLPath
static wxAcceleratorEntry entries[3]
wxString ToWxString(const string &s)