Padre::PluginManager - Online Linux Manual PageSection : 3
Updated : 2021-01-27
Source : perl v5.32.1
Note : User Contributed Perl Documentation

NAMEPadre::PluginManager − Padre plug−in manager

DESCRIPTIONThe PluginManager class contains logic for locating and loading Padre plug-ins, as well as providing part of the interface to plug-in writers.

METHODS

newThe constructor returns a new Padre::PluginManager object, but you should normally access it via the main Padre object: ​ my $manager = Padre−>ide−>plugin_manager; First argument should be a Padre object.

parentStores a reference back to the parent IDE object.

plugin_dirReturns the user plug-in directory (below the Padre configuration directory). This directory was added to the @INC module search path.

pluginsReturns a hash (reference) of plug-in names associated with a Padre::PluginHandle. This hash is only populated after load_plugins() was called.

plugins_with_context_menuReturns a hash (reference) with the names of all plug-ins as keys which define a hook for the context menu. See Padre::Plugin.

currentGets a Padre::Current context for the plugin manager.

mainA convenience method to get to the main window.

load_pluginsScans for new plug-ins in the user plug-in directory, in @INC, and in .par files in the user plug-in directory. Loads any given module only once, i.e. does not refresh if the plug-in has changed while Padre was running.

reload_pluginsFor all registered plug-ins, unload them if they were loaded and then reload them.

alert_newThe alert_new method is called by the main window post-initialisation and checks for new plug-ins. If any are found, it presents a message to the user.

failedReturns the plug-in names (without Padre::Plugin:: prefixed) of all plug-ins that the editor attempted to load but failed. Note that after a failed attempt, the plug-in is usually disabled in the configuration and not loaded again when the editor is restarted.

load_pluginGiven a plug-in name such as Foo (the part after Padre::Plugin), load the corresponding module, enable the plug-in and update the Plug-ins menu, etc.

unload_pluginGiven a plug-in name such as Foo (the part after Padre::Plugin), ​disable the plug-in, unload the corresponding module, and update the Plug-ins menu, etc.

reload_pluginReload a single plug-in whose name (without Padre::Plugin::) is passed in as first argument.

plugin_dbGiven a plug-in name or namespace, returns a hash reference which corresponds to the configuration section in the Padre database of that plug-in. Any modifications of that hash reference will, on normal exit, be serialized and written back to the database file. If the plug-in name is omitted and this method is called from a plug-in namespace, the plug-in name is determine automatically.

reload_current_pluginWhen developing a plug-in one usually edits the files belonging to the plug-in (The Padre::Plugin::Wonder itself or Padre::Documents::Wonder located in the same project as the plug-in itself. This call and the appropriate menu option should be able to load (or reload) that plug-in.

on_context_menuCalled by Padre::Wx::Editor when a context menu is about to be displayed. The method calls the context menu hooks in all plug-ins that have one for plug-in specific manipulation of the context menu.

SEE ALSOPadre, Padre::Config

COPYRIGHTCopyright 2008−2011 The Padre development team as listed in Padre.pm.

LICENSEThis program is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself.
0
Johanes Gumabo
Data Size   :   13,729 byte
man-Padre::PluginManager.3pmBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   4 / 172,514
Visitor ID   :     :  
Visitor IP   :   3.15.10.117   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|249|Padre::PluginManager.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|149|Padre::PluginManager.3pm|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|249|Padre::PluginManager.3pm|43|br══─}─══|'br══─}─══ )         (htmlprn|149|Padre::PluginManager.3pm|43|'br══─}─══ |'br══─}─══ )