| 
    OpenASIP 2.2
    
   | 
 
#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 | ( | ) | 
The Constructor.
Definition at line 60 of file HDBEditorModifyCmd.cc.
Referenced by create().
      
  | 
  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::FUArchitecture::architecture(), HDB::FUEntry::architecture(), assert, Exception::errorMessage(), Exception::fileName(), HDB::HDBManager::fuByEntryID(), HDB::HDBManager::fuEntryIDOfImplementation(), HDB::HWBlockImplementation::hasID(), HDB::FUEntry::hasImplementation(), HDB::RFEntry::hasImplementation(), HDB::HWBlockImplementation::id(), HDB::FUEntry::implementation(), HDB::RFEntry::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().
