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

            AddAction(ACTION_EDIT);
            AddAction(ACTION_SEP);

            core.LanguageItems.Add(new Framework.Data.LanguageItem(ActionListForm.STR_ACTION));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ActionListForm.STR_DELETE));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ActionListForm.STR_EXECUTE));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ActionListForm.STR_EXECUTING));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ActionListForm.STR_NEW));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ActionListForm.STR_PLUGIN));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ActionListForm.STR_RENAME));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ActionListForm.STR_SEQUENCE));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ActionListForm.STR_SUBACTION));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ActionListForm.STR_TITLE));

            core.LanguageItems.Add(new Framework.Data.LanguageItem(SelectActionForm.STR_ACTION));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(SelectActionForm.STR_PLUGIN));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(SelectActionForm.STR_SELECT));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(SelectActionForm.STR_SUBACTION));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(SelectActionForm.STR_TITLE));

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