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 TypeMethodDescriptionvoid
Add a KAB containing a UI plugin to the named group within the context.void
Add a KAB containing a UI plugin to the named group within the context.getName()
void
Remove 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.plugin
within thedescriptor.json
file.- 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. ThepluginDescriptorPath
allows the caller to specify where in thedescriptor.json
file 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
-