Adds a new step to the KeyWindowTutorial.
The step to be added to the tutorial.
Adds an array of KeyWindowTutorialStep objects to the current steps.
An array of KeyWindowTutorialStep objects to be added.
Begins the tutorial for the specified key window.
The key window for which the tutorial is to be started.
ProtectedonHandles the logic for progressing through a tutorial step.
The current tutorial step to process.
This method performs the following actions:
The KeyWindowTutorial class provides a way to guide users through a series of steps in the editor. The tutorial is designed to be used with KeyWindow instances and can be used to highlight elements and provide instructions to the user.
The tutorial is a linear sequence of steps that are executed one after the other. Each step can highlight an element and provide a description. A step can also provide a lambda KeyWindowTutorialStep.onEnterStep to prepare the context for the tutorial and another lambda KeyWindowTutorialStep.onExitStep to clean up after the step.
A KeyWindow implementation can return its own tutorial instance by overriding the KeyWindow.createTutorial method. If a tutorial is returned, it will be automatically started when the key window is opened for the first time. The tutorial can be manually started using the beginForKeyWindow method.