Go to the documentation of this file.
33 #include <boost/format.hpp>
97 OSEdTreeView* treeView = wxGetApp().mainFrame()->treeView();
110 if (dialog.ShowModal() == wxID_YES) {
118 for (
int i = 0; i < root->
childCount(); i++) {
159 OSEdTreeView* treeView = wxGetApp().mainFrame()->treeView();
void operationView(const std::string &path, const std::string &mod)
void refreshModule(const std::string &path, const std::string &modName)
virtual GUICommand * create() const
@ TXT_QUESTION_REMOVE_OPERATION
Remove operation question.
static wxString toWxString(const std::string &source)
void removeItem(wxTreeItemId id)
std::string pathOfModule(wxTreeItemId id)
std::string stringAttribute(const std::string &name) const
virtual void writeState(const ObjectState *state)
static OperationSerializer & operationSerializer()
wxTreeItemId moduleIdOfOperation(wxTreeItemId id)
void setDestinationFile(const std::string &filename)
static OperationModule & module(const std::string &path, const std::string &mod)
@ CMD_REMOVE_OPERATION
Remove operation command id.
@ TXT_ERROR_CAN_NOT_REMOVE_OPERATION
Error when operation can not be removed.
OSEdInfoView * infoView() const
virtual boost::format text(int textId)
virtual TCEString name() const
virtual std::string propertiesModule() const
static bool fileIsWritable(const std::string fileName)
virtual ObjectState * readState()
std::string moduleOfOperation(wxTreeItemId id)
virtual std::string icon() const
bool isOperationSelected() const
ObjectState * child(int index) const
Operation * selectedOperation()
void setSourceFile(const std::string &filename)
static OSEdTextGenerator & instance()
wxTreeItemId selectedOperationId()
static OperationIndex & operationIndex()
virtual ~OSEdRemoveOperationCmd()
wxWindow * parentWindow() const