OpenASIP
2.0
|
#include <DeleteBridgeCmd.hh>
Public Member Functions | |
DeleteBridgeCmd (EditPart *editPart) | |
virtual | ~DeleteBridgeCmd () |
virtual bool | Do () |
Public Member Functions inherited from ComponentCommand | |
ComponentCommand () | |
virtual | ~ComponentCommand () |
wxWindow * | parentWindow () |
void | setParentWindow (wxWindow *window) |
Private Attributes | |
EditPart * | editPart_ |
Bridge to delete. More... | |
Command for deleting bridges from the Machine.
Definition at line 44 of file DeleteBridgeCmd.hh.
DeleteBridgeCmd::DeleteBridgeCmd | ( | EditPart * | editPart | ) |
The Constructor.
editPart | Bridge to delete. |
Definition at line 46 of file DeleteBridgeCmd.cc.
|
virtual |
|
virtual |
Executes the command.
Implements ComponentCommand.
Definition at line 65 of file DeleteBridgeCmd.cc.
References assert, EditPart::child(), EditPart::childCount(), editPart_, and EditPart::model().
|
private |