1 #ifndef GPMG_ActionRun_H
2 #define GPMG_ActionRun_H
5 #include "GUI_Action.h"
51 inline static SP::GPMG_ActionRun
New() {
53 GPMG_ActionRun::Delete());
59 inline static SP::GPMG_ActionRun
New(
const int& action) {
60 SP::GPMG_ActionRun p=
New();
61 p->setActionType(action);
62 if (action==RUN) p->setIcon(
"run-toolIcon.png");
63 if (action==VISUALIZE) p->setIcon(
"visualize-toolIcon.png");
static SP::GPMG_ActionRun New()
create an action
Definition: GPMG_ActionRun.h:51
GPMG_ActionRun()
build a GPMG_ActionRun
Definition: GPMG_ActionRun.cpp:11
DEFINE_SPTR(GPMG_ActionRun)
virtual ~GPMG_ActionRun(void)
destroy a GPMG_ActionRun
Definition: GPMG_ActionRun.cpp:22
static const tFlag VISUALIZE
Definition: GPMG_ActionRun.h:21
virtual void toDo()
action to do
Definition: GPMG_ActionRun.cpp:27
this class describes the rule menu action
Definition: GPMG_ActionRun.h:14
static SP::GPMG_ActionRun New(const int &action)
create an action
Definition: GPMG_ActionRun.h:59
static const tFlag RUN
Definition: GPMG_ActionRun.h:20
#define tFlag
Definition: types.h:14