Class UiPluginContext
java.lang.Object
com.tccc.kos.core.service.ui.plugin.UiPluginContext
A named collection of UI plugins.
- Version:
- 2025-06-11
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a KAB containing a UI plugin to the named group within the context.voidAdd a KAB containing a UI plugin to the named group within the context.getName()voidRemove a KAB from the context.
-
Field Details
-
PLUGIN_DESCRIPTOR_PATH
- See Also:
-
-
Constructor Details
-
UiPluginContext
Create a context with the specified name.
-
-
Method Details
-
add
Add a KAB containing a UI plugin to the named group within the context. This assumes the ui plugin information is located atkos.ui.pluginwithin thedescriptor.jsonfile.- Parameters:
group- group name to add the plugin tokab- the kab containing the plugin descriptor
-
add
Add a KAB containing a UI plugin to the named group within the context. ThepluginDescriptorPathallows the caller to specify where in thedescriptor.jsonfile the ui pluing data is located. This exists for backward compatibility with KAB's that may contain the same plugin data but at a different location, such as DDK plugins.- Parameters:
group- group name to add the plugin tokab- the kab containing the plugin descriptor
-
remove
Remove a KAB from the context. -
getName
-