Extending : Widget extension : Enabling tooltip for a customized widget : Extending assistantProvider for customized widget
  
Extending assistantProvider for customized widget
1 Create class ExtendedWidgetAssistantProvider extended from DefaultWidgetAssistantProvider.
This graphic is described in the surrounding text.
2 Extend method getTooltip(IWidgetModel widget) to customize state tooltip content. The sample below shows how to display name, page, event with click action, and comment in tooltip.
This graphic is described in the surrounding text.
3 Extend method getDocument(IWidgetModel widget) to customize state document content:
This graphic is described in the surrounding text.
4 UDTT also provides capability to extend appearance style for tooltip and document. Alpha developer can refer to Extending assistantProvider for Page state for extension.
See also
Enabling tooltip for a customized widget