1 <!DOCTYPE html><html><head><title>Sencha Documentation Project</title><link rel="stylesheet" href="../reset.css" type="text/css"><link rel="stylesheet" href="../prettify.css" type="text/css"><link rel="stylesheet" href="../prettify_sa.css" type="text/css"><script type="text/javascript" src="../prettify.js"></script></head><body onload="prettyPrint()"><pre class="prettyprint"><pre><span id='Ext-AbstractPlugin'>/**
2 </span> * @class Ext.AbstractPlugin
7 Ext.define('Ext.AbstractPlugin', {
10 constructor: function(config) {
12 if (!config.cmp && Ext.global.console) {
13 Ext.global.console.warn("Attempted to attach a plugin ");
16 Ext.apply(this, config);
23 <span id='Ext-AbstractPlugin-property-init'> /**
24 </span> * The init method is invoked after initComponent has been run for the
25 * component which we are injecting the plugin into.
29 <span id='Ext-AbstractPlugin-property-destroy'> /**
30 </span> * The destroy method is invoked by the owning Component at the time the Component is being destroyed.
31 * Use this method to clean up an resources.
35 <span id='Ext-AbstractPlugin-method-enable'> /**
36 </span> * Enable the plugin and set the disabled flag to false.
39 this.disabled = false;
42 <span id='Ext-AbstractPlugin-method-disable'> /**
43 </span> * Disable the plugin and set the disabled flag to true.
49 </pre></pre></body></html>