GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PADRE::PLUGINMANAGER (3)

.ds Aq ’

NAME

Padre::PluginManager - Padre plug-in manager

CONTENTS

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

CWnew

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.

CWparent

Stores a reference back to the parent IDE object.

CWplugin_dir

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

CWplugins

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.

CWmain

A convenience method to get to the main window.

CWload_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.

CWreload_plugins

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

CWalert_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.

CWfailed

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.

CWload_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.

CWunload_plugin

Given a plug-in name such as Foo (the part after Padre::Plugin), <B>disableB> the plug-in, <B>unloadB> the corresponding module, and update the Plug-ins menu, etc.

CWreload_plugin

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

CWreload_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.

CWon_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-2013 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.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 PADRE::PLUGINMANAGER (3) 2013-11-09

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.