/// <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;
 }
Example #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;
 }
Example #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
                               });
        }
Example #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
            });
        }