Creating ext JS plugins with the web UI framework
About this task
To register a plugin, use the sc.plat.PluginRegistry class to register one of the following component types. When a component is created, all of the plugins that are registered for any of these types are passed as a config option, along with any other plugins.
- xtype
A standard config option defined by Ext JS.
- sctype
A standard component config option defined by IBM®. Screens can be grouped under different sctypes. The sctype can be passed as a config option to the component based on the screen where it is present.
- A custom type like the attribute in binding data.
The default implementation of this feature will look for an ID registered with the attribute in the source binding data. You can override the default implementation.