This section will guide you step by step how to extend tooltip for customized State and transition.
UNICOM® Digital Transformation Toolkit (UDTT™) provides default tooltip for existing states and transition. This section guides you step by step to extend tooltip for customized State and transition. UDTT provides a configuration parameter “assistantProvider” in Extension Element Details panel for tooltip extension.
By default, UDTT provide a set of default assistantProvider to enable tooltip function. So there are two approaches for customization according to different situations:
▪ The default class for existing state is “DefaultStateAssistantProvider” for Transition is “DefaultTransitionAssistantProvider”. Alpha developer can directly configure the customization by setting the corresponding assistantProvider.
State/Transition
UDTT-provided assistantProvider class
Transition
DefaultTransitionAssistantProvider
Initial(state)
InitialStateAssistantProvider
Final(state)
FinalStateAssistantProvider
Page(state)
PageStateAssistantProvider
SubFlow(state)
SubFlowStateAssistantProvider
Condition(state)
ConditionStateAssistantProvider
Popup Page(state)
PageStateAssistantProvider
▪ If an Alpha developer wants to extend the UDTT default tooltip/document to customize the tooltip/document content or appearance style. They need to extend from the UDTT class.
State/Transition
UDTT-provided classes to be extended
Transition
DefaultTransitionAssistantProvider
Other Client State
DefaultStateAssistantProvider
Alpha developer can follow the subtask of extending assistantProvider for Page state as an example.