33#include <wx/docview.h>
69 view()->GetDocument())->getModel();
78 while (navigator.
hasItem(newName)) {
89 if (dialog.ShowModal() == wxID_OK) {
142 wxDocManager* manager = wxGetApp().docManager();
143 if (manager->GetCurrentView() != NULL) {
#define assert(condition)
virtual AddFUCmd * create() const
virtual std::string shortName() const
static std::string toString(const T &source)
wxWindow * parentWindow() const
void notifyObservers(bool modified=true)
void popFromStack(bool modified=false)
TTAMachine::Machine * getMachine()
static const std::string COMP_NEW_NAME_PREFIX_FU
Prefix for new function unit names.
static const std::string CMD_SNAME_ADD_FU
Command name for the "Add Function Unit" command.
bool hasItem(const std::string &name) const
virtual FunctionUnitNavigator functionUnitNavigator() const
virtual void setMachine(Machine &mach)