Desktop Plugin
Since the Desktop itself is an Ext Component, it may be augmented through the use of a plugin. With a plugin, you can override methods or properties and even change the entire layout if you desire. To specify plugins, you use the plugins attribute of the RoleTypeUiConfig element, which is a comma-separated list of javascript plugin class names:
<
ModuleUiMetaModel
>
<
WebInfo
>
<!-- menu actions.... -->
<!-- menu action groups ... -->
<
RoleTypeUiConfig
plugins
=
"MOD.MyPlugin,MOD.AnotherPlugin"
>
<!-- roletype ref -->
<!-- quick launches -->
<!-- menu action groups for role type -->
</
RoleTypeUiConfig
>
</
WebInfo
>
</
ModuleUiMetaModel
>
When the desktop is initialized, the JavaScript classes MOD.MyPlugin and MOD.AnotherPlugin will be constructed and passed to the desktop as plugins.
In the NEO Dashboard, we use the following approach:
<
NeoDesktopPlugin
>PLT/Plugins/InteractiveSimulatorPlugin</
NeoDesktopPlugin
>