/// <summary> /// Overrides PluginBase /// </summary> /// <param name="poderosa">Poderosa World</param> public override void InitializePlugin(IPoderosaWorld poderosa) { base.InitializePlugin(poderosa); _instance = this; SFTPToolbar toolbar = new SFTPToolbar(); poderosa.PluginManager.FindExtensionPoint("org.poderosa.core.window.toolbar").RegisterExtension(toolbar); poderosa.PluginManager.FindExtensionPoint("org.poderosa.menu.tool").RegisterExtension(toolbar.MenuGroup); ICoreServices coreServices = (ICoreServices)poderosa.GetAdapter(typeof(ICoreServices)); coreServices.SessionManager.AddActiveDocumentChangeListener(toolbar); poderosa.Culture.AddChangeListener(_stringResource); }