Go to the documentation of this file.
33 #include <wx/docview.h>
71 view()->GetDocument())->getModel();
81 while (navigator.
hasItem(newName)) {
92 if (dialog.ShowModal() == wxID_OK) {
145 wxDocManager* manager = wxGetApp().docManager();
146 if (manager->GetCurrentView() != NULL) {
virtual AddSocketCmd * create() const
static std::string toString(const T &source)
void notifyObservers(bool modified=true)
#define assert(condition)
bool hasItem(const std::string &name) const
virtual void setMachine(Machine &mach)
void popFromStack(bool modified=false)
virtual SocketNavigator socketNavigator() const
static const std::string COMP_NEW_NAME_PREFIX_SOCKET
Prefix for new socket names..
virtual std::string shortName() const
static const std::string CMD_SNAME_ADD_SOCKET
Command name for the "Add Socket" command.
wxWindow * parentWindow() const
TTAMachine::Machine * getMachine()