37#include "tce_config.h"
50IMPLEMENT_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);
#define assert(condition)
TTAMachine::Machine * machine
the architecture definition of the estimated processor
static std::string fileOfPath(const std::string pathName)
virtual bool OnCreate(wxDocument *doc, long)
virtual void OnUpdate(wxView *sender, wxObject *hint)
virtual void OnChangeFilename()
MachineCanvas * canvas_
The window where the figures are drawn.
MachineCanvas * canvas() const
virtual bool OnClose(bool deleteWindow)
virtual void OnActivateView(bool activate, wxView *activateView, wxView *deactivateView)
virtual wxPrintout * OnCreatePrintout()
virtual void OnDraw(wxDC *dc)
ChildFrame * frame_
ChildFrame for displaying the view.
void setTool(MachineCanvasTool *tool)
virtual void OnDraw(wxDC &dc)
void setMachine(TTAMachine::Machine *machine)
TTAMachine::Machine * getMachine()
static const wxString EDITOR_NAME
Full name of the Editor.
static wxString toWxString(const std::string &source)
static std::string toString(const wxString &source)