Lines Matching refs:Plugin
4 * Provides the base Plugin class, which plugin developers should extend, when creating custom plugins
10 * The base class for all Plugin instances.
12 * @class Plugin.Base
16 function Plugin(config) {
17 if (! (this.hasImpl && this.hasImpl(Y.Plugin.Base)) ) {
18 Plugin.superclass.constructor.apply(this, arguments);
20 Plugin.prototype.initializer.apply(this, arguments);
25 * Object defining the set of attributes supported by the Plugin.Base class
31 Plugin.ATTRS = {
38 * @type Plugin.Host
46 * The string identifying the Plugin.Base class. Plugins extending
47 * Plugin.Base should set their own NAME value.
53 Plugin.NAME = 'plugin';
57 * when plugged into a Plugin Host. Plugins extending Plugin.Base,
64 Plugin.NS = 'plugin';
66 Y.extend(Plugin, Y.Base, {
86 if (!this.get("host")) { Y.log('No host defined for plugin ' + this, 'warn', 'Plugin');}
88 Y.log('Initializing: ' + this.constructor.NAME, 'info', 'Plugin');
94 * Removes any event listeners or injected methods applied by the Plugin
226 Y.namespace("Plugin").Base = Plugin;