OpenASIP
2.0
|
#include <DeleteSegmentCmd.hh>
Public Member Functions | |
DeleteSegmentCmd (EditPart *editPart) | |
virtual | ~DeleteSegmentCmd () |
virtual bool | Do () |
Public Member Functions inherited from ComponentCommand | |
ComponentCommand () | |
virtual | ~ComponentCommand () |
wxWindow * | parentWindow () |
void | setParentWindow (wxWindow *window) |
Private Attributes | |
EditPart * | editPart_ |
Segment to delete. More... | |
Command for deleting segments from a machine.
Definition at line 43 of file DeleteSegmentCmd.hh.
DeleteSegmentCmd::DeleteSegmentCmd | ( | EditPart * | editPart | ) |
The Constructor.
editPart | Segment to delete. |
Definition at line 46 of file DeleteSegmentCmd.cc.
|
virtual |
|
virtual |
Executes the command.
Implements ComponentCommand.
Definition at line 64 of file DeleteSegmentCmd.cc.
References assert, editPart_, and EditPart::model().
|
private |