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
-
Field Details
-
PLUGIN_DESCRIPTOR_PATH
- See Also:
-
-
Constructor Details
-
UiPluginContext
Create a context with the specified name. The name is optional and is useful for debugging.- Parameters:
name
- name of the context, used for debugging
-
-
Method Details
-
add
Add a KAB containing a UI plugin to the context. This assumes the ui plugin information is located atkos.ui.plugin
within thedescriptor.json
file.- Parameters:
kab
- the kab containing the plugin descriptor
-
add
Deprecated.Add a KAB containing a UI plugin to 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:
kab
- the kab containing the plugin descriptor
-
remove
Remove a KAB from the context. -
getName
-