Go to the documentation of this file.
37 #include "tce_config.h"
50 IMPLEMENT_DYNAMIC_CLASS(
MDFView, wxView)
85 if (!GetDocument()->Close()) {
117 wxDocMDIParentFrame* mainFrame = wxGetApp().mainFrame();
146 wxDocument* doc = GetDocument();
192 bool activate, wxView* , wxView* ) {
196 wxGetApp().mainFrame()->SetTitle(title);
204 wxGetApp().mainFrame()->updateUI();
216 title.Append(_T(
" - "));
218 wxGetApp().mainFrame()->SetTitle(title);
static wxString toWxString(const std::string &source)
TTAMachine::Machine * machine
the architecture definition of the estimated processor
MachineCanvas * canvas() const
virtual wxPrintout * OnCreatePrintout()
static std::string fileOfPath(const std::string pathName)
void setTool(MachineCanvasTool *tool)
#define assert(condition)
virtual void OnChangeFilename()
virtual bool OnCreate(wxDocument *doc, long)
static const wxString EDITOR_NAME
Full name of the Editor.
ChildFrame * frame_
ChildFrame for displaying the view.
MachineCanvas * canvas_
The window where the figures are drawn.
void setMachine(TTAMachine::Machine *machine)
virtual void OnDraw(wxDC *dc)
virtual void OnActivateView(bool activate, wxView *activateView, wxView *deactivateView)
virtual void OnUpdate(wxView *sender, wxObject *hint)
virtual void OnDraw(wxDC &dc)
virtual bool OnClose(bool deleteWindow)
static std::string toString(const wxString &source)
TTAMachine::Machine * getMachine()