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