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) {
#define assert(condition)
void setParentWindow(wxWindow *window)
bool canHandle(Request *request) const
ComponentCommand * performRequest(Request *request) const
wxWindow * parentWindow() const
void notifyObservers(bool modified=true)
void popFromStack(bool modified=false)
virtual std::string shortName() const
virtual ModifyComponentCmd * create() const
virtual std::string icon() const
static const std::string CMD_SNAME_MODIFY_COMP
Command name for the "Delete Component" command.
static const std::string CMD_ICON_MODIFY_COMP
Icon location for the "Modify Component" command.
@ MODIFY_REQUEST
Modfify request.