示例#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;
 }
示例#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;
 }
示例#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
                               });
        }
示例#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
            });
        }