Esempio n. 1
0
 /// <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;
 }
Esempio n. 2
0
 /// <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;
 }
Esempio n. 3
0
        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
                               });
        }
Esempio n. 4
0
        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
            });
        }