Ext JS plugin methods in the web UI framework
The sc.plat.PluginRegistry class that is used by Ext JS
plugins includes the following methods for registering and deregistering
plugins:
- registerPlugin(plugin, boolOverride)
Adds plugin to registry.
- registerTypePlugin(name, id)
Registers the type with the plugin corresponding to the ID passed. Before a type is registered with an ID corresponding to a plugin, a plugin with that ID must be registered using the registerPlugin method.
- unregisterTypePlugin(name, id)
Unregisters the plugin for the component type if a plugin has been registered with the ID passed.
The following table describes the parameters for these methods:
Parameter | Method(s) | Description |
---|---|---|
plugin | registerPlugin |
An object/array plugin object or array of plugin objects that includes:
The order of plugin objects formed in the array is:
|
boolOverride | registerPlugin |
An optional boolean value.
|
lululu |
|
(String) Component type name:
|
id | registerTypePlugin | (String) ID of the plugin. |
id | unregisterTypePlugin | (String) The unique ID for each plugin that it was registered against. |