83 const wxString& title,
85 const wxSize& size) : wxFrame((wxFrame *)NULL, -1, title, pos, size),
86 registry_(NULL), treeView_(NULL), informer_(NULL) {
88 wxImage::AddHandler(
new wxPNGHandler);
98 logo.CopyFromBitmap(bmp);
104 wxMenu* menu =
new wxMenu;
111 wxMenuBar* menuBar =
new wxMenuBar;
174 statusBar_ = CreateStatusBar();
194 wxSplitterWindow* splitter =
new wxSplitterWindow(
195 this, -1, wxPoint(0, 0), wxSize(900, 500), wxSP_3D);
200 splitter->SplitVertically(treeView_, infoView);
EVT_MENU_RANGE(ProximConstants::COMMAND_FIRST, ProximConstants::COMMAND_LAST, ProximMainFrame::onCommandEvent) EVT_MENU_RANGE(ProximConstants
OSEdInformer * informer() const
CommandRegistry * registry_
Command registry.
wxStatusBar * statusBar_
Status bar of the main window.
void onCommandEvent(wxCommandEvent &event)
OSEdTreeView * treeView() const
OSEdInformer * informer_
Informs listener classes for events that occurs.
CommandRegistry * registry() const
wxStatusBar * statusBar() const
static OSEdTextGenerator & instance()
@ TXT_MENU_REMOVE_OPERATION
Remove operation menu label.
@ TXT_MENU_ADD_OPERATION
Add operation menu label.
@ TXT_MENU_MODIFY_PROPERTIES
Modify properties menu label.
@ TXT_MENU_REMOVE_MODULE
Remove module menu label.
@ TXT_MENU_MODIFY_BEHAVIOR
Modify behavior menu label.
@ TXT_ERROR_NO_HANDLER
Error when custom command handler is not found.
virtual boost::format text(int textId)