Example #1
0
        public async override Task<bool> InitializeAsync(Framework.Interfaces.ICore core)
        {
            var p = new PluginSettings(core);

            AddAction(ACTION_SHOW);

            core.LanguageItems.Add(new Framework.Data.LanguageItem(EditorForm.STR_TITLE));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(EditorForm.STR_ADDACTIVE));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(EditorForm.STR_ADDSELECTED));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(EditorForm.STR_COLLECTION));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(EditorForm.STR_DELETE));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(EditorForm.STR_NAME));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(EditorForm.STR_NEW));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(EditorForm.STR_REMOVEFROMCOLLECTION));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(EditorForm.STR_SELECTALL));

            return await base.InitializeAsync(core);
        }
Example #2
0
 public PluginSettings(ICore core)
 {
     _uniqueInstance = this;
     _core           = core;
 }
Example #3
0
 public PluginSettings(ICore core)
 {
     _uniqueInstance = this;
     _core = core;
 }