Go to the documentation of this file.
33 #include <boost/format.hpp>
104 string opName = op->
name();
122 if (dialog.ShowModal() == wxID_OK) {
133 for (
int i = 0; i < root->
childCount(); i++) {
152 if (opName != op->
name()) {
178 OSEdTreeView* treeView = wxGetApp().mainFrame()->treeView();
void refreshModule(const std::string &path, const std::string &modName)
static wxString toWxString(const std::string &source)
std::string pathOfModule(wxTreeItemId id)
std::string stringAttribute(const std::string &name) const
virtual std::string icon() const
virtual void writeState(const ObjectState *state)
static OperationSerializer & operationSerializer()
wxTreeItemId moduleIdOfOperation(wxTreeItemId id)
@ TXT_ERROR_CAN_NOT_MODIFY
Error when can not modify.
void setDestinationFile(const std::string &filename)
static OperationModule & module(const std::string &path, const std::string &mod)
@ CMD_PROPERTIES
Operation properties command id.
virtual boost::format text(int textId)
virtual TCEString name() const
OSEdTreeView * treeView() const
void replaceChild(ObjectState *old, ObjectState *newChild)
#define assert(condition)
virtual std::string propertiesModule() const
static bool fileIsWritable(const std::string fileName)
virtual ObjectState * readState()
std::string moduleOfOperation(wxTreeItemId id)
void changeText(wxTreeItemId id, const std::string &text)
ObjectState * child(int index) const
Operation * selectedOperation()
virtual ObjectState * saveState() const
void setSourceFile(const std::string &filename)
virtual GUICommand * create() const
virtual ~OSEdPropertiesCmd()
static OSEdTextGenerator & instance()
wxTreeItemId selectedOperationId()
static NullOperationModule & instance()
static OperationIndex & operationIndex()
wxWindow * parentWindow() const