OpenASIP
2.0
|
#include <HDBEditorModifyCmd.hh>
Public Member Functions | |
HDBEditorModifyCmd () | |
virtual | ~HDBEditorModifyCmd () |
virtual bool | Do () |
virtual int | id () const |
virtual HDBEditorModifyCmd * | create () const |
virtual std::string | icon () const |
virtual bool | isEnabled () |
Public Member Functions inherited from GUICommand | |
GUICommand (std::string name, wxWindow *parent) | |
virtual | ~GUICommand () |
virtual bool | isChecked () const |
virtual std::string | shortName () const |
void | setParentWindow (wxWindow *view) |
wxWindow * | parentWindow () const |
std::string | name () const |
Command for modifying HDB items.
Definition at line 41 of file HDBEditorModifyCmd.hh.
HDBEditorModifyCmd::HDBEditorModifyCmd | ( | ) |
|
virtual |
|
virtual |
Creates a new instance of this command.
Implements GUICommand.
Definition at line 207 of file HDBEditorModifyCmd.cc.
References HDBEditorModifyCmd().
|
virtual |
Executes the command.
Implements GUICommand.
Definition at line 75 of file HDBEditorModifyCmd.cc.
References HDB::HDBManager::addFUImplementation(), HDB::HDBManager::addRFImplementation(), HDB::FUEntry::architecture(), HDB::FUArchitecture::architecture(), assert, Exception::errorMessage(), Exception::fileName(), HDB::HDBManager::fuByEntryID(), HDB::HDBManager::fuEntryIDOfImplementation(), HDB::HWBlockImplementation::hasID(), HDB::RFEntry::hasImplementation(), HDB::FUEntry::hasImplementation(), HDB::HWBlockImplementation::id(), HDB::RFEntry::implementation(), HDB::FUEntry::implementation(), HDBBrowserWindow::isCostFunctionPluginSelected(), HDBBrowserWindow::isFUImplementationSelected(), HDBBrowserWindow::isRFImplementationSelected(), Exception::lineNum(), GUICommand::parentWindow(), HDB::HDBManager::removeFUImplementation(), HDB::HDBManager::removeRFImplementation(), HDB::HDBManager::rfByEntryID(), HDB::HDBManager::rfEntryIDOfImplementation(), HDBBrowserWindow::selectedCostFunctionPlugin(), HDBBrowserWindow::selectedFUImplementation(), HDBBrowserWindow::selectedRFImplementation(), and WxConversion::toWxString().
|
virtual |
Returns name of the command icon file.
Implements GUICommand.
Definition at line 186 of file HDBEditorModifyCmd.cc.
|
virtual |
Returns the command id.
Implements GUICommand.
Definition at line 196 of file HDBEditorModifyCmd.cc.
References HDBEditorConstants::COMMAND_MODIFY.
|
virtual |
Returns true if the command should be enabled in the tool/menubar.
Implements GUICommand.
Definition at line 218 of file HDBEditorModifyCmd.cc.
References HDBBrowserWindow::isCostFunctionPluginSelected(), HDBBrowserWindow::isFUImplementationSelected(), and HDBBrowserWindow::isRFImplementationSelected().