Go to the documentation of this file.
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) {
virtual AddFUCmd * create() const
static const std::string CMD_SNAME_ADD_FU
Command name for the "Add Function Unit" command.
static const std::string COMP_NEW_NAME_PREFIX_FU
Prefix for new function unit names.
static std::string toString(const T &source)
void notifyObservers(bool modified=true)
#define assert(condition)
bool hasItem(const std::string &name) const
virtual FunctionUnitNavigator functionUnitNavigator() const
virtual std::string shortName() const
void popFromStack(bool modified=false)
virtual void setMachine(Machine &mach)
wxWindow * parentWindow() const
TTAMachine::Machine * getMachine()