using DTS.Common.Base; using System.Windows.Controls; namespace DTS.Common.Interface.Menu.HamburgerMenu { /// /// this class describes the view module for the group import module /// this handles interaction betweens the views and the application, as well as /// the logic and intermediate data for the module /// public interface IHamburgerMenuViewModel : IBaseViewModel { IHamburgerMenuView View { get; set; } /// /// any work that needs to be done when a view is loaded /// void OnSetActive(); /// /// any work that needs to be done when view is unloaded /// void Unset(); /// /// returns the menu for the hamburger menu /// /// ContextMenu GetContextMenu(); /// /// sets the menu items for the hamburger menu /// /// void SetMenuItems(string[] items); /// /// clear the menu items /// void ClearMenuItems(); /// /// handler for when items are pressed /// MenuItemPressedDelegate MenuItemPressed { get; set; } /// /// whether a test is currently running or not /// 15324 Warning dialog displayed on every tab change once admin user tries to view another users view /// bool TestRunning { get; } } public delegate void MenuItemPressedDelegate(string command); }