Go to the documentation of this file.
33 #include <wx/docview.h>
69 if (selected == NULL) {
76 if (command == NULL) {
81 wxGetApp().docManager()->GetCurrentDocument())->getModel();
87 bool result = command->
Do();
154 wxDocManager* manager = wxGetApp().docManager();
156 MDFView* mdfView =
dynamic_cast<MDFView*
>(manager->GetCurrentView());
157 if (mdfView == NULL) {
static const std::string CMD_SNAME_MODIFY_COMP
Command name for the "Delete Component" command.
virtual std::string icon() const
virtual ModifyComponentCmd * create() const
ComponentCommand * performRequest(Request *request) const
void notifyObservers(bool modified=true)
#define assert(condition)
void setParentWindow(wxWindow *window)
static const std::string CMD_ICON_MODIFY_COMP
Icon location for the "Modify Component" command.
void popFromStack(bool modified=false)
virtual std::string shortName() const
bool canHandle(Request *request) const
@ MODIFY_REQUEST
Modfify request.
wxWindow * parentWindow() const