Exemplo n.º 1
0
 protected internal override void OnRemoveChild(Entity entity)
 {
     base.OnRemoveChild(entity);
     if (this.abg == entity)
     {
         this.abg = null;
     }
 }
Exemplo n.º 2
0
        protected override void OnClone(Entity source)
        {
            base.OnClone(source);
            LogicAllowCallDotPathAction logicAllowCallDotPathAction = (LogicAllowCallDotPathAction)source;

            if (logicAllowCallDotPathAction.abg != null)
            {
                this.abg = (LogicDotPathAction)logicAllowCallDotPathAction.abg.CloneWithCopyBrowsableProperties(false, this);
            }
        }
Exemplo n.º 3
0
        public override bool OnLinkedTextClick(string linkName)
        {
            if (!(linkName == "dotPathAction"))
            {
                return(base.OnLinkedTextClick(linkName));
            }
            LogicAction logicAction = this.abg;

            if (!LogicEditorFunctionality.Instance.ShowActionDialog(this, null, true, ref logicAction))
            {
                return(false);
            }
            if (logicAction != this.abg)
            {
                this.abg = (LogicDotPathAction)logicAction;
            }
            return(true);
        }