void UpdateHiddenChangesMenuItems(GenericMenu menu, FilterMenuOperations operations)
        {
            if (!operations.HasFlag(FilterMenuOperations.HideChanged))
            {
                menu.AddDisabledItem(mHiddenChangesSubmenuItem);
                return;
            }

            menu.AddItem(mHiddenChangesByNameMenuItemContent, false, HiddenChangesByName_Click);
            menu.AddItem(mHiddenChangesByExtensionMenuItemContent, false, HiddenChangesByExtension_Click);

            if (!operations.HasFlag(FilterMenuOperations.HideChangedByExtension))
            {
                return;
            }

            menu.AddItem(mHiddenChangesByFullPathMenuItemContent, false, HiddenChangesByFullPath_Click);
        }
        void UpdateIgnoredMenuItems(GenericMenu menu, FilterMenuOperations operations)
        {
            if (!operations.HasFlag(FilterMenuOperations.Ignore))
            {
                menu.AddDisabledItem(mIgnoredSubmenuItem);
                return;
            }

            menu.AddItem(mIgnoredByNameMenuItemContent, false, IgnoredByName_Click);
            menu.AddItem(mIgnoredByExtensionMenuItemContent, false, IgnoredByExtension_Click);

            if (!operations.HasFlag(FilterMenuOperations.IgnoreByExtension))
            {
                return;
            }

            menu.AddItem(mIgnoredByFullPathMenuItemContent, false, IgnoredByFullPath_Click);
        }