Esempio n. 1
0
        public override void OnRegister()
        {
            base.OnRegister();
            View.PointerInfoSignal.AddListener(OnPointerInfoSignal);
            View.TogglePanelSignal.AddListener(OnTogglePanelSignal);
            View.LineSelectedSignal.AddListener(OnLineSelected);
            View.LineDeletedSignal.AddListener(OnLineDeletedRequested);
            View.LineUnSelectedSignal.AddListener(OnLineUnselected);
            View.LineCopiedSignal.AddListener(OnLineCopiedRequested);
            View.LineResetSignal.AddListener(OnLineResetRequested);

            FullCleanupSignal.AddListener(OnFullCleanupReceived);
            AddLineSignal.AddListener(OnLineAdded);
            LineAddedSignal.AddListener(OnLineAdded);
            UpdateLineSignal.AddListener(OnUpdateLineReceived);
            LineDeletedSignal.AddListener(OnLineDeletedReceived);
            View.Initialize();
        }
Esempio n. 2
0
 public void Initialize()
 {
     AddLineSignal.AddListener(OnAddLineReceived);
     FullCleanupSignal.AddListener(OnFullCleanup);
 }