예제 #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);
                }
            }
예제 #2
0
 void OnSelectEvent(Link.SelectEvent e)
 {
     this.Activate();
 }
예제 #3
0
 void OnLinkSelectEvent(Link.SelectEvent e)
 {
     ShowCurrentLink();
 }