Extending : Widget extension : Enabling tooltip for a customized widget
  
Enabling tooltip for a customized widget
UNICOM® Digital Transformation Toolkit (UDTT™) provides default tooltip for existing widgets. You may find the default tooltip in Information Help of XUI editor. This section will guide you step by step to extend tooltip/document for widget. UDTT provides a configuration parameter “assistantProvider” in Extension Element Details panel for tooltip extension.
This graphic is described in the surrounding text.
By default, UDTT provide a set of default assistantProvider to enable tooltip function. So there are two approaches for customization:
The default class is “DefaultWidgetAssistantProvider. Alpha developer can directly configure the customized widget by setting the corresponding assistantProvider.
 
Widget
UDTT-provided assistantProvider class
Label/Message
LabelWidgetAssistantProvider
Button/Link
ButtonWidgetAssistantProvider
Combo/SelectList
ListWidgetAssistantProvider
Table
TableWidgetAssistantProvider
Tree
TreeWidgetAssistantProvider
Others
DefaultWidgetAssistantProvider
If Alpha developer wants to extend UDTT default tooltip/document to customize the tooltip/document content or appearance style. They need to extend from DefaultWidgetAssistantProvider.
Alpha developer can follow the subtask of extending assistantProvider for customized widget as an example.
See also
Extending assistantProvider for customized widget
Widget extension