Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

padre::pluginmanager(3pm) [debian man page]

Padre::PluginManager(3pm)				User Contributed Perl Documentation				 Padre::PluginManager(3pm)

NAME
Padre::PluginManager - Padre plug-in manager DESCRIPTION
The "PluginManager" class contains logic for locating and loading Padre plug-ins, as well as providing part of the interface to plug-in writers. METHODS
"new" The 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. "parent" Stores a reference back to the parent IDE object. "plugin_dir" Returns the user plug-in directory (below the Padre configuration directory). This directory was added to the @INC module search path. "plugins" Returns a hash (reference) of plug-in names associated with a Padre::PluginHandle. This hash is only populated after "load_plugins()" was called. current Gets a Padre::Current context for the plugin manager. "main" A convenience method to get to the main window. "load_plugins" Scans 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_plugins" For all registered plug-ins, unload them if they were loaded and then reload them. "alert_new" The "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. "failed" Returns the list of all plugins 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_plugin" Given 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_plugin" Given 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_plugin" Reload a single plug-in whose name (without "Padre::Plugin::") is passed in as first argument. "reload_current_plugin" When 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_menu" Called 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 ALSO
Padre, Padre::Config COPYRIGHT
Copyright 2008-2012 The Padre development team as listed in Padre.pm. LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself. perl v5.14.2 2012-06-27 Padre::PluginManager(3pm)

Check Out this Related Man Page

Padre::Sync(3pm)					User Contributed Perl Documentation					  Padre::Sync(3pm)

NAME
Padre::Sync - Utility functions for handling remote Configuration Syncing DESCRIPTION
The "Padre::Sync" class contains logic for communicating with a remote Madre::Sync server. This class interacts with the Padre::Wx::Dialog::Sync class for user interface display. METHODS
"new" The constructor returns a new "Padre::Sync" object, but you should normally access it via the main Padre object: my $manager = Padre->ide->config_sync; First argument should be a Padre object. "main" A convenience method to get to the main window. "config" A convenience method to get to the config object "ua" A convenience method to get to the useragent object "register" Attempts to register a user account with the information provided on the Sync server. Parameters: a list of key value pairs to be interpreted as POST parameters Returns error string if user state is already logged in or serverside error occurs. "login" Will log in to remote Sync server using given credentials. State will be updated if login successful. "logout" If currently logged in, will log the Sync session out from the server. State will be updated. "server_delete" Given a logged in session, will attempt to delete the config currently stored on the Sync server (if one currently exists). Will fail if not logged in. "local_to_server" Given a logged in session, will attempt to place the current local config to the Sync server. "server_to_local" Given a logged in session, will replace the local config with what is stored on the server. TODO: is validation of config before replacement required? "english_status" Will return a string explaining current state of Sync dependent on $self->{state} SEE ALSO
Padre, Padre::Config COPYRIGHT &; LICENSE Copyright 2008-2012 The Padre development team as listed in Padre.pm. This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself. perl v5.14.2 2012-06-27 Padre::Sync(3pm)
Man Page