/// <summary> /// Constructs a new instance, cloning an existing instance. /// </summary> /// <param name="copy"></param> public ActionVisualizedData(ActionVisualizedData copy) { this.ActionLocation = copy.ActionLocation; this.Disabled = copy.Disabled; this.Icon = copy.Icon; this.Label = copy.Label; this.ToolTip = copy.ToolTip; this.ActionCheckedStatus = copy.ActionCheckedStatus; this.ActivePositions = copy.ActivePositions; }
internal void AddWorkflowAction(string workflowType, IEnumerable<PermissionType> permissionType, ActionVisualizedData visualizedData) { Type type = WorkflowFacade.GetWorkflowType(workflowType); this.AddAction(new ElementAction(new ActionHandle(new WorkflowActionToken(type, permissionType))) { VisualData = visualizedData }); }
internal void AddWorkflowAction(string workflowType, IEnumerable <PermissionType> permissionType, ActionVisualizedData visualizedData) { Type type = WorkflowFacade.GetWorkflowType(workflowType); this.AddAction(new ElementAction(new ActionHandle(new WorkflowActionToken(type, permissionType))) { VisualData = visualizedData }); }