private void doAddAction(ControllerActionCollection actions) { ControllerAction copy = CopySaver.Default.copy <ControllerAction>(action); copy.Name = Name; actions.add(copy); }
private void doRunAction(string address) { ControllerAction action = findAction(address); if (action != null) { ExecutingAction = address; action.execute(this); ExecutingAction = null; } else { Log.Error("Action '{0}' cannot be found.", address); } }
public ActionItemTemplate(String typeName, String imageName, String group, ControllerAction action) : base(typeName, imageName, group) { this.action = action; }