nHydrate.Generator.Models.TableComponentCollectionController.GetMenuCommands C# (CSharp) Method

GetMenuCommands() public method

public GetMenuCommands ( ) : MenuCommand[]
return MenuCommand[]
		public override MenuCommand[] GetMenuCommands()
		{
			var mcAddComponent = new DefaultMenuCommand();
			mcAddComponent.Text = "New Component";
			mcAddComponent.Click += new EventHandler(AddTableMenuClick);

			return new MenuCommand[] { mcAddComponent };
		}