Esempio n. 1
0
        private void GenerateTypeSelectorMenuItems(ref List <PopupMenuItem> rootItems, ref Dictionary <string, PopupMenuItem> groupsByLabel, ref Dictionary <string, PopupMenuItem> itemsByLabel)
        {
            if (typeContext == null)
            {
                typeContext = PopupMenuUtility.GetTypeContext(memberInfo, parent);
            }

            PopupMenuUtility.BuildTypePopupMenuItemsForContext(ref rootItems, ref groupsByLabel, ref itemsByLabel, typeContext, true);
        }
Esempio n. 2
0
 /// <inheritdoc />
 protected override void GenerateMenuItems(ref List <PopupMenuItem> rootItems, ref Dictionary <string, PopupMenuItem> groupsByLabel, ref Dictionary <string, PopupMenuItem> itemsByLabel)
 {
     PopupMenuUtility.BuildTypePopupMenuItemsForContext(ref rootItems, ref groupsByLabel, ref itemsByLabel, GetTypeContext(), true);
 }