Go to the documentation of this file.
33 #include <boost/format.hpp>
94 string editor =
options->editor();
108 OSEdTreeView* treeView = wxGetApp().mainFrame()->treeView();
118 cmd = editor +
" " + code;
122 size_t pos = code.find_last_of(
".");
134 cmd = editor +
" " + code;
156 OSEdTreeView* treeView = wxGetApp().mainFrame()->treeView();
static const std::string BEHAVIOR_TEMPLATE_FILE_NAME
Name of the behavior template file name.
static const wxString APPLICATION_NAME
The name of the application.
static wxString toWxString(const std::string &source)
std::string pathOfModule(wxTreeItemId id)
wxTreeItemId moduleIdOfOperation(wxTreeItemId id)
static OperationModule & module(const std::string &path, const std::string &mod)
virtual boost::format text(int textId)
#define assert(condition)
virtual std::string propertiesModule() const
static bool fileIsWritable(const std::string fileName)
virtual std::string behaviorSourceModule() const
std::string moduleOfOperation(wxTreeItemId id)
bool isOperationSelected() const
@ TXT_ERROR_NO_EDITOR
Error when no editor is given.
virtual std::string icon() const
static void copy(const std::string &source, const std::string &target)
@ TXT_ERROR_OPEN
Error when opening fails.
virtual GUICommand * create() const
static const std::string DIRECTORY_SEPARATOR
static MachInfoCmdLineOptions options
find Finds info of the inner loops in the false
static bool fileExists(const std::string fileName)
virtual bool hasBehaviorSource() const
static OSEdTextGenerator & instance()
wxTreeItemId selectedOperationId()
virtual ~OSEdModifyBehaviorCmd()
static std::string toString(const wxString &source)
wxWindow * parentWindow() const
@ CMD_MODIFY_BEHAVIOR
Modify operation behavior command id.
static std::string dataDirPath(const std::string &prog)