Package: | Ext |
Defined In: | PluginMgr.js |
Class: | PluginMgr |
Extends: | Object |
Provides a registry of available Plugin classes indexed by a mnemonic code known as the Plugin's ptype.
The xtype
provides a way to avoid instantiating child Components
when creating a full, nested config object for a complete Ext page.
A child Component may be specified simply as a config object
as long as the correct xtype
is specified so that if and when the Component
needs rendering, the correct type can be looked up for lazy instantiation.
For a list of all available xtypes
, see Ext.Component.
Method | Defined By | |
---|---|---|
create( Object config , Constructor defaultType )
:
Ext.ComponentCreates a new Plugin from the specified config object using the
config object's ptype to determine the class to insta... Creates a new Plugin from the specified config object using the
config object's ptype to determine the class to instantiate. Parameters:
| PluginMgr | |
findByType( String type , Boolean defaultsOnly )
:
ArrayReturns all plugins registered with the given type. Here, 'type' refers to the type of plugin, not its ptype. Returns all plugins registered with the given type. Here, 'type' refers to the type of plugin, not its ptype. Parameters:
| PluginMgr |