Go to the documentation of this file.
34 #include <wx/docview.h>
74 view()->GetDocument())->getModel();
84 while (navigator.
hasItem(newName)) {
102 if (dialog.ShowModal() == wxID_OK) {
155 wxDocManager* manager = wxGetApp().docManager();
156 if (manager->GetCurrentView() != NULL) {
static const std::string CMD_SNAME_ADD_BUS
Command name for the "Add Bus" command.
static std::string toString(const T &source)
virtual std::string shortName() const
void notifyObservers(bool modified=true)
#define assert(condition)
static const int DEFAULT_WIDTH
Default bit width.
static const std::string COMP_DEFAULT_NAME_SEGMENT
Name for the default segments of busses.
bool hasItem(const std::string &name) const
virtual void setMachine(Machine &mach)
void popFromStack(bool modified=false)
virtual AddBusCmd * create() const
virtual BusNavigator busNavigator() const
static const std::string COMP_NEW_NAME_PREFIX_BUS
Prefix for new bus names.
wxWindow * parentWindow() const
TTAMachine::Machine * getMachine()