Exemplo n.º 1
0
        protected override void ExecuteDefaultAction(EventBase evt)
        {
            base.ExecuteDefaultAction(evt);

            if (evt.eventTypeId == AttachToPanelEvent.TypeId())
            {
                m_Pane = GetFirstAncestorOfType <BuilderPane>();
                m_Pane?.RegisterCallback <FocusEvent>(OnPaneFocus);
            }
        }
 protected virtual void OnAttachToPanelDefaultAction()
 {
     m_Pane = GetFirstAncestorOfType <BuilderPane>();
     m_Pane?.RegisterCallback <FocusEvent>(OnPaneFocus);
     InitEllipsisMenu();
 }