32#include <wx/docview.h>
69 if (selected == NULL) {
78 if (copyCommand == NULL || deleteCommand == NULL) {
85 wxGetApp().docManager()->GetCurrentDocument())->getModel();
149 wxDocManager* manager = wxGetApp().docManager();
151 MDFView* mdfView =
dynamic_cast<MDFView*
>(manager->GetCurrentView());
152 if (mdfView == NULL) {
159 if (selected == NULL ||
167 delete deleteRequest;
#define assert(condition)
void setParentWindow(wxWindow *window)
virtual std::string icon() const
virtual CutComponentCmd * create() const
bool canHandle(Request *request) const
ComponentCommand * performRequest(Request *request) const
wxWindow * parentWindow() const
void notifyObservers(bool modified=true)
static const std::string CMD_ICON_CUT
Icon location for the "Cut" command.
@ DELETE_REQUEST
Delete request.
@ COPY_REQUEST
Copy request.