Exemplo n.º 1
0
        // Return Thumb
        private void AddReturnThumb(PReturnBinder returnBinder)
        {
            BindThumb thumb;

            ReturnThumbs.Add(
                thumb = new BindThumb(returnBinder));

            AddThumbCore(thumb);
        }
Exemplo n.º 2
0
        // Parameter Thumb
        private void AddParameterThumb(PParameterBinder parameterBinder)
        {
            BindThumb thumb;

            ParameterThumbs.Add(
                thumb = new BindThumb(parameterBinder));

            AddThumbCore(thumb);
        }
Exemplo n.º 3
0
        // Trigger In / Out Thumb
        private void AddTriggerThumb(PBinder binder)
        {
            var thumb = new BindThumb(binder);

            if (binder.BindOption == BindOptions.Input)
            {
                InputThumbs.Add(thumb);
            }
            else
            {
                OutputThumbs.Add(thumb);
            }

            AddThumbCore(thumb);
        }
Exemplo n.º 4
0
        private void AddThumbCore(BindThumb thumb)
        {
            thumb.Binder.SetView(thumb);

            thumb.Binded += Thumb_Binded;
        }
Exemplo n.º 5
0
 public BindedEventArgs(BindThumb output, BindThumb input)
 {
     this.Output = output;
     this.Input  = input;
 }
Exemplo n.º 6
0
        private void PropagateBind(BindThumb outputThumb, BindThumb inputThumb)
#endif
        {
            var nextHosts = new List <IBinderHost>();
            var hostQueue = new Queue <(IBinderHost Host, int Level)>(
                new[]
Exemplo n.º 7
0
        // TODO: Ref
        // Core 라이브러리와 IDE 프로젝트의 의존성이 너무 강함.
        // 전파 수준을 Core단으로 변경 필요
#if DEBUG
        private async void PropagateBind(BindThumb outputThumb, BindThumb inputThumb)
Exemplo n.º 8
0
 protected void SetSnapTarget(BindThumb thumb)
 {
     dragSnapTarget = thumb;
 }