public override Docky.Menus.MenuList GetMenuItems()
        {
            // add each proxied item as a menu item
            List <Docky.Menus.MenuItem> items = new List <Docky.Menus.MenuItem> ();

            foreach (AbstractDockItem adi in Provider.Items)
            {
                items.Add(new Docky.Menus.ProxyMenuItem(adi));
            }

            // add the items into the proxy menu group
            MenuList list = currentItem.GetMenuItems();

            list[MenuListContainer.ProxiedItems].InsertRange(0, items);
            return(list);
        }
		public virtual MenuList GetMenuItems (AbstractDockItem item)
		{
			return item.GetMenuItems ();
		}
Example #3
0
 public virtual MenuList GetMenuItems(AbstractDockItem item)
 {
     return(item.GetMenuItems());
 }