Esempio n. 1
0
            /// <summary>
            /// Invoked when a link has been selected.
            /// </summary>
            /// <param name="e"></param>
            void OnLinkSelectEvent(Link.SelectEvent e)
            {
                this.CurrentLink = e.Link;

                // If there's a layer associated with that link,
                // let's record that it is the current link in that layer
                if (CurrentLayer)
                {
                    this.CurrentLayer.currentLink = this.CurrentLink;
                }

                this.OnLinkSelect();
                if (Tracing)
                {
                    Trace.Script("Current link now " + this.CurrentLink.name, this);
                }
            }
Esempio n. 2
0
 void OnSelectEvent(Link.SelectEvent e)
 {
     this.Activate();
 }
 void OnLinkSelectEvent(Link.SelectEvent e)
 {
     ShowCurrentLink();
 }