public override void InitializePlugin(IPoderosaWorld poderosa) { base.InitializePlugin(poderosa); _instance = this; _commands = new List<IGeneralCommand>(); _idToCommand = new TypedHashtable<string, IGeneralCommand>(); _keyBind = new KeyBindConfiguration(); _keyBindChangeListener = new ListenerList<IKeyBindChangeListener>(); BasicCommandImplementation.Build(); poderosa.PluginManager.FindExtensionPoint(PreferencePlugin.EXTENSIONPOINT_NAME).RegisterExtension(this); }
public override void InitializePlugin(IPoderosaWorld poderosa) { base.InitializePlugin(poderosa); _instance = this; _commands = new List <IGeneralCommand>(); _idToCommand = new TypedHashtable <string, IGeneralCommand>(); _keyBind = new KeyBindConfiguration(); _keyBindChangeListener = new ListenerList <IKeyBindChangeListener>(); BasicCommandImplementation.Build(); poderosa.PluginManager.FindExtensionPoint(PreferencePlugin.EXTENSIONPOINT_NAME).RegisterExtension(this); }