public ExplorerSettings(SettingsViewModel viewModel)
        {
            InitializeComponent();

            this.viewModel = viewModel;

            lbxAccessLinks.ItemsSource = this.viewModel.Settings.QuickAccessLinks;

            lbxExcludedPaths.ItemsSource = this.viewModel.Settings.IndexSearchExcludedSubdirectoryPaths;

            actionKeywordsListView = new List <ActionKeywordView>
            {
                new(Settings.ActionKeyword.SearchActionKeyword,
                    viewModel.Context.API.GetTranslation("plugin_explorer_actionkeywordview_search")),
                new(Settings.ActionKeyword.FileContentSearchActionKeyword,
                    viewModel.Context.API.GetTranslation("plugin_explorer_actionkeywordview_filecontentsearch")),
                new(Settings.ActionKeyword.PathSearchActionKeyword,
                    viewModel.Context.API.GetTranslation("plugin_explorer_actionkeywordview_pathsearch")),
                new(Settings.ActionKeyword.IndexSearchActionKeyword,
                    viewModel.Context.API.GetTranslation("plugin_explorer_actionkeywordview_indexsearch")),
                new(Settings.ActionKeyword.QuickAccessActionKeyword,
                    viewModel.Context.API.GetTranslation("plugin_explorer_actionkeywordview_quickaccess"))
            };

            lbxActionKeywords.ItemsSource = actionKeywordsListView;

            ActionKeywordView.Init(viewModel.Settings);

            RefreshView();
        }
        public ActionKeywordSetting(SettingsViewModel settingsViewModel, List <ActionKeywordView> actionKeywordListView, ActionKeywordView selectedActionKeyword)
        {
            InitializeComponent();

            this.settingsViewModel = settingsViewModel;

            currentActionKeyword = selectedActionKeyword;

            txtCurrentActionKeyword.Text = selectedActionKeyword.Keyword;

            this.actionKeywordListView = actionKeywordListView;
        }