OpenASIP
2.0
|
#include <BlocksConnectICCmd.hh>
Public Member Functions | |
BlocksConnectICCmd () | |
virtual | ~BlocksConnectICCmd () |
virtual bool | Do () |
virtual int | id () const |
virtual BlocksConnectICCmd * | create () const |
virtual bool | isEnabled () |
virtual std::string | shortName () const |
Public Member Functions inherited from EditorCommand | |
EditorCommand (std::string name, wxWindow *parent=NULL) | |
virtual | ~EditorCommand () |
void | setView (wxView *view) |
wxView * | view () const |
virtual std::string | icon () const |
Public Member Functions inherited from GUICommand | |
GUICommand (std::string name, wxWindow *parent) | |
virtual | ~GUICommand () |
virtual bool | isChecked () const |
void | setParentWindow (wxWindow *view) |
wxWindow * | parentWindow () const |
std::string | name () const |
Command for calling BlocksConnectIC explorer plugin.
Definition at line 41 of file BlocksConnectICCmd.hh.
BlocksConnectICCmd::BlocksConnectICCmd | ( | ) |
Definition at line 50 of file BlocksConnectICCmd.cc.
Referenced by create().
|
virtual |
Definition at line 53 of file BlocksConnectICCmd.cc.
|
virtual |
Creates and returns a new instance of this command.
Implements GUICommand.
Definition at line 119 of file BlocksConnectICCmd.cc.
References BlocksConnectICCmd().
|
virtual |
Executes the command.
Implements GUICommand.
Definition at line 61 of file BlocksConnectICCmd.cc.
References DSDBManager::addArchitecture(), DSDBManager::addConfiguration(), DSDBManager::architecture(), assert, TTAMachine::Machine::copyFromMachine(), DSDBManager::createNew(), DesignSpaceExplorerPlugin::explore(), ILLEGAL_ROW_ID, DesignSpaceExplorer::loadExplorerPlugin(), machine, Model::notifyObservers(), Model::popFromStack(), Model::pushToStack(), FileSystem::removeFileOrDirectory(), DesignSpaceExplorer::setDSDB(), and EditorCommand::view().
|
virtual |
Returns id of this command.
Implements GUICommand.
Definition at line 111 of file BlocksConnectICCmd.cc.
References ProDeConstants::COMMAND_BLOCKS_CONNECT_IC.
|
virtual |
Returns true when the command is executable, false when not.
This command is executable when a document is open.
Reimplemented from EditorCommand.
Definition at line 139 of file BlocksConnectICCmd.cc.
References EditorCommand::view().
|
virtual |
Returns short version of the command name.
Reimplemented from GUICommand.
Definition at line 127 of file BlocksConnectICCmd.cc.
References ProDeConstants::CMD_SNAME_BLOCKS_CONNECT_IC.