Go to the documentation of this file.
33 #include <wx/docview.h>
69 if (selected == NULL) {
76 if (command == NULL) {
80 wxGetApp().docManager()->GetCurrentDocument())->getModel();
85 bool result = command->
Do();
153 wxDocManager* manager = wxGetApp().docManager();
155 MDFView* mdfView =
dynamic_cast<MDFView*
>(manager->GetCurrentView());
156 if (mdfView == NULL) {
165 delete deleteRequest;
static const std::string CMD_ICON_DELETE_COMP
Icon location for the "Delete Component" command.
virtual std::string icon() const
ComponentCommand * performRequest(Request *request) const
@ DELETE_REQUEST
Delete request.
void notifyObservers(bool modified=true)
#define assert(condition)
void popFromStack(bool modified=false)
virtual std::string shortName() const
bool canHandle(Request *request) const
static const std::string CMD_SNAME_DELETE_COMP
Command name for the "Modify Component" command.
wxWindow * parentWindow() const
virtual DeleteComponentCmd * create() const